]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd86a9effce2c60432105181a01310381944a6d3f
tree480ca93f19626e451cb79b35f29ad86d28da0fbb
parent6ee151c804d601fdca5c37b302face75068838bf
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