Project

General

Profile

Actions

Bug #9009

closed

(wip-objecter) ObjectCacher assert in fs client

Added by John Spray over 9 years ago. Updated over 9 years ago.

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

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

From branch wip-mds-contexts, which is a derivative of wip-objecter.

http://qa-proxy.ceph.com/teuthology/john-2014-08-01_11:08:16-fs-wip-mds-contexts-testing-basic-plana/392486/teuthology.log

2014-08-02T06:32:53.096 INFO:teuthology.task.workunit.client.0.plana82.stdout:[ RUN      ] LibCephFS.MulticlientSimple
2014-08-02T06:32:53.313 INFO:teuthology.task.workunit.client.0.plana82.stderr:osdc/ObjectCacher.cc: In function 'bool ObjectCacher::set_is_empty(ObjectCacher::ObjectSet*)' thread 7f29a03f4700 time 2014-08-02 06:32:53.310396
2014-08-02T06:32:53.313 INFO:teuthology.task.workunit.client.0.plana82.stderr:osdc/ObjectCacher.cc: 1493: FAILED assert(lock.is_locked())
2014-08-02T06:32:53.313 INFO:teuthology.task.workunit.client.0.plana82.stderr: ceph version 0.83-476-g535903e (535903e4caf5000bef9424e28ae646e5d8b590a7)
2014-08-02T06:32:53.313 INFO:teuthology.task.workunit.client.0.plana82.stderr: 1: (()+0x1fc3fd) [0x7f29ca6d23fd]
2014-08-02T06:32:53.314 INFO:teuthology.task.workunit.client.0.plana82.stderr: 2: (Client::get_caps_used(Inode*)+0x54) [0x7f29ca64a7b4]
2014-08-02T06:32:53.314 INFO:teuthology.task.workunit.client.0.plana82.stderr: 3: (Client::check_caps(Inode*, bool)+0x30) [0x7f29ca662a90]
2014-08-02T06:32:53.314 INFO:teuthology.task.workunit.client.0.plana82.stderr: 4: (Client::put_cap_ref(Inode*, int)+0x44d) [0x7f29ca6668cd]
2014-08-02T06:32:53.314 INFO:teuthology.task.workunit.client.0.plana82.stderr: 5: (Client::sync_write_commit(Inode*)+0x4c) [0x7f29ca66695c]
2014-08-02T06:32:53.314 INFO:teuthology.task.workunit.client.0.plana82.stderr: 6: (Context::complete(int)+0x9) [0x7f29ca69d8d9]
2014-08-02T06:32:53.314 INFO:teuthology.task.workunit.client.0.plana82.stderr: 7: (Objecter::handle_osd_op_reply(MOSDOpReply*)+0x12dc) [0x7f29ca6fbe3c]
2014-08-02T06:32:53.314 INFO:teuthology.task.workunit.client.0.plana82.stderr: 8: (Objecter::ms_dispatch(Message*)+0x211) [0x7f29ca705ee1]
2014-08-02T06:32:53.314 INFO:teuthology.task.workunit.client.0.plana82.stderr: 9: (DispatchQueue::fast_dispatch(Message*)+0x59) [0x7f29ca855bd9]
2014-08-02T06:32:53.315 INFO:teuthology.task.workunit.client.0.plana82.stderr: 10: (Pipe::reader()+0x25cb) [0x7f29ca8bb39b]
2014-08-02T06:32:53.315 INFO:teuthology.task.workunit.client.0.plana82.stderr: 11: (Pipe::Reader::entry()+0xd) [0x7f29ca8be00d]
2014-08-02T06:32:53.315 INFO:teuthology.task.workunit.client.0.plana82.stderr: 12: (()+0x7e9a) [0x7f29ca2c0e9a]
2014-08-02T06:32:53.315 INFO:teuthology.task.workunit.client.0.plana82.stderr: 13: (clone()+0x6d) [0x7f29c9ad7ccd]
2014-08-02T06:32:53.315 INFO:teuthology.task.workunit.client.0.plana82.stderr: NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
2014-08-02T06:32:53.315 INFO:teuthology.task.workunit.client.0.plana82.stderr:terminate called after throwing an instance of 'ceph::FailedAssertion'
Actions #1

Updated by John Spray over 9 years ago

  • Status changed from New to In Progress
  • Assignee set to John Spray

OK, no big deal, just that there are contexts in the Client, like the MDS, which need updating to take client_lock when they're called back. At least ones that are onsafe callbacks from filer-> operations (i.e. I/O that does not flow via objectcacher which handles locking for us)

Actions #2

Updated by John Spray over 9 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF