Pranith Kumar K 84b2d08081 cluster/ec: Reopen shouldn't happen with O_TRUNC
Problem:
Doing re-open with O_TRUNC will truncate the fragment even when it is not
needed needing extra heals

Fix:
At the time of re-open don't use O_TRUNC.

fixes bz#1709660
Change-Id: Idc6408968efaad897b95a5a52481c66e843d3fb8
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
2019-05-15 10:36:50 +00:00
..
2019-05-15 04:16:52 +00:00