]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: Add barrier to prevent lgopen using LAYOUTGET during recall
authorFred Isaman <fred.isaman@gmail.com>
Wed, 5 Oct 2016 13:37:12 +0000 (09:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:03:11 +0000 (15:03 -0400)
commitd9cda5cab2c22dd8cec002698ce93e67421e2b55
tree315980082bc9f161fd2363668f9f42c067aebee8
parentba86331f36352056b610ee52127f10df54042809
pnfs: Add barrier to prevent lgopen using LAYOUTGET during recall

Since the LAYOUTGET on OPEN can be sent without prior inode information,
existing methods to prevent LAYOUTGET from being sent while processing
CB_LAYOUTRECALL don't work.  Track if a recall occurred while LAYOUTGET
was being sent, and if so ignore the results.

Signed-off-by: Fred Isaman <fred.isaman@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/callback_proc.c
fs/nfs/pnfs.c
include/linux/nfs_fs_sb.h
include/linux/nfs_xdr.h