summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorTrond Myklebust2013-03-20 18:23:33 +0100
committerTrond Myklebust2013-03-21 15:31:21 +0100
commit240286725d854331422cb15957f8d9bf2741d4e3 (patch)
tree2b92c0f41ef7e303dd26f976a8afcdae467b08f0 /samples
parentNFSv4.1: Always clear the NFS_INO_LAYOUTCOMMIT in layoutreturn (diff)
downloadkernel-qcow2-linux-240286725d854331422cb15957f8d9bf2741d4e3.tar.gz
kernel-qcow2-linux-240286725d854331422cb15957f8d9bf2741d4e3.tar.xz
kernel-qcow2-linux-240286725d854331422cb15957f8d9bf2741d4e3.zip
NFSv4.1: Add a helper pnfs_commit_and_return_layout
In order to be able to safely return the layout in nfs4_proc_setattr, we need to block new uses of the layout, wait for all outstanding users of the layout to complete, commit the layout and then return it. This patch adds a helper in order to do all this safely. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions