summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs2super.c
diff options
context:
space:
mode:
authorJeff Layton2016-05-17 18:28:41 +0200
committerAnna Schumaker2016-05-17 21:48:10 +0200
commit3982a6a2d0e64441c938f4e7f93985aff37d8fb3 (patch)
tree6aae542c9fc32ef470004d42107f18b7bc808f6c /fs/nfs/nfs2super.c
parentpnfs: record sequence in pnfs_layout_segment when it's created (diff)
downloadkernel-qcow2-linux-3982a6a2d0e64441c938f4e7f93985aff37d8fb3.tar.gz
kernel-qcow2-linux-3982a6a2d0e64441c938f4e7f93985aff37d8fb3.tar.xz
kernel-qcow2-linux-3982a6a2d0e64441c938f4e7f93985aff37d8fb3.zip
pnfs: keep track of the return sequence number in pnfs_layout_hdr
When we want to selectively do a LAYOUTRETURN, we need to specify a stateid that represents most recent layout acquisition that is to be returned. When we mark a layout stateid to be returned, we update the return sequence number in the layout header with that value, if it's newer than the existing one. Then, when we go to do a LAYOUTRETURN on layout header put, we overwrite the seqid in the stateid with the saved one, and then zero it out. Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs2super.c')
0 files changed, 0 insertions, 0 deletions