]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
blk/KernelDevice: Modify the rotational and discard check log message 47774/head
authorVikhyat Umrao <vikhyat@redhat.com>
Tue, 23 Aug 2022 23:36:38 +0000 (16:36 -0700)
committerVikhyat Umrao <vikhyat@redhat.com>
Tue, 23 Aug 2022 23:36:38 +0000 (16:36 -0700)
Fixes: https://tracker.ceph.com/issues/57271
Signed-off-by: Vikhyat Umrao <vikhyat@redhat.com>
src/blk/kernel/KernelDevice.cc

index ddba9473f59ece70e6a40cf0ada65ddb1303df83..687aff06c6d66cef2e91794895c3d5f238c682de 100644 (file)
@@ -266,7 +266,7 @@ int KernelDevice::open(const string& p)
          << byte_u_t(size) << ")"
          << " block_size " << block_size
          << " (" << byte_u_t(block_size) << ")"
-         << " " << (rotational ? "rotational" : "non-rotational")
+         << " " << (rotational ? "rotational device," : "non-rotational device,")
       << " discard " << (support_discard ? "supported" : "not supported")
          << dendl;
   return 0;