]> git.karo-electronics.de Git - mv-sheeva.git/commit
NFS: client needs to maintain list of inodes with active layouts
authorAndy Adamson <andros@netapp.com>
Wed, 20 Oct 2010 04:18:02 +0000 (00:18 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 24 Oct 2010 22:07:10 +0000 (18:07 -0400)
commit974cec8ca0352eb5d281535b714cf194a606e98f
tree0e71706c3091fc785bab0be8edc5de36816685ff
parente5e940170b2136ad4d5483ef293ae284b9cc8d53
NFS: client needs to maintain list of inodes with active layouts

In particular, server reboot will invalidate all layouts.

Note that in order to have an active layout, we must get a successful response
from the server.  To avoid adding that machinery, this patch just includes a
stub that fakes up a successful return.  Since the layout is never referenced
for io, this is not a problem.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Dean Hildebrand <dhildebz@umich.edu>
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/nfs4state.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h
include/linux/nfs_fs_sb.h