Print a message indicating that a disk is a drive-managed SMR model when such drive is found using the ZONED filed of the Block Device Characteristics VPD page (IDENTIFY data on ATA side). Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxx> --- drivers/scsi/sd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index a793cb08d025..8929e178c6f8 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -2955,6 +2955,9 @@ static void sd_read_block_characteristics(struct scsi_disk *sdkp) * with partitions as regular block devices. */ q->limits.zoned = BLK_ZONED_NONE; + if (sdkp->zoned == 2 && sdkp->first_scan) + sd_printk(KERN_NOTICE, sdkp, + "Drive-managed SMR disk\n"); } } if (blk_queue_is_zoned(q) && sdkp->first_scan) -- 2.25.4