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 1, 2012, at 5: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.

It should be easy to add a displayed hash in a subsequent patch.

-- 
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