[Gluster-devel] no dentry for non-root inode
Emmanuel Dreyfus
manu at netbsd.org
Sat Nov 5 08:22:23 UTC 2011
More info on my bug, with the backtrace leading there, just in case it
rings a bell
[2011-11-05 08:52:34.871623] W [inode.c:1044:inode_path]
0-/export/wd2e/inode: n
o dentry for non-root inode -5127100665673923735:
f25090c0-7cfd-4b3f-b8d8-e11bee
d64369
#3 0xbbbb26ef in inode_path (inode=0xb9a02a0c, name=0x0,
bufp=0xbfbfcdd8)
at inode.c:1046
#4 0xba1b7886 in resolve_loc_touchup (frame=0xbad00240)
at server-resolve.c:123
#5 0xba1b7ff9 in server_resolve_inode (frame=0xbad00240)
at server-resolve.c:510
#6 0xba1b7d94 in server_resolve (frame=0xbad00240) at
server-resolve.c:565
#7 0xba1b7e69 in server_resolve_all (frame=0xbad00240) at
server-resolve.c:628
#8 0xba1b7ebf in resolve_and_resume (frame=0xbad00240,
fn=0xba1c22c8 <server_inodelk_resume>) at server-resolve.c:651
#9 0xba1c58bd in server_inodelk (req=0xba55bd38) at
server3_1-fops.c:4422
#10 0xbbb8392c in rpcsvc_handle_rpc_call (svc=0xbb90e320,
trans=0xbb9f4c00,
msg=0xbb958340) at rpcsvc.c:480
#11 0xbbb83b74 in rpcsvc_notify (trans=0xbb9f4c00, mydata=0x0,
event=RPC_TRANSPORT_MSG_RECEIVED, data=0xbb958340) at rpcsvc.c:576
#12 0xbbb8487d in rpc_transport_notify (this=0x0,
event=RPC_TRANSPORT_MSG_RECEIVED, data=0xbb958340) at
rpc-transport.c:918
#13 0xbba57c6f in socket_event_poll_in (this=0xbb9f4c00) at
socket.c:1647
#14 0xbba57e3b in socket_event_handler (fd=13, idx=6, data=0xbb9f4c00,
poll_in=1, poll_out=0, poll_err=0) at socket.c:1762
---Type <return> to continue, or q <return> to quit---
#15 0xbbbc07f2 in event_dispatch_poll (event_pool=0xbb90e0e0) at
event.c:366
#16 0xbbbc0343 in event_dispatch (event_pool=0x0) at event.c:956
#17 0x0804cdc5 in main (argc=19, argv=0xbfbfe760) at glusterfsd.c:1508
(gdb) frame 4
#4 0xba1b7886 in resolve_loc_touchup (frame=0xbad00240)
at server-resolve.c:123
123 server-resolve.c: No such file or directory.
in server-resolve.c
(gdb) print loc
$1 = (loc_t *) 0xbb9f5410
(gdb) print *loc
$2 = {path = 0x0, name = 0x0, inode = 0xb9a02a0c, parent = 0x0,
gfid = '\0' <repeats 15 times>, pargfid = '\0' <repeats 15 times>, ino
= 0}
"("g"d"b")" "p"r"i"n"t" "*"l"o"c"-">"i"n"o"d"e"
"$"3" "=" "{"t"a"b"l"e" "=" "0"x"b"a"5"e"e"0"f"0"," "g"f"i"d" "="
"""Ú"P"\"2"2"0"¿"|"˝"K"?"∏"ÿ"·"\"0"3"3"Ó"÷"C"i"""," "l"o"c"k" "=" "{"
" " " " "p"t"s"_"m"a"g"i"c" "=" "2"0"0"4"2"8"7"4"9"5","
"p"t"s"_"s"p"i"n" "=" "0" "'"\"0"'"," "p"t"s"_"f"l"a"g"s" "=" "0"}","
"n"l"o"o"k"u"p" "=" "1"," "
" " "r"e"f" "=" "3"," "i"n"o" "="
"1"3"3"1"9"6"4"3"4"0"8"0"3"5"6"2"7"8"8"1"," "i"a"_"t"y"p"e" "="
"I"A"_"I"F"R"E"G"," "f"d"_"l"i"s"t" "=" "{"
" " " " "n"e"x"t" "=" "0"x"b"9"a"0"2"a"4"4"," "p"r"e"v" "="
"0"x"b"9"a"0"2"a"4"4"}"," "d"e"n"t"r"y"_"l"i"s"t" "=" "{"n"e"x"t" "="
"0"x"b"9"a"0"2"a"4"c"," "
" " " " "p"r"e"v" "=" "0"x"b"9"a"0"2"a"4"c"}"," "h"a"s"h" "="
"{"n"e"x"t" "=" "0"x"b"9"a"4"6"b"4"8"," "p"r"e"v" "="
"0"x"b"9"a"4"6"b"4"8"}"," "l"i"s"t" "=" "{"
" " " " "n"e"x"t" "=" "0"x"b"9"a"0"2"6"4"c"," "p"r"e"v" "="
"0"x"b"9"a"0"2"a"c"4"}"," "_"c"t"x" "=" "0"x"b"a"5"4"8"c"9"0"}
(gdb) x/4w &loc->inode->gfid
0xb9a02a10: 0xc09050f2 0x3f4bfd7c 0x1be1d8b8
0x6943d6ee
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org
More information about the Gluster-devel
mailing list