From ba3d6b48e1fe007ada5e67564322af1879ad4db0 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Wed, 24 May 2017 10:45:29 +0800 Subject: [PATCH] os/bluestore/KernelDevice: fix comments Signed-off-by: xie xingguo --- src/os/bluestore/KernelDevice.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/KernelDevice.cc b/src/os/bluestore/KernelDevice.cc index 284f21c76192c..81d6f82bb9e5d 100644 --- a/src/os/bluestore/KernelDevice.cc +++ b/src/os/bluestore/KernelDevice.cc @@ -263,7 +263,7 @@ int KernelDevice::collect_metadata(string prefix, map *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 -- 2.39.5