lkml.org 
[lkml]   [2015]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Tux3 Report: How fast can we fail?
    Addendum to that post...

    On 05/12/2015 10:46 AM, I wrote:
    > ...For example, we currently
    > overestimate the cost of a rewrite because we would need to go poking
    > around in btrees to do that more accurately. Fixing that will be quite
    > a bit of work...

    Ah no, I was wrong about that, it will not be a lot of work because
    it does not need to be done.

    Charging the full cost of a rewrite as if it is a new write is the
    right thing to do because we need to be sure the commit can allocate
    space to redirect the existing blocks before it frees the old ones.
    So that means there is no need for the front end to go delving into
    file metadata, ever, which is a relief because that would have been
    expensive and messy.

    Regards,

    Daniel


    \
     
     \ /
      Last update: 2015-05-14 00:21    [W:4.033 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site