All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] iscsi: fix readcapacity error message
@ 2015-12-15  3:33 Zhu Lingshan
  2015-12-15 20:20   ` [Qemu-devel] " John Snow
  0 siblings, 1 reply; 6+ messages in thread
From: Zhu Lingshan @ 2015-12-15  3:33 UTC (permalink / raw)
  To: qemu-block; +Cc: pbonzini, pl, qemu-devel, ronniesahlberg, Zhu Lingshan

fix:The error message for readcapacity 16 incorrectly mentioned
a readcapacity 10 failure, fixed the error message.

Signed-off-by: Zhu Lingshan <lszhu@suse.com>
---
 block/iscsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/iscsi.c b/block/iscsi.c
index bd1f1bf..eb28ddc 100644
--- a/block/iscsi.c
+++ b/block/iscsi.c
@@ -1270,7 +1270,7 @@ static void iscsi_readcapacity_sync(IscsiLun *iscsilun, Error **errp)
              && retries-- > 0);
 
     if (task == NULL || task->status != SCSI_STATUS_GOOD) {
-        error_setg(errp, "iSCSI: failed to send readcapacity10 command.");
+        error_setg(errp, "iSCSI: failed to send readcapacity10/16 command");
     } else if (!iscsilun->block_size ||
                iscsilun->block_size % BDRV_SECTOR_SIZE) {
         error_setg(errp, "iSCSI: the target returned an invalid "
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [Qemu-trivial] [PATCH] iscsi: fix readcapacity error message
@ 2015-12-16  4:40 Zhu Lingshan
  2015-12-17 17:06 ` [Qemu-trivial] [Qemu-block] " John Snow
  0 siblings, 1 reply; 6+ messages in thread
From: Zhu Lingshan @ 2015-12-16  4:40 UTC (permalink / raw)
  To: qemu-block
  Cc: Zhu Lingshan, qemu-trivial, pl, qemu-devel, ronniesahlberg,
	pbonzini

fix:The error message for readcapacity 16 incorrectly mentioned
a readcapacity 10 failure, fixed the error message.

Signed-off-by: Zhu Lingshan <lszhu@suse.com>
---
 block/iscsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/iscsi.c b/block/iscsi.c
index bd1f1bf..eb28ddc 100644
--- a/block/iscsi.c
+++ b/block/iscsi.c
@@ -1270,7 +1270,7 @@ static void iscsi_readcapacity_sync(IscsiLun *iscsilun, Error **errp)
              && retries-- > 0);
 
     if (task == NULL || task->status != SCSI_STATUS_GOOD) {
-        error_setg(errp, "iSCSI: failed to send readcapacity10 command.");
+        error_setg(errp, "iSCSI: failed to send readcapacity10/16 command");
     } else if (!iscsilun->block_size ||
                iscsilun->block_size % BDRV_SECTOR_SIZE) {
         error_setg(errp, "iSCSI: the target returned an invalid "
-- 
2.6.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-17 17:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15  3:33 [Qemu-devel] [PATCH] iscsi: fix readcapacity error message Zhu Lingshan
2015-12-15 20:20 ` [Qemu-trivial] [Qemu-block] " John Snow
2015-12-15 20:20   ` [Qemu-devel] " John Snow
2015-12-16  4:41   ` [Qemu-trivial] " Zhu Lingshan
2015-12-16  4:41     ` [Qemu-devel] " Zhu Lingshan
  -- strict thread matches above, loose matches on Subject: below --
2015-12-16  4:40 [Qemu-trivial] " Zhu Lingshan
2015-12-17 17:06 ` [Qemu-trivial] [Qemu-block] " John Snow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.