From: xie xingguo Date: Sat, 25 Jun 2016 00:43:04 +0000 (+0800) Subject: os/bluestore: update comment X-Git-Tag: v11.0.0~40^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b5695cdc526d8459cff1d82f7733c78493aed1ac;p=ceph.git os/bluestore: update comment We have decreased the default concurrent scans to 1, so the comment is misleading. Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BitAllocator.cc b/src/os/bluestore/BitAllocator.cc index 00e7cdaccf75..e99e99fa011b 100644 --- a/src/os/bluestore/BitAllocator.cc +++ b/src/os/bluestore/BitAllocator.cc @@ -1393,7 +1393,7 @@ int64_t BitAllocator::alloc_blocks_res(int64_t num_blocks, int64_t *start_block) if (!allocated) { /* - * Could not find anything in two scans. + * Could not find anything in concurrent scan. * Go in serial manner. */ serial_unlock(); @@ -1448,7 +1448,7 @@ int64_t BitAllocator::alloc_blocks(int64_t num_blocks, int64_t *start_block) if (!allocated) { /* - * Could not find anything in two scans. + * Could not find anything in concurrent scan. * Go in serial manner. */ serial_unlock(); @@ -1551,7 +1551,7 @@ int64_t BitAllocator::alloc_blocks_dis(int64_t num_blocks, int64_t *block_list) if (allocated < num_blocks) { /* - * Could not find anything in two scans. + * Could not find anything in concurrent scan. * Go in serial manner to get something for sure * if available. */