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)
commitd600ad1f2bdbf97c4818dcc85b174f72c90c21bd
treedaec357d0f24c241834d7c37e3adc723925e369f
parentd0379a5d066a998b0210a81dc52e266ce4daaa36
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