Re: [PATCH 09/15] NFS: Add a client-side function to display NFS file handles

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

 



On Mar 2, 2012, at 12:17 PM, Steve Dickson wrote:

> 
> 
> On 03/01/2012 05:28 PM, Myklebust, Trond wrote:
>> On Thu, 2012-03-01 at 17:01 -0500, Chuck Lever wrote:
>>> For debugging, introduce a simplistic function to print NFS file
>>> handles on the system console.  The main function is hooked into the
>>> dprintk debugging facility, but you can directly call the helper,
>>> _nfs_display_fhandle(), if you want to print a handle unconditionally.
>>> 
>>> Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
>>> ---
>>> 
>> 
>> One of the things that I really like about wireshark is that it also
>> displays a 32-bit hexadecimal hash of the filehandle. That allows you to
>> compare 2 filehandles _much_ faster than trying to look at the full
>> shebang.
>> 
>> 
> +1 Being able to easily trace filehandle in both the kernel debug and
> wireshark would be huge.... IMHO...

Dros mentioned a possible follow-on patch last night at the pub that would add exactly this functionality.

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com




--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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