[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH v2 1/3] block: add sysfs entry for discard_alignment
- From: Paolo Bonzini <pbonzini redhat com>
- To: Vivek Goyal <vgoyal redhat com>
- Cc: axboe kernel dk, martin petersen oracle com, snitzer redhat com, david fromorbit com, linux-kernel vger kernel org, xfs oss sgi com, dm-devel redhat com, hch lst de
- Subject: Re: [dm-devel] [PATCH v2 1/3] block: add sysfs entry for discard_alignment
- Date: Tue, 03 Jul 2012 13:51:13 +0200
Il 03/07/2012 04:34, Vivek Goyal ha scritto:
>> > 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
Ah, interesting, I missed it completely. I guess it's because queue/
directories only exist for full disks, and the correct alignment varies
for each partition. So this patch is unnecessary.
Paolo
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]