]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: mark deviceid invalid on filelayout DS connection errors
authorAndy Adamson <andros@netapp.com>
Fri, 27 Apr 2012 21:53:46 +0000 (17:53 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 May 2012 21:54:20 +0000 (17:54 -0400)
commit7a6517f98678d5eeadaf13b3195b76e81f56946c
treedfacd16bce6df877ecae697cd7dbf5f8e0561872
parent1d2b40ba37e3e1b9774e8132c90fe0a34366d45f
NFSv4.1: mark deviceid invalid on filelayout DS connection errors

This prevents the use of any layout for i/o that references the deviceid.
I/O is redirected through the MDS.

Redirect the unhandled failed I/O to the MDS without marking either the
layout or the deviceid invalid.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4filelayout.h
fs/nfs/pnfs.c
fs/nfs/pnfs.h