[PATCH 0/6 RFC] nfsd: provide simpler interface for LOCALIO access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The purpose of this series is to provide an iterface to the filecache
which can be used without a struct svc_rqst, and without any xprt.

This interface is realised in the final patch as nfsd_file_acquire_local().

That function currently takes and nfs_vers option.  That was a natural
fallout of the refactorisation that lead here, but it probably isn't
wanted.  I need to review exactly what effect it has - mostly it is
about error code choice I think.

The function also takess a 'struct auth_domain*'.  It is not clear how a
caller would get hold of such a thing.  I suspect that the server should
register a "local-io" auth_domain in the nfsd_net, and it should be used
here.

Comments on design and implementation most welcome.

Thanks,
NeilBrown

 [PATCH 1/6] nfsd: introduce __fh_verify which takes explicit nfsd_net
 [PATCH 2/6] nfsd: add cred parameter to __fh_verify()
 [PATCH 3/6] nfsd: pass nfs_vers explicitly to __fh_verify()
 [PATCH 4/6] nfsd: pass client explicitly to __fh_verify()
 [PATCH 5/6] nfsd: __fh_verify now treats NULL rqstp as a trusted
 [PATCH 6/6] nfsd: add nfsd_file_acquire_local().




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux