]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Ignore LAYOUTRETURN result if the layout doesn't match or is invalid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 20 Nov 2016 18:13:54 +0000 (13:13 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:43 +0000 (17:21 -0500)
commitc8d33a0f8fd168ab631e3e138ce232a31b4054be
treee76a058429db171c98f5fb58e927441128b11ff7
parentcc68e7fb824a26135ab9d1cffdcd53bc74ecea70
NFSv4: Ignore LAYOUTRETURN result if the layout doesn't match or is invalid

Fix a potential race with CB_LAYOUTRECALL in which the server recalls the
remaining layout segments while our LAYOUTRETURN is still in transit.

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