]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: update comment
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 25 Jun 2016 00:43:04 +0000 (08:43 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 25 Jun 2016 02:20:26 +0000 (10:20 +0800)
We have decreased the default concurrent scans to 1,
so the comment is misleading.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BitAllocator.cc

index 00e7cdaccf75bb3bb34c27d0d176be6030668438..e99e99fa011bba91dfe3539df48b0226bf58b6f7 100644 (file)
@@ -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.
      */