All of lore.kernel.org
 help / color / mirror / Atom feed
From: mike dentifrice <fluor@poivron.org>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] status of dm-crypt (alignment issues) on a SSD
Date: Thu, 2 Dec 2010 12:50:48 +0100	[thread overview]
Message-ID: <20101202114038.GA3149@dentifrice> (raw)
In-Reply-To: <20101202075413.GE19274@maude.comedia.it>

Thanks a lot for your reply!

Luca Berra a dit:
> what you need on kernel side is having in sysfs
> under /sys/block/<device>
> queue/minimum_io_size
> queue/optimal_io_size
> queue/physical_block_size

These are present while running Debian's 2.6.32-5 linux kernel.

> on tool side,
> for util-linux
> ldd /sbin/fdisk | grep blkid

$ ldd /sbin/fdisk | grep blkid
        libblkid.so.1 => /lib/libblkid.so.1 (0x00007fd182e63000)

> strings /lib/libblkid.so.1 | grep queue/

$ strings /lib/libblkid.so.1 | grep queue/
	queue/minimum_io_size
	queue/optimal_io_size
	queue/physical_block_size

> for lvm
> strings /sbin/lvm |grep queue/

$ strings /sbin/lvm | grep queue/
	queue/optimal_io_size
	queue/minimum_io_size

> and so on.

So far, everything seems good as far as I understnad, but should
`cryptsetup` have 'queue' strings as well ? Mine (v1.1.3) doesn't. I
compiled 1.2.0-rc1 and it doesn't either. Is that a stopper of not?

Thanks,

-- 
mike dentifrice <fluor@poivron.org>

  parent reply	other threads:[~2010-12-02 11:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 14:51 [dm-crypt] status of dm-crypt (alignment issues) on a SSD mike dentifrice
2010-12-02  7:54 ` Luca Berra
2010-12-02 11:44   ` Milan Broz
2010-12-02 11:50   ` mike dentifrice [this message]
2010-12-02 12:08     ` Milan Broz

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=20101202114038.GA3149@dentifrice \
    --to=fluor@poivron.org \
    --cc=dm-crypt@saout.de \
    /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 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.