[dm-devel] [PATCH v2 1/3] block: add sysfs entry for discard_alignment

Mike Snitzer snitzer at redhat.com
Tue Jul 3 03:59:24 UTC 2012


On Mon, Jul 02 2012 at 10:34pm -0400,
Vivek Goyal <vgoyal at redhat.com> wrote:

> On Mon, Jul 02, 2012 at 03:20:23PM +0200, Paolo Bonzini wrote:
> > The next patches will actually use the alignment, expose it in sysfs
> > for ease of debugging.
> > 
> 
> Don't we already have discard_alignment exported as device attribute.
> 
> /sys/block/<dev>/discard_alignment

Yes we do.  It is documented in Documentation/ABI/testing/sysfs-block

So this patch isn't needed.




More information about the dm-devel mailing list