trnasfer zfs record size to client
Dear all,
for my work on the compression feature, I need the client to know the record size of the server/target (ZFS) where the request will be sent to. I assume there exist some communication channels between the client and the corresponding target for other options (like compatibility checking?). What would be the best way to tranfer this information? Thanks for any hints.
Best regards
Anna
Signature · 7 lines
Uni Hamburg <https://wr.informatik.uni-hamburg.de/people/anna_fuchs> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20191105/7b57f2f0/attachment.html>
On Nov 5, 2019, at 10:04, Anna Fuchs <anna.fuchs at informatik.uni-hamburg.de<mailto:[email protected]>> wrote:
Dear all,
for my work on the compression feature, I need the client to know the record size of the server/target (ZFS) where the request will be sent to. I assume there exist some communication channels between the client and the corresponding target for other options (like compatibility checking?). What would be the best way to tranfer this information? Thanks for any hints.'
Hi Anna,
we pass the recordsize (or ldiskfs blcoksize) from each OST/MDT back to the client as part of struct obd_connect_data.
You can see this information in the "grant_block_size" field of osc.*.import for each OST.
Cheers, Andreas
--
Andreas Dilger
Principal Lustre Architect
Whamcloud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20191106/aa4bb939/attachment.html>