NFS: Add read context retention for FS-Cache to call back with
authorDavid Howells <dhowells@redhat.com>
Fri, 3 Apr 2009 15:42:44 +0000 (16:42 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 3 Apr 2009 15:42:44 +0000 (16:42 +0100)
commit1fcdf534885b65e6d39780a5a89e9dfc5431cf68
tree2710681cd36e5ba1a6460082061464242c175772
parent545db45f0fc0d4203b045047798ce156972a3056
NFS: Add read context retention for FS-Cache to call back with

Add read context retention so that FS-Cache can call back into NFS when a read
operation on the cache fails EIO rather than reading data.  This permits NFS to
then fetch the data from the server instead using the appropriate security
context.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: Daire Byrne <Daire.Byrne@framestore.com>
fs/nfs/fscache-index.c