[OpenAFS-devel] Re: Proposed new kafs interface: k_getpag

Quanah Gibson-Mount quanah@zimbra.com
Thu, 16 Jul 2009 13:40:54 -0700


--On July 16, 2009 8:27:17 AM -0700 Russ Allbery <rra@stanford.edu> wrote:

> Love H=C3=B6rnquist =C3=85strand <lha@kth.se> writes:
>
>> I don't see any problems, however, I want to ask a question.
>>
>> That do you plan to do with the value you get back ? From your problem
>> description this api would also solve your problem description.
>>
>> int     k_haspag(void); /* k_isinpag()  ? */
>
> That's a good point, and I was pondering whether that would be a better
> approach.  The only advantage to returning the actual PAG number that I
> can think of is that it allows one to remember it and later determine
> whether one is still in the same PAG, but off the top of my head I can't
> think of a case when I'd want to do that.

I'm sure someone will come up with one eventually. :P

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration