NFSv4.1: cleanup filelayout invalid deviceid handling
authorAndy Adamson <andros@netapp.com>
Fri, 27 Apr 2012 21:53:42 +0000 (17:53 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 May 2012 21:54:18 +0000 (17:54 -0400)
commit554d458d79fa34acc73bc5128ba7bbf6b3007dfd
treee3b433888cfb494e234bb0a068563591f83cdcc2
parente73e6c9e85ed91187c1d21cb9238e86a116bf3db
NFSv4.1: cleanup filelayout invalid deviceid handling

Move the invalid deviceid test into nfs4_fl_prepare_ds, called by the
filelayout read, write, and commit routines. NFS4_DEVICE_ID_NEG_ENTRY
is no longer needed.
Remove redundant printk's - filelayout_mark_devid_invalid prints a KERN_WARNING.

An invalid device prevents pNFS io.

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/nfs4filelayoutdev.c