linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: Tomasz Lasko <tomasz@lasko.pl>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Sector size is assumed 512
Date: Fri, 12 May 2017 12:31:47 +0100	[thread overview]
Message-ID: <20170512113147.GJ6155@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <d8bf4829-6136-4f44-68b1-661b3b6f98cb@lasko.pl>

It's been a linux kernel coding standard to treat the sector size as
always 512 bytes which we have adopted - regardless of the actual
hardware underneath.

S and s, and B and b mean the same.

Both userspace and kernel code automatically respects alignment
constraints imposed by the devices underneath, such as larger sector sizes.

Alasdair

  reply	other threads:[~2017-05-12 11:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11 10:39 [linux-lvm] Sector size is assumed 512 Tomasz Lasko
2017-05-12 11:31 ` Alasdair G Kergon [this message]
2017-05-12 11:34 ` Zdenek Kabelac

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=20170512113147.GJ6155@agk-dp.fab.redhat.com \
    --to=agk@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=tomasz@lasko.pl \
    /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 NNTP newsgroup(s).