[Bugs] [Bug 1247972] New: quota/marker: lk_owner is null while acquiring inodelk in rename operation
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 29 11:13:17 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1247972
Bug ID: 1247972
Summary: quota/marker: lk_owner is null while acquiring inodelk
in rename operation
Product: GlusterFS
Version: 3.6.5
Component: quota
Assignee: bugs at gluster.org
Reporter: vmallika at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com,
rgowdapp at redhat.com
Depends On: 1240598
Blocks: 1241487, 1241048
+++ This bug was initially created as a clone of Bug #1240598 +++
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
--- Additional comment from Anand Avati on 2015-07-07 06:41:14 EDT ---
REVIEW: http://review.gluster.org/11561 (quota/marker: set lk_owner when taking
lock on parent in rename) posted (#1) for review on master by Vijaikumar
Mallikarjuna (vmallika at redhat.com)
--- Additional comment from Anand Avati on 2015-07-07 08:57:01 EDT ---
REVIEW: http://review.gluster.org/11561 (quota/marker: set lk_owner when taking
lock on parent in rename) posted (#2) for review on master by Vijaikumar
Mallikarjuna (vmallika at redhat.com)
--- Additional comment from Anand Avati on 2015-07-10 00:09:00 EDT ---
COMMIT: http://review.gluster.org/11561 committed in master by Raghavendra G
(rgowdapp at redhat.com)
------
commit 7488acff20ef6ff8df76af07547695e0106f32ca
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
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>
Reviewed-on: http://review.gluster.org/11561
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>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1240598
[Bug 1240598] quota/marker: lk_owner is null while acquiring inodelk in
rename operation
https://bugzilla.redhat.com/show_bug.cgi?id=1241048
[Bug 1241048] quota/marker: lk_owner is null while acquiring inodelk in
rename operation
https://bugzilla.redhat.com/show_bug.cgi?id=1241487
[Bug 1241487] quota/marker: lk_owner is null while acquiring inodelk in
rename operation
--
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