]> git.karo-electronics.de Git - linux-beck.git/commit
nfs41: add NFS_LAYOUT_RETRY_LAYOUTGET to layout header flags
authorPeng Tao <tao.peng@primarydata.com>
Mon, 1 Dec 2014 00:22:18 +0000 (08:22 +0800)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:50 +0000 (11:06 -0800)
commitc829013dca33110d57c7f625443b716bd7a17671
treef5a1b72ce85f2bb98eb6f14c1f26d8ad6418be0c
parent27b6f53987d61822a858b4680c3727bfb19e620a
nfs41: add NFS_LAYOUT_RETRY_LAYOUTGET to layout header flags

Use it to indicate that LD wants to retry layoutget. LD can set
it whenever it wants the common pnfs code to return and retry
pnfs path through a new layout.

The bit gets cleared when client does a new layoutget, when client
closes the file (ROC case), or when kernel needs to evict the inode
(non-ROC case).

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