Following on from Paolo's commits 26ae980 and 276cbc7, this patchset implements some changes he recommended earlier which I didn't previously have time to do while on GSoC.
Patch 2 was written initially I was intending to use cow_co_is_allocated in Patch 3 and needed it to consider all sectors but in the end cow_find_streak was sufficient, so it may not strictly be necessary. Charlie Shepherd (3): COW: Speed up writes COW: Extend checking allocated bits to beyond one sector COW: Skip setting already set bits block/cow.c | 122 ++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 74 insertions(+), 48 deletions(-) -- 1.8.4.rc3