Bug #43410
closedmds:When the directory level is above 3000, the following assertions will appear
0%
Description
When I use the script to continuously create directories,
but the directory level is above 3000, the following assertions appear:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffeb5a5700 (LWP 118867)] 0x0000555555a6ffb6 in CInode::adjust_nested_auth_pins (this=0x55555ef66300, a=a@entry=1, by=by@entry=0x55555fdc2300) at /usr/src/debug/ceph-12.2.9-2-59-g1608bbd/src/mds/CInode.cc:2462 2462 dout(35) << "adjust_nested_auth_pins by " << by
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffeb139700 (LWP 1622410)] ratelimit_check (s=0x5555563e9b50 <CInode::adjust_nested_auth_pins(int, void*)::__rs>) at /usr/src/debug/ceph-12.2.9-2-59-g1608bbd/src/common/ratelimit.h:50 50 auto now = std::chrono::steady_clock::now();
Updated by huanwen ren over 4 years ago
I don't see any exceptions in the log print
@Patrick Donnelly
@Zheng Yan
Updated by Zheng Yan over 4 years ago
mds call FOO::adjust_nested_auth_pins functions for each directory level, which caused stack overflow. mimic and later mds do not have this issue, because they do not track nested auth pins,
Updated by huanwen ren over 4 years ago
Zheng Yan wrote:
full calltrace ?
I use gdb for mounting, this information is complete
Updated by huanwen ren over 4 years ago
Zheng Yan wrote:
mds call FOO::adjust_nested_auth_pins functions for each directory level, which caused stack overflow. mimic and later mds do not have this issue, because they do not track nested auth pins,
Thanks for your reply
Currently we will restrict the creation of directory hierarchies