[Bugs] [Bug 1557876] Fuse mount crashed with only one VM running with its image on that volume
bugzilla at redhat.com
bugzilla at redhat.com
Mon Mar 19 07:20:46 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1557876
--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19737 committed in master by "Pranith Kumar
Karampuri" <pkarampu at redhat.com> with a commit message- features/shard: Do
list_del_init() while list memory is valid
Problem:
shard_post_lookup_fsync_handler() goes over the list of inode-ctx that need to
be fsynced and in cbk it removes each of the inode-ctx from the list. When the
first member of list is removed it tries to modifies list head's memory with
the latest next/prev and when this happens, there is no guarantee that the
list-head which is from stack memory of shard_post_lookup_fsync_handler() is
valid.
Fix:
Do list_del_init() in the loop before winding fsync.
BUG: 1557876
Change-Id: If429d3634219e1a435bd0da0ed985c646c59c2ca
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
More information about the Bugs
mailing list