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>
Showing
- fs/nfs/client.c 3 additions, 1 deletionfs/nfs/client.c
- fs/nfs/nfs4state.c 2 additions, 0 deletionsfs/nfs/nfs4state.c
- fs/nfs/pnfs.c 157 additions, 3 deletionsfs/nfs/pnfs.c
- fs/nfs/pnfs.h 14 additions, 0 deletionsfs/nfs/pnfs.h
- include/linux/nfs_fs_sb.h 1 addition, 0 deletionsinclude/linux/nfs_fs_sb.h
Loading
Please register or sign in to comment