[Bugs] [Bug 1310544] New: DHT: Take blocking locks while renaming files

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 22 08:18:42 UTC 2016


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

            Bug ID: 1310544
           Summary: DHT: Take blocking locks while renaming files
           Product: GlusterFS
           Version: 3.7.7
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: sabansal at redhat.com
                CC: bugs at gluster.org
        Depends On: 1304966
            Blocks: 1305836



+++ This bug was initially created as a clone of Bug #1304966 +++

Description of problem:
DHT takes non-blocking locks while renaming files. During parallel renames and
parallel rebalance and rename clients might fail with EBUSY or ESTALE errors.
Hence to avoid application discontinuity renaming of files must take blocking
locks.

Hence it is better to take blocking locks for renaming files.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Vijay Bellur on 2016-02-05 04:26:34 EST ---

REVIEW: http://review.gluster.org/13366 (dht: file rename must take blocking
inode locks) posted (#1) for review on master by Sakshi Bansal

--- Additional comment from Vijay Bellur on 2016-02-22 01:39:36 EST ---

COMMIT: http://review.gluster.org/13366 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit f02dc88786afea06e6b064a724803c82a0af90ba
Author: Sakshi Bansal <sabansal at redhat.com>
Date:   Fri Feb 5 14:51:10 2016 +0530

    dht: file rename must take blocking inode locks

    Currently DHT takes non-blocking locks for file rename.
    Due to this during parallel renames some clients fail
    with EBUSY or ESTALE errors. Hence to avoid application
    discontinuity file rename must take blocking inode locks.

    Change-Id: I986e9d08b3be359f20b1a3e1564e049b0f3dffd3
    BUG: 1304966
    Signed-off-by: Sakshi Bansal <sabansal at redhat.com>
    Reviewed-on: http://review.gluster.org/13366
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1304966
[Bug 1304966] DHT: Take blocking locks while renaming files
https://bugzilla.redhat.com/show_bug.cgi?id=1305836
[Bug 1305836] DHT: Take blocking locks while renaming files
-- 
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