mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
1d72d1888a
We were dropping gather state on the floor, which resulted in general confusion and errors like this 10.03.16 14:17:17.622280 mds0.locker handle_simple_lock lock(a=lockack dn 1000000019c/NEWS1_1B.PRN snap head) on (dn xlock x=1 by 0x307c050) [dentry #1/clients/client2/~dmtmp/WORDPRO/NEWS1_1B.PRN [2,head] auth{1=1} (dn xlock x=1 by 0x307c050) v=90 inode=0x7f2fe90a7980 | nref=5 0x7f2fe0349b80] mds/Locker.cc: In function 'void Locker::handle_simple_lock(SimpleLock*, MLock*)': mds/Locker.cc:2424: FAILED assert(lock->get_state() == 7 || lock->get_state() == 12) 1: (Locker::handle_simple_lock(SimpleLock*, MLock*)+0x374) [0x8607bc] 2: (Locker::handle_lock(MLock*)+0x18b) [0x861b91] 3: (Locker::dispatch(Message*)+0x41) [0x86470b] 4: (MDS::_dispatch(Message*)+0x1b42) [0x72ce68] 5: (MDS::ms_dispatch(Message*)+0x2f) [0x72e1e9] 6: (Messenger::ms_deliver_dispatch(Message*)+0x55) [0x72086b] 7: (SimpleMessenger::dispatch_entry()+0x4f4) [0x70d50e] 8: (SimpleMessenger::DispatchThread::entry()+0x29) [0x7095bd] 9: (Thread::_entry_func(void*)+0x20) [0x71a9e1] 10: /lib/libpthread.so.0 [0x7f2fe8d6573a] 11: (clone()+0x6d) [0x7f2fe7f906dd] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. |
||
---|---|---|
.. | ||
active | ||
auth | ||
client | ||
common | ||
crush | ||
crush.old | ||
doc | ||
ebofs | ||
include | ||
jobs | ||
mds | ||
messages | ||
mon | ||
mount | ||
msg | ||
objclass | ||
os | ||
osbdb | ||
osd | ||
osdc | ||
rgw | ||
script | ||
test | ||
.gitignore | ||
barclass.cc | ||
cauthtool.cc | ||
cconf.cc | ||
ceph_common.sh | ||
ceph_ver.c | ||
ceph.cc | ||
ceph.conf.twoosds | ||
cfuse.cc | ||
cls_acl.cc | ||
cls_crypto.cc | ||
cm.txt | ||
cmds.cc | ||
cmon.cc | ||
cmonctl | ||
config.cc | ||
config.h | ||
cosd.cc | ||
crun | ||
crushtool.cc | ||
csyn.cc | ||
dumpjournal.cc | ||
dupstore.cc | ||
extractosdmaps.cc | ||
fakefuse.cc | ||
fakesyn.cc | ||
fooclass.cc | ||
init-ceph.in | ||
libceph.cc | ||
librados.cc | ||
loadclass.sh | ||
make_version | ||
Makefile.am | ||
Makefile.old | ||
Makefile.orig | ||
mkcephfs.in | ||
mkmonfs.cc | ||
monmaptool.cc | ||
osdmaptool.cc | ||
psim.cc | ||
push_to_kclient.pl | ||
rados.cc | ||
radosacl.cc | ||
README | ||
sample.ceph.conf | ||
stop.sh | ||
streamtest.cc | ||
test_trans.cc | ||
testclass.cc | ||
testcrypto.cc | ||
testkeys.cc | ||
testmsgr.cc | ||
testrados.c | ||
testradospp.cc | ||
TODO | ||
valgrind.supp | ||
verify-mds-journal.sh | ||
vstart.sh |
A few helper scripts: mkcephfs.sh -- initialize a new, empty ceph filesystem (by creating a fresh monfs) mkfs.sh -- same, but also initialize empty object stores. assumes all osds are on the same node, with dev/osd# for storage. stop.sh -- stop/kill all daemons. restart.sh -- stop everything, then restart everything. (does not mkfs.) startnew.sh -- stop everything, initialize new ceph fs, and start it. assumes everything is on one node. for ease of testing.