[lkml]   [2011]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] block integrity: Fix write after checksum calculation problem
    >>>>> "Andreas" == Andreas Dilger <> writes:

    Andreas> I don't like adding a data copy in the IO path at all.

    No thanks!

    Andreas> I'd definitely prefer that the filesystem be in charge of
    Andreas> deciding whether this is needed or not.

    Absolutely. At the block layer we obviously have no idea whether the
    filesystem is safe or not. So in my current tree the protection is only
    generated if the relevant bio flag is set (unless the application
    already added it, obviously).

    Andreas> If the use of the data copy can be constrained to only the
    Andreas> minimum required cases (e.g. if fs checks for rewrite on page
    Andreas> that is marked as Writeback and either copies or blocks until
    Andreas> writeback is complete, as a mount option) that would be
    Andreas> better. At that point we can compare on different hardware
    Andreas> whether copying or blocking should be the default.


    As Chris mentioned we've got somebody on our team working through the
    filesystem issues now. I'm hoping we can provide a status update at

    Martin K. Petersen Oracle Linux Engineering

     \ /
      Last update: 2011-02-22 17:45    [W:2.407 / U:0.236 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site