• Kirill Smelkov's avatar
    X Move tracking of which blocks were accessed from wcfs to ΔFtail · 8b5d8523
    Kirill Smelkov authored
    this set has to be protected by a lock. In ΔFtail it can be naturally
    trated as "set of blocks that were explicitly requested to be tracked",
    and protected by general ΔFtail locking. If it would stay in wcfs - it
    would have to be protected by a separate lock and explicitly cared to be
    synchronized with ΔFtail.
    
    Change ΔFtail.SliceByFileRev to accept option to indicate whether we are
    interested in changed covering only explicitly tracked set. Maybe in the
    future we might want to make this the default and remove this option.
    8b5d8523
δftail_test.go 22.1 KB