Project

General

Profile

Bug #43410

mds:When the directory level is above 3000, the following assertions will appear

Added by huanwen ren about 2 years ago. Updated about 2 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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();

History

#1 Updated by huanwen ren about 2 years ago

I don't see any exceptions in the log print
@Patrick Donnelly
@Zheng Yan

#2 Updated by Zheng Yan about 2 years ago

full calltrace ?

#3 Updated by Zheng Yan about 2 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,

#4 Updated by huanwen ren about 2 years ago

Zheng Yan wrote:

full calltrace ?

I use gdb for mounting, this information is complete

#5 Updated by huanwen ren about 2 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

#6 Updated by Zheng Yan about 2 years ago

  • Status changed from New to Won't Fix

Also available in: Atom PDF