Skip to content

Commit

Permalink
[SCSI] sd: Switch kernel printing level for DIF messages
Browse files Browse the repository at this point in the history
For some reason these messages ended up being printed with KERN_INFO
rendering them invisible to pretty much everyone.  Switch to
KERN_NOTICE.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
  • Loading branch information
Martin K. Petersen authored and James Bottomley committed Oct 13, 2008
1 parent 9e06688 commit cbdc144
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/scsi/sd_dif.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,10 @@ void sd_dif_config_host(struct scsi_disk *sdkp)

if (type) {
if (dif)
sd_printk(KERN_INFO, sdkp,
sd_printk(KERN_NOTICE, sdkp,
"Enabling DIF Type %d protection\n", type);
else
sd_printk(KERN_INFO, sdkp,
sd_printk(KERN_NOTICE, sdkp,
"Disabling DIF Type %d protection\n", type);
}

Expand All @@ -344,7 +344,7 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
else
blk_integrity_register(disk, &dif_type1_integrity_crc);

sd_printk(KERN_INFO, sdkp,
sd_printk(KERN_NOTICE, sdkp,
"Enabling DIX %s protection\n", disk->integrity->name);

/* Signal to block layer that we support sector tagging */
Expand All @@ -354,7 +354,7 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
else
disk->integrity->tag_size = sizeof(u16);

sd_printk(KERN_INFO, sdkp, "DIF application tag size %u\n",
sd_printk(KERN_NOTICE, sdkp, "DIF application tag size %u\n",
disk->integrity->tag_size);
}
}
Expand Down

0 comments on commit cbdc144

Please sign in to comment.