This patch is not for release, testing purpose only.
We need it in order to investigate #PSBM-54665

Signed-off-by: Dmitry Monakhov <dmonak...@openvz.org>

diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 287045b..7364d86 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -141,12 +141,13 @@ int scsi_host_set_state(struct Scsi_Host *shost, enum 
scsi_host_state state)
        return 0;
 
  illegal:
-       SCSI_LOG_ERROR_RECOVERY(1,
-                               shost_printk(KERN_ERR, shost,
-                                            "Illegal host state transition"
-                                            "%s->%s\n",
-                                            scsi_host_state_name(oldstate),
-                                            scsi_host_state_name(state)));
+       shost_printk(KERN_ERR, shost,
+                    "Illegal host state transition"
+                    "%s->%s\n",
+                    scsi_host_state_name(oldstate),
+                    scsi_host_state_name(state));
+       dump_stack();
+
        return -EINVAL;
 }
 EXPORT_SYMBOL(scsi_host_set_state);
-- 
2.7.4

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to