[lkml]   [2010]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/2] fs: Do not dispatch FITRIM through separate super_operation
    On Fri, Nov 19, 2010 at 09:01:02AM -0500, Mark Lord wrote:
    > That is my intent already, thanks. Just needs time, perhaps this winter.

    This wasn't addressed at you, but a snide remark at Greg, who is just
    contantly bickering without actually beeing any help.

    > I think a reasonable approach would be to modify the existing interfaces
    > so that the LLD can report a "max discard ranges per command" back up
    > the stack.
    > This way, libata could report a max of say, 64 ranges per "discard" (trim),
    > and DM/RAID could simply (for now) report a max of one range per discard.

    That's certainly the easy way out. You'll need a good way to actually
    transport the ranges as we can't simply sote them in bi_sector/bi_size
    and adapt the whole block layer to deal with the two types of different
    discards. Not saying it's impossible, but when I tried it before it
    wasn't pretty.

     \ /
      Last update: 2010-11-19 15:09    [W:0.019 / U:6.456 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site