lkml.org 
[lkml]   [2012]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [dm-devel] [PATCH v2 1/3] block: add sysfs entry for discard_alignment
    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


    \
     
     \ /
      Last update: 2012-07-03 14:21    [W:2.948 / U:0.240 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site