Bug 958108 - Fuse mount crashes while running FSCT tool on the Samba Share from a windows client
Summary: Fuse mount crashes while running FSCT tool on the Samba Share from a windows ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: io-cache
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
: 967031 (view as bug list)
Depends On: 953527
Blocks: 994964
TreeView+ depends on / blocked
 
Reported: 2013-04-30 12:11 UTC by Raghavendra Bhat
Modified: 2017-07-18 17:15 UTC (History)
10 users (show)

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.
Clone Of: 953527
Environment:
Last Closed: 2015-05-15 17:10:14 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Anand Avati 2013-04-30 14:12:54 UTC
REVIEW: http://review.gluster.org/4916 (performance/io-cache: check the inode context to be NULL before accessing) posted (#1) for review on master by Raghavendra Bhat (raghavendra)

Comment 2 Anand Avati 2013-05-01 16:54:39 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>

Comment 3 Anand Avati 2013-05-17 07:26:58 UTC
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)

Comment 4 Anand Avati 2013-05-17 09:05:07 UTC
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)

Comment 5 Anand Avati 2013-05-23 17:49:08 UTC
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)

Comment 6 Anand Avati 2013-05-23 20:04:39 UTC
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>

Comment 7 santosh pradhan 2013-05-30 05:50:35 UTC
*** Bug 967031 has been marked as a duplicate of this bug. ***

Comment 8 Anand Avati 2013-09-11 04:09:48 UTC
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)

Comment 9 Raghavendra G 2014-01-15 06:12:54 UTC
http://review.gluster.org/#/c/5267/ fixes the issue.

Comment 10 Niels de Vos 2015-05-15 17:10:14 UTC
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

Comment 11 Worker Ant 2017-07-18 17:15:59 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.