]> 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)
commit05c42dec42271aa78e2d3f342c673cbebf4bf507
treef6cd1d201771957bb6cd33f1dca2c148eb0adad7
parenta3984388696700e92ba1eb4f63d4f3adcac5a158
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