Bug 785644

Summary: I/O errors on the mount point
Product: [Community] GlusterFS Reporter: shylesh <shmohan>
Component: distributeAssignee: shishir gowda <sgowda>
Status: CLOSED WORKSFORME QA Contact:
Severity: urgent Docs Contact:
Priority: high    
Version: mainlineCC: gluster-bugs, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 06:47:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description shylesh 2012-01-30 06:08:26 UTC
Description of problem:
Accessing the mount point gives I/O errors

Version-Release number of selected component (if applicable):
Mainline

How reproducible:
always

Steps to Reproduce:
1. created a distribute volume with 1 brick
2. on the mount point ran the following scripts
 a. for i in {1..100} ; do dd if=/dev/urandom of=$i bs=1024 count=1000; done
 b. for i in {101..200}; do mkdir $i; cd $i; touch $i;done

3. Now access the mount point
  
Actual results:
I/O errors are shown  and log shows "detected cyclic loop formation during inode linkage."

Expected results:


Additional info:
[2012-01-30 00:55:40.079834] I [fuse-bridge.c:3405:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.13 kernel 7.13
[2012-01-30 00:58:35.523676] W [inode.c:175:__foreach_ancestor_dentry] 0-fuse: per dentry fn returned 1
[2012-01-30 00:58:35.524262] C [inode.c:227:__is_dentry_cyclic] 0-test/inode: detected cyclic loop formation during inode linkage. inode (00000000-0000-0000-0000-000000000001) linking under itself as b3-sr
[2012-01-30 00:58:35.527779] W [inode.c:866:inode_lookup] (-->/usr/local/lib/glusterfs/3git/xlator/debug/io-stats.so(io_stats_lookup_cbk+0xff) [0x7fd914a538af] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xecde) [0x7fd918465cde] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xeb5b) [0x7fd918465b5b]))) 0-fuse: inode not found
[2012-01-30 00:58:35.531368] W [inode.c:175:__foreach_ancestor_dentry] 0-fuse: per dentry fn returned 1
[2012-01-30 00:58:35.531389] C [inode.c:227:__is_dentry_cyclic] 0-test/inode: detected cyclic loop formation during inode linkage. inode (00000000-0000-0000-0000-000000000001) linking under itself as b4-sr
[2012-01-30 00:58:35.531442] W [inode.c:866:inode_lookup] (-->/usr/local/lib/glusterfs/3git/xlator/debug/io-stats.so(io_stats_lookup_cbk+0xff) [0x7fd914a538af] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xecde) [0x7fd918465cde] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xeb5b) [0x7fd918465b5b]))) 0-fuse: inode not found
[2012-01-30 00:58:35.531932] W [inode.c:175:__foreach_ancestor_dentry] 0-fuse: per dentry fn returned 1
[2012-01-30 00:58:35.531952] C [inode.c:227:__is_dentry_cyclic] 0-test/inode: detected cyclic loop formation during inode linkage. inode (00000000-0000-0000-0000-000000000001) linking under itself as s1
[2012-01-30 00:58:35.532004] W [inode.c:866:inode_lookup] (-->/usr/local/lib/glusterfs/3git/xlator/debug/io-stats.so(io_stats_lookup_cbk+0xff) [0x7fd914a538af] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xecde) [0x7fd918465cde] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xeb5b) [0x7fd918465b5b]))) 0-fuse: inode not found
[2012-01-30 00:58:35.532527] W [inode.c:175:__foreach_ancestor_dentry] 0-fuse: per dentry fn returned 1
[2012-01-30 00:58:35.532546] C [inode.c:227:__is_dentry_cyclic] 0-test/inode: detected cyclic loop formation during inode linkage. inode (00000000-0000-0000-0000-000000000001) linking under itself as s2
[2012-01-30 00:58:35.532597] W [inode.c:866:inode_lookup] (-->/usr/local/lib/glusterfs/3git/xlator/debug/io-stats.so(io_stats_lookup_cbk+0xff) [0x7fd914a538af] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xecde) [0x7fd918465cde] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xeb5b) [0x7fd918465b5b]))) 0-fuse: inode not found
[2012-01-30 00:58:35.533238] W [inode.c:866:inode_lookup] (-->/usr/local/lib/glusterfs/3git/xlator/debug/io-stats.so(io_stats_lookup_cbk+0xff) [0x7fd914a538af] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xecde) [0x7fd918465cde] (-->/usr/local/lib/glusterfs/3git/xlator/mount/fuse.so(+0xeb5b) [0x7fd918465b5b]))) 0-fuse: inode not found

Comment 1 shishir gowda 2012-01-30 06:47:28 UTC
Not able to reproduce this bug. Mount point is available.