>From: Aurelien Degremont - Stagiaire <degremont@xxxxxxxxxxx>
>Hello,
>
>Still trying to figure out the dmapi/xfs code, here is my new problem :).
>
>I wonder what should be set in dmfsid (dm_inode_to_fh/dm_fh_to_inode in
>dmapiops) field.
>This is my guess :
>In XFS, this value is filled with the vfs_altfsid which seems to be an
>unique ID (for the XFS file system on this machine) set up at filesystem
>creation. The other filesystems (especially ext3) do not seem to own an
>equivalent value. (If right, in your opinion, what could be used instead ? )
You need a unique ID for each filesystem. Things like JFS and ReiserFS also
havee this unique ID, if I remember correct.
>More explanation about dmapi_kern.h stuff would be greatly appreciated
Just ask.
To which filesystem are you porting the DMAPI code?
Dean
|