Skip to content

Commit

Permalink
os/bluestore: using is_spanning() for spanning checking
Browse files Browse the repository at this point in the history
Otherwise is_spanning() has no caller and shall be deleted.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
  • Loading branch information
xiexingguo committed Sep 10, 2016
1 parent 1ab12fa commit 1600d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/bluestore/BlueStore.cc
Expand Up @@ -1219,7 +1219,7 @@ BlueStore::SharedBlobRef BlueStore::SharedBlobSet::lookup(uint64_t sbid)
ostream& operator<<(ostream& out, const BlueStore::Blob& b)
{
out << "Blob(" << &b;
if (b.id >= 0) {
if (b.is_spanning()) {
out << " spanning " << b.id;
}
out << " " << b.get_blob() << " " << b.ref_map
Expand Down

0 comments on commit 1600d6f

Please sign in to comment.