Return-Path: Received: from mail.poivron.org (poivron.org [91.194.60.101]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 2 Dec 2010 12:51:06 +0100 (CET) Date: Thu, 2 Dec 2010 12:50:48 +0100 From: mike dentifrice Message-ID: <20101202114038.GA3149@dentifrice> References: <20101201145123.GA10238@dentifrice> <20101202075413.GE19274@maude.comedia.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20101202075413.GE19274@maude.comedia.it> Subject: Re: [dm-crypt] status of dm-crypt (alignment issues) on a SSD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Thanks a lot for your reply! Luca Berra a dit: > what you need on kernel side is having in sysfs > under /sys/block/ > 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