]> 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)
commitebefe2b7b382eb57be3c00521117b801bd276e9c
tree315980082bc9f161fd2363668f9f42c067aebee8
parentc140d010fc6eabe6a80273cbc2aeeb19e9d849f6
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