Lustre-devel archive mirror
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@whamcloud.com>
To: lustre-devel@lists.lustre.org
Subject: [lustre-devel] trnasfer zfs record size to client
Date: Wed, 6 Nov 2019 10:48:20 +0000	[thread overview]
Message-ID: <F874D2F4-3092-49FA-8887-05DFD41A4E3B@whamcloud.com> (raw)
In-Reply-To: <1572973449.3824.0@informatik.uni-hamburg.de>

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>

      reply	other threads:[~2019-11-06 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05 17:04 [lustre-devel] trnasfer zfs record size to client Anna Fuchs
2019-11-06 10:48 ` Andreas Dilger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F874D2F4-3092-49FA-8887-05DFD41A4E3B@whamcloud.com \
    --to=adilger@whamcloud.com \
    --cc=lustre-devel@lists.lustre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).