From: Vikhyat Umrao Date: Tue, 23 Aug 2022 23:36:38 +0000 (-0700) Subject: blk/KernelDevice: Modify the rotational and discard check log message X-Git-Tag: v18.0.0~11^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=63ca5cf133e6fe56a09accc48bc60678b6a85bb7;p=ceph.git blk/KernelDevice: Modify the rotational and discard check log message Fixes: https://tracker.ceph.com/issues/57271 Signed-off-by: Vikhyat Umrao --- diff --git a/src/blk/kernel/KernelDevice.cc b/src/blk/kernel/KernelDevice.cc index ddba9473f59e..687aff06c6d6 100644 --- a/src/blk/kernel/KernelDevice.cc +++ b/src/blk/kernel/KernelDevice.cc @@ -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;