Project

General

Profile

Actions

Bug #43410

closed

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

Added by huanwen ren over 4 years ago. Updated over 4 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();
Actions #1

Updated by huanwen ren over 4 years ago

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

Actions #2

Updated by Zheng Yan over 4 years ago

full calltrace ?

Actions #3

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,

Actions #4

Updated by huanwen ren over 4 years ago

Zheng Yan wrote:

full calltrace ?

I use gdb for mounting, this information is complete

Actions #5

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

Actions #6

Updated by Zheng Yan over 4 years ago

  • Status changed from New to Won't Fix
Actions

Also available in: Atom PDF