nfs41: wait for LAYOUTRETURN before retrying LAYOUTGET
authorPeng Tao <tao.peng@primarydata.com>
Mon, 1 Dec 2014 00:22:23 +0000 (08:22 +0800)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:51 +0000 (11:06 -0800)
commitaa8a45ee974dfe3ffe290daaf5db457afae56fde
tree10d2b6eb4a9530f2d1a3433627b401d907c3bdb7
parent012fa16dca0da6c487dd066829ff0b0954925fe6
nfs41: wait for LAYOUTRETURN before retrying LAYOUTGET

Also take care to stop waiting if someone clears retry bit.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h