xfs
[Top] [All Lists]

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

To: Vivek Goyal <vgoyal@xxxxxxxxxx>
Subject: Re: [PATCH v2 1/3] block: add sysfs entry for discard_alignment
From: Mike Snitzer <snitzer@xxxxxxxxxx>
Date: Mon, 2 Jul 2012 23:59:24 -0400
Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, axboe@xxxxxxxxx, martin.petersen@xxxxxxxxxx, david@xxxxxxxxxxxxx, xfs@xxxxxxxxxxx, dm-devel@xxxxxxxxxx, hch@xxxxxx
In-reply-to: <20120703023442.GB3586@xxxxxxxxxx>
References: <1341235225-27551-1-git-send-email-pbonzini@xxxxxxxxxx> <1341235225-27551-2-git-send-email-pbonzini@xxxxxxxxxx> <20120703023442.GB3586@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Jul 02 2012 at 10:34pm -0400,
Vivek Goyal <vgoyal@xxxxxxxxxx> 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.

<Prev in Thread] Current Thread [Next in Thread>