[Bugs] [Bug 1291557] Data Tiering:File create terminates with "Input/output error" as split brain is observed
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jan 25 11:37:13 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1291557
--- Comment #7 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12968 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com)
------
commit 195548f55b09bf71db92929b7b734407b863093c
Author: Ashish Pandey <aspandey at redhat.com>
Date: Thu Nov 26 14:35:49 2015 +0530
storage/posix: Implement .unlink directory
Problem: For EC volume, If a file descriptor is open and
file has been unlinked, any further write on that fd will
fail. When a write request comes, EC internally reads some
blocks using anonymous fd. This read will fail as the file
has already been unlinked.
Solution: To solve this issue, we are using .unlink directory
to keep track of unlinked file. If a file is to be unlinked
while its fd is open, move this to .unlink directory and unlink
it from .glusterfs and real path. Once all the fd will be closed,
remove this entry form .unlink directory.
master -
http://review.gluster.org/#/c/12816/
Change-Id: I8344edb0d340bdb883dc46458c16edbc336916b9
BUG: 1291557
Signed-off-by: Ashish Pandey <aspandey at redhat.com>
Reviewed-on: http://review.gluster.org/12968
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
Smoke: Gluster Build System <jenkins at build.gluster.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
--
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=M7svo9Vgim&a=cc_unsubscribe
More information about the Bugs
mailing list