All of lore.kernel.org
 help / color / mirror / Atom feed
* [lustre-devel] trnasfer zfs record size to client
@ 2019-11-05 17:04 Anna Fuchs
  2019-11-06 10:48 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Anna Fuchs @ 2019-11-05 17:04 UTC (permalink / raw)
  To: lustre-devel

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

-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [lustre-devel] trnasfer zfs record size to client
  2019-11-05 17:04 [lustre-devel] trnasfer zfs record size to client Anna Fuchs
@ 2019-11-06 10:48 ` Andreas Dilger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Dilger @ 2019-11-06 10:48 UTC (permalink / raw)
  To: lustre-devel

On Nov 5, 2019, at 10:04, Anna Fuchs <anna.fuchs at informatik.uni-hamburg.de<mailto:anna.fuchs@informatik.uni-hamburg.de>> 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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-06 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 17:04 [lustre-devel] trnasfer zfs record size to client Anna Fuchs
2019-11-06 10:48 ` Andreas Dilger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.