[stgt] bs_rdwr_request
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Mon Aug 27 02:18:19 CEST 2012
Sorry for the delay,
On Sat, 25 Aug 2012 11:49:14 +0200
frederik.vos at linvirt.nl wrote:
> I tested also version 1.0.28: no problem
> version 1.0.29: no problem
> version 1.0.30: there is the problem
Thanks a lot for tracking the cause!
Seems like that the compare_and_write command support doesn't work
(added in 1.0.30).
Can you try the following patch?
diff --git a/usr/sbc.c b/usr/sbc.c
index 0f99f18..c059c37 100644
--- a/usr/sbc.c
+++ b/usr/sbc.c
@@ -842,7 +842,8 @@ static struct device_type_template sbc_template = {
{spc_illegal_op,},
{sbc_rw, NULL, PR_EA_FA|PR_EA_FN},
- {sbc_rw, NULL, PR_EA_FA|PR_EA_FN},
+ /* {sbc_rw, NULL, PR_EA_FA|PR_EA_FN}, */
+ {spc_illegal_op,},
{sbc_rw, NULL, PR_WE_FA|PR_EA_FA|PR_WE_FN|PR_EA_FN},
{sbc_rw, NULL, PR_EA_FA|PR_EA_FN},
{spc_illegal_op,},
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list