]> git.baikalelectronics.ru Git - kernel.git/commit
NFS41: pop some layoutget errors to application
authorPeng Tao <tao.peng@primarydata.com>
Thu, 3 Dec 2015 18:57:48 +0000 (02:57 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 19:32:36 +0000 (14:32 -0500)
commitdf5de871ea1dae6310d3c5ff2719d3a1ae320b4b
treedaec357d0f24c241834d7c37e3adc723925e369f
parent4f0e0410b5ba9f0b3b58ab7d858c59309eddad27
NFS41: pop some layoutget errors to application

For ERESTARTSYS/EIO/EROFS/ENOSPC/E2BIG in layoutget, we
should just bail out instead of hiding the error and
retrying inband IO.

Change all the call sites to pop the error all the way up.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/direct.c
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/pagelist.c
fs/nfs/pnfs.c
fs/nfs/read.c