[Bugs] [Bug 1241487] quota/marker: lk_owner is null while acquiring inodelk in rename operation
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 13 06:41:33 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1241487
--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11601 committed in release-3.7 by Raghavendra
G (rgowdapp at redhat.com)
------
commit 4cd60d5456c2ff0fe0455c8d1d534776bb8269c4
Author: vmallika <vmallika at redhat.com>
Date: Tue Jul 7 16:03:26 2015 +0530
quota/marker: set lk_owner when taking lock on parent in rename
This is a backport of http://review.gluster.org/#/c/11561/
Before doing a rename operation marker takes inode lock on the file
parent,
here lk_owner is NULL and this can cause accounting problem with
multiple rename on the same directory
This patch fix the problem by setting lk_owner
> Change-Id: Ibb789e39b2833e425d0a5fca85282ff1465206cb
> BUG: 1240598
> Signed-off-by: vmallika <vmallika at redhat.com>
Change-Id: Ibd3abaee2dd5d132906a79a518fbcedcdefc4552
BUG: 1241487
Signed-off-by: vmallika <vmallika at redhat.com>
Reviewed-on: http://review.gluster.org/11601
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
--
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=9uUFtUaUEy&a=cc_unsubscribe
More information about the Bugs
mailing list