2006-07-28 02:03:53

by Li Guanglei

[permalink] [raw]
Subject: Re: [NFS] [ltc-perf] draft of nfs event hook

ZhaoYi ??:
> I think RPC is also needed to be listed, because in the current implementation of Linux NFS, RPC in the kernel is used by nfs only.

Although RPC is only used by NFS inside Kernel, I think NFS and RPC
fall into two different categories. A separate set of trace hooks for
RPC should be better.

- Guanglei

> ----- Original Message -----
> From: "Li Guanglei" <[email protected]>
> To: "Chuck Lever" <[email protected]>
> Cc: <[email protected]>; <[email protected]>
> Sent: Friday, July 28, 2006 6:47 AM
> Subject: Re: [NFS] [ltc-perf] draft of nfs event hook
>
>
>>> Have you done this with a local file system? I assume yes, and that
>>> you just described the general approach you have taken with other file
>>> systems. I think getting the same kind of data and trace points from
>>> the NFS client as you added to local file systems would be good.
>>>
>>> Capturing VFS and address space entry points is definitely useful and
>>> is similar to local file systems. At the bottom of the NFS client is
>>> the RPC client, and it acts just like the block I/O layer does for
>>> local file systems. Would you consider adding trace points in the
>>> LKET for the RPC client and server?
>>>
>>>> What I didn't list about NFS operations includes authentication,
>>>> NFSv4 callback and RPC(I prefer to use a separate set of trace hooks
>>>> for RPC). I am not sure if these operations are also required to be
>>>> traced. If I missed some important functions or I listed some
>>>> redundant functions, please feel free to let me know. Any comments
>>>> will be highly appreciated.
>>>>
>> I didn't list RPC here because I think RPC is not only used by NFS and
>> I need another set of RPC trace hooks to address the RPC server and
>> client side operations. That will be my plan of the next set of trace
>> hooks.
>>
>> - Guanglei
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> NFS maillist - [email protected]
>> https://lists.sourceforge.net/lists/listinfo/nfs
>>