linux_dsm_epyc7002/include/linux/lockd
Wendy Cheng 17efa372cf lockd: unlock lockd locks held for a certain filesystem
Add /proc/fs/nfsd/unlock_filesystem, which allows e.g.:

shell> echo /mnt/sfs1 > /proc/fs/nfsd/unlock_filesystem

so that a filesystem can be unmounted before allowing a peer nfsd to
take over nfs service for the filesystem.

Signed-off-by: S. Wendy Cheng <wcheng@redhat.com>
Cc: Lon Hohberger  <lhh@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

 fs/lockd/svcsubs.c          |   66 +++++++++++++++++++++++++++++++++++++++-----
 fs/nfsd/nfsctl.c            |   65 +++++++++++++++++++++++++++++++++++++++++++
 include/linux/lockd/lockd.h |    7 ++++
 3 files changed, 131 insertions(+), 7 deletions(-)
2008-04-25 13:00:11 -04:00
..
bind.h NLM: Introduce an arguments structure for nlmclnt_init() 2008-01-30 02:06:07 -05:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lockd.h lockd: unlock lockd locks held for a certain filesystem 2008-04-25 13:00:11 -04:00
nlm.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
share.h [PATCH] lockd endianness annotations 2006-10-20 10:26:40 -07:00
sm_inter.h lockd: introduce new function to encode private argument in SM_MON requests 2008-03-19 18:01:10 -04:00
xdr4.h NLM: Fix sparse warnings 2007-05-14 19:33:46 -04:00
xdr.h NLM: Fix sign of length of NLM variable length strings 2008-02-01 16:42:02 -05:00