]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
scsi: scsi_transport_iscsi: modify detected conn err to KERN_ERR
authorFred Herard <fred.herard@oracle.com>
Thu, 14 Mar 2019 15:50:16 +0000 (11:50 -0400)
committerBrian Maly <brian.maly@oracle.com>
Thu, 21 Mar 2019 20:44:18 +0000 (16:44 -0400)
Fix for Orabug 29469714 is insufficient.  The goal of fix for
Orabug 29469714 is to print "detected conn error" message
produced by scsi_transport_iscsi module onto console which is
particularly useful when iscsi boot device is used and there
are connection issues.  The fix for Orabug 29469714 falls short
because currently, the default console log level in OL is 4
which means that only log levels less than 4 (KERN_WARNING) will
be printed to console.  This commit modifies the corresponding
printk log level to KERN_ERR (log level 3).

Orabug: 29487790
Signed-off-by: Fred Herard <fred.herard@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/scsi_transport_iscsi.c

index 5f92d22551af7da78308f735db3678b6913e46fe..4a0e2fb9f4de6d7c1946c34481042557a62e17c0 100644 (file)
@@ -2463,7 +2463,7 @@ void iscsi_conn_error_event(struct iscsi_cls_conn *conn, enum iscsi_err error)
 
        iscsi_multicast_skb(skb, ISCSI_NL_GRP_ISCSID, GFP_ATOMIC);
 
-       iscsi_cls_conn_printk(KERN_WARNING, conn, "detected conn error (%d)\n",
+       iscsi_cls_conn_printk(KERN_ERR, conn, "detected conn error (%d)\n",
                              error);
 }
 EXPORT_SYMBOL_GPL(iscsi_conn_error_event);