From: xie xingguo Date: Thu, 13 Oct 2016 03:19:18 +0000 (+0800) Subject: os/bluestore: fix tips when adding buffer to cache X-Git-Tag: v11.1.0~650^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c701dd61f49c860de433f3274b4155bf523a887e;p=ceph.git os/bluestore: fix tips when adding buffer to cache Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index d534aa16cdb5..da254bbf0e10 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -604,7 +604,7 @@ void BlueStore::TwoQCache::_add_buffer(Buffer *b, int level, Buffer *near) { dout(20) << __func__ << " level " << level << " near " << near << " on " << *b - << " which has level " << b->cache_private << dendl; + << " which has cache_private " << b->cache_private << dendl; if (near) { b->cache_private = near->cache_private; switch (b->cache_private) { @@ -642,7 +642,7 @@ void BlueStore::TwoQCache::_add_buffer(Buffer *b, int level, Buffer *near) b->cache_private = BUFFER_HOT; // move to hot. fall-thru case BUFFER_HOT: - dout(20) << __func__ << " move to hot " << *b << dendl; + dout(20) << __func__ << " move to front of hot " << *b << dendl; buffer_hot.push_front(*b); break; default: