[Bugs] [Bug 1401095] log the error when locking the brick directory fails

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 3 13:42:45 UTC 2017


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



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16018 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 369fa575a1089b472c39a3843c56f694e1f7ad6f
Author: Raghavendra Bhat <raghavendra at redhat.com>
Date:   Wed Nov 30 17:44:29 2016 -0500

    storage/posix: log the error when locking the export directory fails

    posix xlator tries to prevent external unmount of the brick export
directory
    by locking it. It locks the export directory by opening it (i.e. doing a
opendir).

    But if opendir fails it errors out resulting in the brick process going
down. The
    error due to which opendir failed is not logged.

    Change-Id: I28648382b7f0b88fb1aeb36152e5ab5d812374c9
    BUG: 1401095
    Signed-off-by: Raghavendra Bhat <raghavendra at redhat.com>
    Reviewed-on: http://review.gluster.org/16018
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Tested-by: Vijay Bellur <vbellur at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Vijay Bellur <vbellur 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=wC3Nsrnbnx&a=cc_unsubscribe


More information about the Bugs mailing list