[Bugs] [Bug 1367265] Excessing logging - 'trying duplicate remote fd set' on fuse mount logfile - after rebalance completion
bugzilla at redhat.com
bugzilla at redhat.com
Mon Sep 12 05:41:33 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1367265
Raghavendra G <rgowdapp at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Raghavendra G <rgowdapp at redhat.com> ---
patch [1] largely solves the in_progress/completion task races. However the fix
is not complete as
1. the traversal of list of open fds on an inode is not a single atomic
operation.
2. [1] doesn't track in-progress open and hence more than one open can be
issued on same fd by racing in-progress-check/rebalance-completion-detection
tasks.
I can think of two possible solutions to this problem:
1. As mentioned in 2, tracking in-progress opens and waiting for them to
complete before issuing open. However this requires to pause current task till
in-progress open completes (as current fop cannot proceed till the fd is open).
2. Let the redundant opens be issued, but make sure protocol/client detect
duplicate opens _and_ cleanup the fdctx, close the oldfd on brick, by calling
client_fdctx_destroy on oldfdctx.
We can implement both 1 and 2 to be more careful.
@Nithya and others,
Your inputs are required on possible approach.
[1] http://review.gluster.org/12985
--
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=srkgU55oEi&a=cc_unsubscribe
More information about the Bugs
mailing list