NFSv4.1/pNFS: Don't queue up a new commit if the layout segment is invalid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 31 Dec 2015 14:28:06 +0000 (09:28 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 31 Dec 2015 20:55:35 +0000 (15:55 -0500)
commitb20135d0b2431900a3a5395970ffb7e4f3767c8b
tree480ca93f19626e451cb79b35f29ad86d28da0fbb
parentaf7cf057933f01dc7f33ddfb5e436ad598ed17ad
NFSv4.1/pNFS: Don't queue up a new commit if the layout segment is invalid

If the layout segment is invalid, then we should not be adding more
write requests to the commit list. Instead, those writes should be
replayed after requesting a new layout.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c
fs/nfs/direct.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h
fs/nfs/pnfs_nfs.c
fs/nfs/write.c
include/linux/nfs_xdr.h