Re: bs_rdwr_request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for the delay,

On Sat, 25 Aug 2012 11:49:14 +0200
frederik.vos@xxxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux