From 8f30152c01c147a63bedde9f2311acb104c56397 Mon Sep 17 00:00:00 2001 From: Pzqqt <821026875@qq.com> Date: Sun, 30 Jul 2023 23:10:57 +0800 Subject: [PATCH] drivers: scsi: Reduce logspam --- drivers/scsi/sd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index e43a272f4..16d0cff52 100755 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -3654,7 +3654,7 @@ static void sd_shutdown(struct device *dev) return; if (sdkp->WCE && sdkp->media_present) { - sd_printk(KERN_NOTICE, sdkp, "Synchronizing SCSI cache\n"); + // sd_printk(KERN_NOTICE, sdkp, "Synchronizing SCSI cache\n"); sd_sync_cache(sdkp, NULL); } @@ -3674,7 +3674,7 @@ static int sd_suspend_common(struct device *dev, bool ignore_stop_errors) return 0; if (sdkp->WCE && sdkp->media_present) { - sd_printk(KERN_NOTICE, sdkp, "Synchronizing SCSI cache\n"); + // sd_printk(KERN_NOTICE, sdkp, "Synchronizing SCSI cache\n"); ret = sd_sync_cache(sdkp, &sshdr); if (ret) {