[Bugs] [Bug 1166862] rmtab file is a bottleneck when lot of clients are accessing a volume through NFS

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 7 16:12:04 UTC 2015


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



--- Comment #12 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11336 committed in release-3.5 by Niels de
Vos (ndevos at redhat.com) 
------
commit 3cf776c49bc60b7f616a4c503a8b10b2d19ad04b
Author: Niels de Vos <ndevos at redhat.com>
Date:   Sun Jun 21 15:07:58 2015 +0200

    nfs: make it possible to disable nfs.mount-rmtab

    When there are many NFS-clients doing very often mount/unmount actions,
    the updating of the 'rmtab' can become a bottleneck and cause delays. In
    these situations, the output of 'showmount' may be less important than
    the responsiveness of the (un)mounting.

    By setting 'nfs.mount-rmtab' to the value "/-", the cache file is not
    updated anymore, and the entries are only kept in memory.

    Cherry picked from commit 40407afb529f6e5fa2f79e9778c2f527122d75eb:
    > Cherry picked from commit 331ef6e1a86bfc0a93f8a9dec6ad35c417873849:
    >> BUG: 1169317
    >> Change-Id: I40c4d8d754932f86fb2b1b2588843390464c773d
    >> Reported-by: Cyril Peponnet <cyril at peponnet.fr>
    >> Signed-off-by: Niels de Vos <ndevos at redhat.com>
    >> Reviewed-on: http://review.gluster.org/9223
    >> Tested-by: Gluster Build System <jenkins at build.gluster.com>
    >> Reviewed-by: soumya k <skoduri at redhat.com>
    >> Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    >> Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    >
    > This change also contains the fixes to the test-case from:
    >>
    >> nfs: fix spurious failure in bug-1166862.t
    >>
    >> In some environments, "showmount" could return an NFS-client that does
    >> not start with "1". This would cause the test-case to fail. The check is
    >> incorrect, the number of lines should get counted instead.
    >>
    >> Also moving the test-case to the .../nfs/... subdirectory.
    >>
    >> Cherry picked from commit ee9b35a780607daddc2832b9af5ed6bf414aebc0:
    >> BUG: 1166862
    >> Change-Id: Ic03aa8145ca57d78aea01564466e924b03bb302a
    >> Signed-off-by: Niels de Vos <ndevos at redhat.com>
    >> Reviewed-on: http://review.gluster.org/10419
    >> Tested-by: Gluster Build System <jenkins at build.gluster.com>
    >> Reviewed-by: Vijay Bellur <vbellur at redhat.com>
    >>
    >
    > Change-Id: I40c4d8d754932f86fb2b1b2588843390464c773d
    > BUG: 1215385
    > Signed-off-by: Niels de Vos <ndevos at redhat.com>
    > Reviewed-on: http://review.gluster.org/10379
    > Tested-by: NetBSD Build System
    > Tested-by: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: Vijay Bellur <vbellur at redhat.com>

    GLUSTERD_WORKDIR has been added to tests/include.rc and is not
    configurable through ./configure like on newer branches. It is not
    suitable to change the GlusterD working directory in an update for a
    stable release.

    Change-Id: I40c4d8d754932f86fb2b1b2588843390464c773d
    BUG: 1166862
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/11336
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle 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=LOUd2U9QSB&a=cc_unsubscribe


More information about the Bugs mailing list