[OpenAFS] OpenAFS on Linux 2.5.x

Derek Atkins warlord@MIT.EDU
17 Apr 2003 14:38:36 -0400


"Neulinger, Nathan" <nneul@umr.edu> writes:

> The previous note about aix seemed to have a useful set.  Seems like:
> 
> set pag
> 	should be able to use two ways - as admin, set a particular pag
> - to join one that already exists

I do not think you want to be able to join an existing pag.  That would
be a potential security violation.  One of the benefits of PAGs is that
even 'root' can't just join one (without additional kernel hacking)...

> 	as admin or regular user - request a new pag to be allocated
> get pag
> validate pag
> 
> 
> I tend to wonder if the pags should be shared across all facilities, or
> if there should be a pag class - to allow a process to be in one pag for
> afs, and another different pag for nfs?

I agree, a PAG Class is probably a good idea.  The IBM reference
certainly used pag classes.  But that does make storage a bit harder.
You actually have to manage the pag objects instead of just
maintaining a __u64 or __u32.  Or we would need a 'MAX_PAGS' object,
but that seems rather wasteful, no?

> -- Nathan

-derek

> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@umr.edu
> University of Missouri - Rolla         Phone: (573) 341-4841
> Computing Services                       Fax: (573) 341-4216
> 
> 
> > -----Original Message-----
> > From: Derek Atkins [mailto:warlord@MIT.EDU] 
> > Sent: Thursday, April 17, 2003 1:01 PM
> > To: Jeffrey Hutzelman
> > Cc: Chaskiel M Grundman; OpenAFS-info@openafs.org
> > Subject: Re: [OpenAFS] OpenAFS on Linux 2.5.x
> > 
> > 
> > Jeffrey Hutzelman <jhutz@cmu.edu> writes:
> > 
> > > Not just an API.  If the OS is going to provide a PAG 
> > mechanism, it should
> > > also provide the relevant syscalls.  That way everyone can 
> > use the same
> > > PAG mechanism, and maybe someday the standard tools will do PAG
> > > management.
> > 
> > Hense my question... What do we need?
> > 
> > -derek
> > -- 
> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >        Member, MIT Student Information Processing Board  (SIPB)
> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >        warlord@MIT.EDU                        PGP key available
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo/openafs-info
> > 
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available