Re: [PATCH v2 1/3] block: add sysfs entry for discard_alignment

Mike Snitzer
2012-07-03T03:59:42Z

On Mon, Jul 02 2012 at 10:34pm -0400,
Vivek Goyal <vgoyal@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.