On Wed, 2018-09-26 at 01:04 +0530, Malahal Naineni wrote:
Why would this hang?
(gdb) thread 36
[Switching to thread 36 (Thread 0x7ff5e593e700 (LWP 15778))]
#0 0x00007ff5eac0d74d in open_by_handle_at () at ../sysdeps/unix/syscall-template.S:81
81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
(gdb) bt
#0 0x00007ff5eac0d74d in open_by_handle_at () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007ff5e635eed6 in vfs_open_by_handle (vfs_fs=0x2146600, fh=0x7ff5c0002800,
openflags=65536, fsal_error=0x7ff5e5939e8c) at
/usr/src/debug/nfs-ganesha-2.7.0.1/FSAL/FSAL_VFS/os/linux/handle_syscalls.c:315
#2 0x00007ff5e634f417 in vfs_fsal_open (hdl=0x7ff5c00026f0, openflags=65536,
fsal_error=0x7ff5e5939e8c) at
/usr/src/debug/nfs-ganesha-2.7.0.1/FSAL/FSAL_VFS/handle.c:63
#3 0x00007ff5e635d29e in vfs_get_fs_locations (hdl=0x7ff5c00026f0,
attrs_out=0x7ff5e593c140) at
/usr/src/debug/nfs-ganesha-2.7.0.1/FSAL/FSAL_VFS/subfsal_helpers.c:57
#4 0x00007ff5e635d890 in vfs_sub_getattrs (vfs_hdl=0x7ff5c00026f0, fd=45,
request_mask=9223372036864597966, attrib=0x7ff5e593c140) at
/usr/src/debug/nfs-ganesha-2.7.0.1/FSAL/FSAL_VFS/vfs/attrs.c:136
#5 0x00007ff5e6355d65 in fetch_attrs (myself=0x7ff5c00026f0, my_fd=45,
attrs=0x7ff5e593c140) at /usr/src/debug/nfs-ganesha-2.7.0.1/FSAL/FSAL_VFS/file.c:344
#6 0x00007ff5e635a853 in vfs_getattr2 (obj_hdl=0x7ff5c00026f0, attrs=0x7ff5e593c140) at
/usr/src/debug/nfs-ganesha-2.7.0.1/FSAL/FSAL_VFS/file.c:1730
#7 0x0000000000544141 in mdcache_refresh_attrs (entry=0x7ff5c0002850, need_acl=true,
need_fslocations=true, invalidate=true) at
/usr/src/debug/nfs-ganesha-2.7.0.1/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c:832
#8 0x000000000054480c in mdcache_getattrs (obj_hdl=0x7ff5c0002888,
attrs_out=0x7ff5e593c440) at
/usr/src/debug/nfs-ganesha-2.7.0.1/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c:899
#9 0x0000000000490591 in file_To_Fattr (data=0x7ff5e593cdf0, request_mask=9822190,
attr=0x7ff5e593c440, Fattr=0x7ff5b8043330, Bitmap=0x7ff5b8036398) at
/usr/src/debug/nfs-ganesha-2.7.0.1/Protocols/NFS/nfs_proto_tools.c:3490
#10 0x0000000000467de6 in nfs4_op_getattr (op=0x7ff5b8036390, data=0x7ff5e593cdf0,
resp=0x7ff5b8043320) at
/usr/src/debug/nfs-ganesha-2.7.0.1/Protocols/NFS/nfs4_op_getattr.c:108
_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
It looks like it's stuck in the kernel. Figure out what pid that thread
is, and then run:
# cat /proc/<pid>/stack
That may give you an idea of what it's doing.
--
Jeff Layton <jlayton(a)redhat.com>