RE: [PATCH] megaraid_sas: make the log message about rescanning more informative.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>-----Original Message-----
>From: Jasper Spaans [mailto:spaans@xxxxxxxxxx]
>Sent: Friday, October 25, 2013 5:53 PM
>To: DL-MegaRAID Linux
>Cc: linux-scsi@xxxxxxxxxxxxxxx
>Subject: [PATCH] megaraid_sas: make the log message about rescanning
>more informative.
>
>Hi,
>
>I was working on one of our servers, and saw the following interesting
>message in dmesg:
>
>[20961024.720972] scanning ...
>
>This scared me somewhat. Please find a patch to make it easier to see where
>this message is coming from.
>
>Cheers,
>Jasper
>
>---
> drivers/scsi/megaraid/megaraid_sas_base.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
>b/drivers/scsi/megaraid/megaraid_sas_base.c
>index 1f0ca68..3457289 100644
>--- a/drivers/scsi/megaraid/megaraid_sas_base.c
>+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
>@@ -5461,7 +5461,7 @@ megasas_aen_polling(struct work_struct *work)
> 	}
>
> 	if (doscan) {
>-		printk(KERN_INFO "scanning ...\n");
>+		printk(KERN_INFO "Rescanning MegaRAID devices ...\n");
> 		megasas_get_pd_list(instance);
> 		for (i = 0; i < MEGASAS_MAX_PD_CHANNELS; i++) {
> 			for (j = 0; j < MEGASAS_MAX_DEV_PER_CHANNEL;
>j++) {
>--
>1.7.9.5
Acked-by: Sumit Saxena <sumit.saxena@xxxxxxx>

Sumit
>
>
>--
> /\____/\   ir. Jasper Spaans // Lead Developer www.FoxDetACT.com
> \   (_)/   Fox-IT - For a more secure society!
>  \    X    T: +31-15-2847999
>   \  / \   M: +31-6-41588725
>    \/      KvK Haaglanden 27301624

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux