[Ocfs2-devel] [PATCH 1/1] OCFS2: anti stale inode for nfs (V3)
Joel Becker
Joel.Becker at oracle.com
Thu Feb 19 09:35:15 PST 2009
On Thu, Feb 19, 2009 at 09:10:26PM +0800, Wengang Wang wrote:
>> It will need to be added to debugfs.ocfs2's lock displays.
> what's this in detail?
> the display for "debugfs.ocfs2 -d <lockres>"? such as the rename lock
>
> [root at ocfs2-2 ~]# debugfs.ocfs2 -d R000000000000000000000000000000
> Lockres: R000000000000000000000000000000
> Type: Rename
> Block: 0
> Generation: 0x00000000
Basically, libocfs2/lockid.c needs to be updated to understand
the new lock type. debugfs should then be able to encode/decode the
lockres nicely. You should be able to copy the behavior of the rename
lock just like you did in the kernel.
Joel
--
"I always thought the hardest questions were those I could not answer.
Now I know they are the ones I can never ask."
- Charlie Watkins
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list