]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
blk/KernelDevice: Modify the rotational and discard check log message 50323/head
authorVikhyat Umrao <vikhyat@redhat.com>
Tue, 23 Aug 2022 23:36:38 +0000 (16:36 -0700)
committerIgor Fedotov <igor.fedotov@croit.io>
Wed, 1 Mar 2023 10:42:12 +0000 (13:42 +0300)
Fixes: https://tracker.ceph.com/issues/57271
Signed-off-by: Vikhyat Umrao <vikhyat@redhat.com>
(cherry picked from commit 63ca5cf133e6fe56a09accc48bc60678b6a85bb7)

src/blk/kernel/KernelDevice.cc

index ee06af61e055f96f425af802a2a8c720d5558e68..a720c74b538d6f521898e47531f303b463ddac57 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;