]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore/KernelDevice: fix comments 15264/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 24 May 2017 02:45:29 +0000 (10:45 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 24 May 2017 09:15:18 +0000 (17:15 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/KernelDevice.cc

index 284f21c76192cf305380acb59fb2222240dc7eb7..81d6f82bb9e5d79d91518de1b733c27f40fb07a9 100644 (file)
@@ -263,7 +263,7 @@ int KernelDevice::collect_metadata(string prefix, map<string,string> *pm) const
 
 int KernelDevice::flush()
 {
-  // protect flush with a mutex.  not that we are not really protected
+  // protect flush with a mutex.  note that we are not really protecting
   // data here.  instead, we're ensuring that if any flush() caller
   // sees that io_since_flush is true, they block any racing callers
   // until the flush is observed.  that allows racing threads to be