1 Sep 2005 03:07
Re: pNFS, OPEN principals and ACLs
Nicolas Williams <Nicolas.Williams <at> sun.com>
2005-09-01 01:07:45 GMT
2005-09-01 01:07:45 GMT
On Wed, Aug 31, 2005 at 12:08:45PM -0700, Mike Eisler wrote:
>
>
> --- Nicolas Williams <Nicolas.Williams <at> sun.com> wrote:
>
> > On Tue, Aug 30, 2005 at 08:22:39PM -0700, Mike Eisler wrote:
> > > What of the issue Garth raised? I propose that we introduce
> > > two new operations, GETFD and PUTFD. Like GETFH, GETFD is invoked in the
> > > same COMPOUND as OPEN, after OPEN. GETFD returns a file descriptor.
> > > PUTFD injects a file descriptor. Unlike file handles, file descriptors
> > > do not persist. One a file is CLOSEd, the file descriptor used
> > > in the CLOSE is disposed of. PUTFD is used for any operation on
> > > a regular file that takes a stateid. PUTFD is used instead of PUTFH.
> > ...
> >
> > Sounds close to an access token; why not deal with NFS as the backend
>
> It is solving the same problem as the access token, but it isn't an access token.
But without a metadata server<->data server protocol the FD is not
enough.
> > protocol as with an OSD... The client could get the FD from the
> > metadata server and then PUTFD the same thing on the data servers. To
> > build a token out of this is easy, just structure it something like,
> > roughly:
> >
> > { FD-data = {issuer, fd-index-local-to-issuer, expiration, FH, princ name,
> > access-type},
> > key-id, HMAC(K, <FD-data>) }
(Continue reading)
RSS Feed