[Bugs] [Bug 1179563] self-heal-algorithm with option "full" doesn't heal sparse files correctly

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 17 12:47:20 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1179563


--- Doc Text *updated* by Ravishankar N <ravishankar at redhat.com> ---
When data-self-heal-algorithm was set to 'full', afr self-heal daemon just read from source and wrote to sink. If source file happened to be sparse (VM workloads), we ended up actually writing 0s to the corresponding regions
of the sink causing it to lose its sparseness.

With the fix, if the source file is sparse, and the data read from source and sink are both zeros for that range, we skip writing that range to the sink, thereby retaining the sparseness of the file.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=9s5DhI97Lk&a=cc_unsubscribe


More information about the Bugs mailing list