Thread (14 messages) 14 messages, 3 authors, 2012-07-03

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

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2012-07-03 11:51:34
Also in: dm-devel, lkml

Il 03/07/2012 04:34, Vivek Goyal ha scritto:
quoted
quoted
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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help