]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Add support for CB_RECALL_ANY for flexfiles layouts
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 18 Feb 2020 20:58:31 +0000 (15:58 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 16 Mar 2020 12:34:30 +0000 (08:34 -0400)
commitdc46c3d29bee9f7e6b9489193da31978637abd9c
treef6cd1d201771957bb6cd33f1dca2c148eb0adad7
parente7c2adfa93007bb320470667ef89fd5148f3244b
NFSv4: Add support for CB_RECALL_ANY for flexfiles layouts

When we receive a CB_RECALL_ANY that asks us to return flexfiles
layouts, we iterate through all the layouts and look at whether or
not there are active open file descriptors that might need them
for I/O. If there are no such descriptors, we return the layouts.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/callback.h
fs/nfs/callback_proc.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4state.c
fs/nfs/nfs4trace.h
fs/nfs/pnfs.c
fs/nfs/pnfs.h