scsi: squash errlog for THIN_PROVISION INQUIRY page
It is perfectly valid for a bdev to not support the unmap command - there's no need to print an ERRLOG when a SCSI INQUIRY 0xB2 (LOGICAL BLOCK PROVISIONING) command is sent to query if the LUN supports it. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I18389df4d55a1ac186707d624ddea292a5470e80 Reviewed-on: https://review.gerrithub.io/c/442104 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
8827ee1ed2
commit
fbb1fc41f3
@ -644,7 +644,6 @@ spdk_bdev_scsi_inquiry(struct spdk_bdev *bdev, struct spdk_scsi_task *task,
|
||||
|
||||
case SPDK_SPC_VPD_BLOCK_THIN_PROVISION: {
|
||||
if (!spdk_bdev_io_type_supported(bdev, SPDK_BDEV_IO_TYPE_UNMAP)) {
|
||||
SPDK_ERRLOG("unsupported INQUIRY VPD page 0x%x\n", pc);
|
||||
goto inq_error;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user