On Mar 11, 2008 16:37 +0530, pravin shelar wrote:> Hi All,
> Lustre based on zfs need a change readdir page wire protocol.
>
> lu_dirent->lde_hash maintains iterator cookie. with zfs - zap cursor API
> we have 64bit cookie (ref. zap_cursor_serialize()). So we need to change
> this lde_hash to 64 bit.
> This changes layout of readdir pages which is transmitted on wire, so we
> need to merge it into head asap.
Note for the record that the 1.8 readdir wire protocol is already different
from that used by 1.6 (because of use of FID and ability to have cross-MDT
references for CMD) so changing the wire format again (before the 1.8 release)
is not a problem. No release is yet using the new format.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.