MCPcopy Create free account
hub / github.com/ceph/ceph / dequeue

Method dequeue

src/mds/ScrubStack.cc:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void ScrubStack::dequeue(MDSCacheObject *obj)
64{
65 dout(20) << "dequeue " << *obj << " from ScrubStack" << dendl;
66 ceph_assert(obj->item_scrub.is_on_list());
67 obj->put(MDSCacheObject::PIN_SCRUBQUEUE);
68 obj->item_scrub.remove_myself();
69 stack_size--;
70}
71
72int ScrubStack::_enqueue(MDSCacheObject *obj, ScrubHeaderRef& header, bool top)
73{

Callers 9

nextFunction · 0.45
jquery.jsFile · 0.45
~NotBeforeTestMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
test_queueMethod · 0.45
TEST_FFunction · 0.45
entryMethod · 0.45

Calls 3

is_on_listMethod · 0.45
putMethod · 0.45
remove_myselfMethod · 0.45

Tested by 6

~NotBeforeTestMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
test_queueMethod · 0.36
TEST_FFunction · 0.36