From: Alexander Nezhinsky <alexandern@xxxxxxxxxxxx>
Signed-off-by: Alexander Nezhinsky <alexandern@xxxxxxxxxxxx>
---
usr/target.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/usr/target.c b/usr/target.c
index dd3ca91..660cac6 100644
--- a/usr/target.c
+++ b/usr/target.c
@@ -735,6 +735,9 @@ tgtadm_err tgt_device_destroy(int tid, uint64_t lun, int force)
ret = ua_sense_add(itn_lu,
ASC_REPORTED_LUNS_DATA_HAS_CHANGED);
+ if (ret)
+ eprintf("fail to add ua %" PRIu64 " %" PRIu64 "\n",
+ lun, itn->itn_id);
}
}
--
1.7.9.6
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
- Prev by Date:
[PATCH 6/8] Fix "set but not used" warning in iser.c: comment out irdsl related lines; irdsl value is not used meanwhile, as we use a shortcut to cover up an initiator glitch
- Next by Date:
[PATCH 8/8] when using eventfd, each time the fd becomes readable, the number of io completions can be read; this number is provided as a 64-bit integer, thus enough space (at least 8 bytes) should be given to read(). This patch adds a comment which explicitely states the above requirement. The actual number of completions in bs_aio is limited by a very small value, thus when reading, a 64-bit variable should be used, then it can be casted to unsigned int and processed as such.
- Previous by thread:
[PATCH 6/8] Fix "set but not used" warning in iser.c: comment out irdsl related lines; irdsl value is not used meanwhile, as we use a shortcut to cover up an initiator glitch
- Next by thread:
[PATCH 8/8] when using eventfd, each time the fd becomes readable, the number of io completions can be read; this number is provided as a 64-bit integer, thus enough space (at least 8 bytes) should be given to read(). This patch adds a comment which explicitely states the above requirement. The actual number of completions in bs_aio is limited by a very small value, thus when reading, a 64-bit variable should be used, then it can be casted to unsigned int and processed as such.
- Index(es):
[Linux SCSI]
[Linux RAID]
[Linux Clusters]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[XFree86]
[Video Devices]