[Bugs] [Bug 1250359] New: quota accounting can get messed up with race between rename and in-progress writes

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 5 08:47:53 UTC 2015


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

            Bug ID: 1250359
           Summary: quota accounting can get messed up with race between
                    rename and in-progress writes
           Product: GlusterFS
           Version: mainline
         Component: quota
          Assignee: bugs at gluster.org
          Reporter: vmallika at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Consider below scenario
1) rename FOP invoked on file 'x'
2) write is still in progress for file 'x'
3) rename takes a lock on old-parent
3) write-update txn blocked on old-parent
4) in rename_cbk, contri xattrs are removed and contribution is deleted and
lock is released
5) now write-update txn gets the lock and updates the wrong parent

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list