From: xie xingguo Date: Wed, 24 May 2017 02:45:29 +0000 (+0800) Subject: os/bluestore/KernelDevice: fix comments X-Git-Tag: v12.1.1~65^2~22^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F15264%2Fhead;p=ceph.git os/bluestore/KernelDevice: fix comments Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/KernelDevice.cc b/src/os/bluestore/KernelDevice.cc index 284f21c76192..81d6f82bb9e5 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