]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
pNFS: Delay getting the layout header in CB_LAYOUTRECALL handlers
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 31 Oct 2016 14:05:21 +0000 (10:05 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:42 +0000 (17:21 -0500)
commit7b410d9ce460f70e346d91d8cfbdd2cb054eb775
tree6a2bf3465d68d918726768839ef9e4bbb66ed324
parent17822b207f3b66c3aa09d749d583ae63b3637f01
pNFS: Delay getting the layout header in CB_LAYOUTRECALL handlers

Instead of grabbing the layout, we want to get the inode so that we
can reduce races between layoutget and layoutrecall when the server
does not support call referring.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c