Bug 1166862
Summary: | rmtab file is a bottleneck when lot of clients are accessing a volume through NFS | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Cyril Peponnet <cyril> | ||||||
Component: | nfs | Assignee: | Niels de Vos <ndevos> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 3.5.2 | CC: | bugs, gluster-bugs, vbellur | ||||||
Target Milestone: | --- | Keywords: | Reopened, Triaged | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1169317 1169320 (view as bug list) | Environment: | |||||||
Last Closed: | 2016-06-16 12:40:24 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 1169317 | ||||||||
Bug Blocks: | 1208083 | ||||||||
Attachments: |
|
Description
Cyril Peponnet
2014-11-21 18:53:21 UTC
Created attachment 959918 [details]
Disk usage
REVIEW: http://review.gluster.org/9223 (nfs: make it possible to disable nfs.mount-rmtab) posted (#1) for review on master by Niels de Vos (ndevos) Note that the proposed change in comment #2 is actually for the master branch, not for release-3.5. When it has been merged in the master branch, we can backport the fix to release-3.5 and release-3.6. REVIEW: http://review.gluster.org/9223 (nfs: make it possible to disable nfs.mount-rmtab) posted (#3) for review on master by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/10419 (nfs: fix spurious failure in bug-1166862.t) posted (#1) for review on master by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/10419 (nfs: fix spurious failure in bug-1166862.t) posted (#2) for review on master by Niels de Vos (ndevos) COMMIT: http://review.gluster.org/10419 committed in master by Vijay Bellur (vbellur) ------ commit ee9b35a780607daddc2832b9af5ed6bf414aebc0 Author: Niels de Vos <ndevos> Date: Tue Apr 28 11:53:33 2015 +0200 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. BUG: 1166862 Change-Id: Ic03aa8145ca57d78aea01564466e924b03bb302a Signed-off-by: Niels de Vos <ndevos> Reviewed-on: http://review.gluster.org/10419 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> REVIEW: http://review.gluster.org/11336 (nfs: make it possible to disable nfs.mount-rmtab) posted (#1) for review on release-3.5 by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/11336 (nfs: make it possible to disable nfs.mount-rmtab) posted (#2) for review on release-3.5 by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/11336 (nfs: make it possible to disable nfs.mount-rmtab) posted (#3) for review on release-3.5 by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/11336 (nfs: make it possible to disable nfs.mount-rmtab) posted (#4) for review on release-3.5 by Niels de Vos (ndevos) COMMIT: http://review.gluster.org/11336 committed in release-3.5 by Niels de Vos (ndevos) ------ commit 3cf776c49bc60b7f616a4c503a8b10b2d19ad04b Author: Niels de Vos <ndevos> 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> >> Signed-off-by: Niels de Vos <ndevos> >> Reviewed-on: http://review.gluster.org/9223 >> Tested-by: Gluster Build System <jenkins.com> >> Reviewed-by: soumya k <skoduri> >> Reviewed-by: jiffin tony Thottan <jthottan> >> Reviewed-by: Kaleb KEITHLEY <kkeithle> > > 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> >> Reviewed-on: http://review.gluster.org/10419 >> Tested-by: Gluster Build System <jenkins.com> >> Reviewed-by: Vijay Bellur <vbellur> >> > > Change-Id: I40c4d8d754932f86fb2b1b2588843390464c773d > BUG: 1215385 > Signed-off-by: Niels de Vos <ndevos> > Reviewed-on: http://review.gluster.org/10379 > Tested-by: NetBSD Build System > Tested-by: Gluster Build System <jenkins.com> > Reviewed-by: Vijay Bellur <vbellur> 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> Reviewed-on: http://review.gluster.org/11336 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: jiffin tony Thottan <jthottan> Reviewed-by: Kaleb KEITHLEY <kkeithle> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.5.5, please reopen this bug report. glusterfs-3.5.5 has been announced on the Gluster Packaging mailinglist [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://article.gmane.org/gmane.comp.file-systems.gluster.devel/11986 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |