[Gluster-devel] ext4 64bit offset related fix for dht

Shishir Gowda sgowda at redhat.com
Thu Jul 12 09:50:47 UTC 2012


Hi All,

Starting a thread to discuss the fixes for handling offsets being 64bit in ext4.

Please feel free to comment.

DHT:

1. Set the subvol count number in the xdata as part of readdirp response
2. Do not modify the offset while sending a response
3. If xdata has subvol count number as part of request, use it to identify the subvol to where call would go to
4. If xdata does not have subvol count number, then start with subvol - 0.

Remaining dht - readdir/p behaviour need not be changed.


Fuse:
1. save the subvolume count if available in the xdata in the fd_ctx
2. When a readdir/p call is received on the same fd, send down the subvolume count as part of xdata

NFS:
1. Save the subvolume count in the verifier cookie, and pass it to the client
2. Pass the verifier cookie down the graph if recieved.

With regards,
Shishir




More information about the Gluster-devel mailing list