Bug 958108
Summary: | Fuse mount crashes while running FSCT tool on the Samba Share from a windows client | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Raghavendra Bhat <rabhat> |
Component: | io-cache | Assignee: | Raghavendra G <rgowdapp> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | mainline | CC: | aavati, csaba, gluster-bugs, kaushal, mzywusko, rabhat, rhs-bugs, r-mccarthy, rwheeler, sdharane |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.0 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Some translators maintain state in each inode that is necessary for their functioning. This state is built during path to inode resolution. This resolution normally happens through LOOKUP operation. However, as an optimization READDIRP was introduced which acts as a batch lookup for all the directory entries being read. This code path didn't build translator state in inodes and hence these log messages were seen.
Consequence: The translators wouldn't be able to function normally without state built in inodes. For eg., io-cache wouldn't cache file content if state is not present in inode.
Fix: Code in Fuse-bridge makes sure that at-least one LOOKUP operation is done before proceeding with any file operation like OPEN, READ, WRITE etc., there by ensuring that translators would've built necessary state in inodes.
Result: Log messages won't be seen and translators can do their intended function.
|
Story Points: | --- |
Clone Of: | 953527 | Environment: | |
Last Closed: | 2015-05-15 17:10:14 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: | 953527 | ||
Bug Blocks: | 994964 |
Comment 1
Anand Avati
2013-04-30 14:12:54 UTC
COMMIT: http://review.gluster.org/4916 committed in master by Vijay Bellur (vbellur) ------ commit b6e10801bee030fe7fcd1ec3bfac947ce44d023d Author: Raghavendra Bhat <raghavendra> Date: Tue Apr 30 19:41:34 2013 +0530 performance/io-cache: check the inode context to be NULL before accessing Change-Id: I475af7f8ffd5e5d8adbd2a74af20e56ad7751f69 BUG: 958108 Signed-off-by: Raghavendra Bhat <raghavendra> Reviewed-on: http://review.gluster.org/4916 Reviewed-by: Amar Tumballi <amarts> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> REVIEW: http://review.gluster.org/5029 (performance/io-cache: update inode contexts of each entry in readdir) posted (#1) for review on master by Raghavendra G (raghavendra) REVIEW: http://review.gluster.org/5029 (performance/io-cache: update inode contexts of each entry in readdir) posted (#2) for review on master by Raghavendra G (raghavendra) REVIEW: http://review.gluster.org/5077 (performance/io-cache: check the inode context to be NULL before accessing) posted (#1) for review on release-3.4 by Vijay Bellur (vbellur) COMMIT: http://review.gluster.org/5077 committed in release-3.4 by Anand Avati (avati) ------ commit df83bc05ff2c09fe5bd12ae32398bc58471d1f1a Author: Raghavendra Bhat <raghavendra> Date: Tue Apr 30 19:41:34 2013 +0530 performance/io-cache: check the inode context to be NULL before accessing Change-Id: I475af7f8ffd5e5d8adbd2a74af20e56ad7751f69 BUG: 958108 Signed-off-by: Raghavendra Bhat <raghavendra> Reviewed-on: http://review.gluster.org/4916 Reviewed-by: Amar Tumballi <amarts> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> Reviewed-on: http://review.gluster.org/5077 Reviewed-by: Anand Avati <avati> *** Bug 967031 has been marked as a duplicate of this bug. *** REVIEW: http://review.gluster.org/5029 (performance/io-cache: update inode contexts of each entry in readdir) posted (#3) for review on master by Raghavendra G (rgowdapp) http://review.gluster.org/#/c/5267/ fixes the issue. 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.7.0, please open a new bug report. glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user REVIEW: https://review.gluster.org/5029 (performance/io-cache: update inode contexts of each entry in readdir) posted (#4) for review on master by Raghavendra G (rgowdapp) |