Hide Forgot
Created attachment 575345 [details] Cyclic loop While running some rename tests on Mac OS X nfs client. rename fails with critical logs saying: "[2012-04-04 16:42:30.350298] C [inode.c:227:__is_dentry_cyclic] 0-/scratch/inode: detected cyclic loop formation during inode linkage. inode (f444c9d8-a628-4300-8354-c3b32e169f7c) linking under itself as .." [2012-04-04 16:42:30.095275] E [marker.c:2069:marker_setattr_cbk] 0-nfs-multi-client-marker: Operation not permitted occurred during setattr of <nul> [2012-04-04 16:42:30.095365] I [server3_1-fops.c:1731:server_setattr_cbk] 0-nfs-multi-client-server: 244050: SETATTR /fstest_16a3ab88dded9d46969f15d8f6975c69/fstest_3e739d5cd2b1cc1dc1ff43d0b7936144/fstest_dfff3af553478c613b66797b442b9736 (5e254c0f-0fb7-4a51-9d37-f9463f876ffd) ==> -1 (Operation not permitted) [2012-04-04 16:42:30.129271] E [marker.c:2069:marker_setattr_cbk] 0-nfs-multi-client-marker: Operation not permitted occurred during setattr of <nul> [2012-04-04 16:42:30.129307] I [server3_1-fops.c:1731:server_setattr_cbk] 0-nfs-multi-client-server: 244068: SETATTR /fstest_16a3ab88dded9d46969f15d8f6975c69/fstest_3e739d5cd2b1cc1dc1ff43d0b7936144/fstest_dfff3af553478c613b66797b442b9736 (6cf11bc9-b904-40a6-b966-11c13608fdb0) ==> -1 (Operation not permitted) [2012-04-04 16:42:30.181413] I [server3_1-fops.c:479:server_rmdir_cbk] 0-nfs-multi-client-server: 244095: RMDIR /fstest_16a3ab88dded9d46969f15d8f6975c69/fstest_3e739d5cd2b1cc1dc1ff43d0b7936144/fstest_dfff3af553478c613b66797b442b9736 (4fd467aa-e698-4472-b318-1e18e13bf2c6) ==> -1 (Permission denied) [2012-04-04 16:42:30.350233] W [inode.c:175:__foreach_ancestor_dentry] 0-nfs-multi-client-server: per dentry fn returned 1 [2012-04-04 16:42:30.350298] C [inode.c:227:__is_dentry_cyclic] 0-/scratch/inode: detected cyclic loop formation during inode linkage. inode (f444c9d8-a628-4300-8354-c3b32e169f7c) linking under itself as .. [2012-04-04 16:42:30.350460] W [inode.c:874:inode_lookup] (-->/opt/glusterfs/3.3.0qa33/lib/glusterfs/3.3.0qa33/xlator/features/marker.so(marker_lookup_cbk+0xfc) [0x2aaaab7416ec] (-->/opt/glusterfs/3.3.0qa33/lib/glusterfs/3.3.0qa33/xlator/debug/io-stats.so(io_stats_lookup_cbk+0xfe) [0x2aaaab95ea1e] (-->/opt/glusterfs/3.3.0qa33/lib/glusterfs/3.3.0qa33/xlator/protocol/server.so(server_lookup_cbk+0x959) [0x2aaaabb908b9]))) 0-nfs-multi-client-server: inode not found [2012-04-04 16:42:30.351084] W [inode.c:175:__foreach_ancestor_dentry] 0-nfs-multi-client-server: per dentry fn returned 1 [2012-04-04 16:42:30.351108] C [inode.c:227:__is_dentry_cyclic] 0-/scratch/inode: detected cyclic loop formation during inode linkage. inode (f444c9d8-a628-4300-8354-c3b32e169f7c) linking under itself as .. [2012-04-04 16:42:30.351156] W [inode.c:874:inode_lookup] (-->/opt/glusterfs/3.3.0qa33/lib/glusterfs/3.3.0qa33/xlator/features/marker.so(marker_lookup_cbk+0xfc) [0x2aaaab7416ec] (-->/opt/glusterfs/3.3.0qa33/lib/glusterfs/3.3.0qa33/xlator/debug/io-stats.so(io_stats_lookup_cbk+0xfe) [0x2aaaab95ea1e] (-->/opt/glusterfs/3.3.0qa33/lib/glusterfs/3.3.0qa33/xlator/protocol/server.so(server_lookup_cbk+0x959) [0x2aaaabb908b9]))) 0-nfs-multi-client-server: inode not found
mostly same fix as that of bug 810828
should be fixed by the fix to 810828. Keeping the bug open till QA verifies. Removing target milestone.
Moving it to ON_QA, please verify.
No MacOS X machine around. Will try to get one to test this out.
Moving the bug to MODIFIED, no MAC machines yet. (Low priority as of now).