Project

General

Profile

Actions

Bug #3486

closed

ceph-fuse, mds: admin socket lock cycle

Added by Sage Weil over 11 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

------------------------------------
existing dependency MDS::mds_lock (13) -> AdminSocket::m_lock (9) at:
 ceph version 0.53-807-ga11940f (a11940f56ae9a00f679c0b49136d4bbac28713c3)
 1: (Objecter::init()+0xaa) [0x6cf30a]
 2: (MDS::init(int)+0x1554) [0x4c9ac4]
 3: (main()+0xe13) [0x4a9243]
 4: (__libc_start_main()+0xed) [0x7f74b379c76d]
 5: /tmp/cephtest/binary/usr/local/bin/ceph-mds() [0x4ab315]

    -4> 2012-11-13 09:39:46.606618 7f74b255f700  0 new dependency AdminSocket::m_lock (9) -> MDS::mds_lock (13) creates a cycle at
 ceph version 0.53-807-ga11940f (a11940f56ae9a00f679c0b49136d4bbac28713c3)
 1: (AdminSocket::do_accept()+0x4a1) [0x783cc1]
 2: (AdminSocket::entry()+0x118) [0x785598]
 3: (()+0x7e9a) [0x7f74b52c5e9a]
 4: (clone()+0x6d) [0x7f74b386d4bd]

    -3> 2012-11-13 09:39:46.606633 7f74b255f700  0 btw, i am holding these locks:
    -2> 2012-11-13 09:39:46.606634 7f74b255f700  0   AdminSocket::m_lock (9)
    -1> 2012-11-13 09:39:46.606635 7f74b255f700  0 

     0> 2012-11-13 09:39:46.607754 7f74b255f700 -1 common/lockdep.cc: In function 'int lockdep_will_lock(const char*, int)' thread 7f74b255f700 time 2012-11-13 09:39:46.606649
common/lockdep.cc: 212: FAILED assert(0)

 ceph version 0.53-807-ga11940f (a11940f56ae9a00f679c0b49136d4bbac28713c3)
 1: (lockdep_will_lock(char const*, int)+0xdce) [0x7abc4e]
 2: (Mutex::Lock(bool)+0xfc) [0x75915c]
 3: (Objecter::RequestStateHook::call(std::string, std::string, ceph::buffer::list&)+0x228) [0x6c9e08]
 4: (AdminSocket::do_accept()+0x4a1) [0x783cc1]
 5: (AdminSocket::entry()+0x118) [0x785598]
 6: (()+0x7e9a) [0x7f74b52c5e9a]
 7: (clone()+0x6d) [0x7f74b386d4bd]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
Actions #1

Updated by Sage Weil over 11 years ago

  • Subject changed from mds: mds_lock and admin socket lock cycle to ceph-fuse, mds: admin socket lock cycle

same for ceph-fuse, probably other objecter->init() callers as well.

Actions #2

Updated by Sage Weil over 11 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Sage Weil over 11 years ago

  • Status changed from Fix Under Review to Resolved
Actions #4

Updated by John Spray over 7 years ago

  • Project changed from Ceph to CephFS
  • Category deleted (1)

Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.

Actions

Also available in: Atom PDF