Re: [PATCH 5/10] convert st to use scsi_execute_async

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

 



On Tue, 8 Nov 2005, Mike Christie wrote:

> convert st to always send scatterlists and kill scsi_request
> usage.
> 
> This is the same as last time as it was posted, but with Kai's patches
> merged and we now pass the bytes value to scsi_execute_async.
> 
This does not work "out of the box". The changes in st are almost the same 
ones than before but the world around st has changed ;-) This has revealed 
at least one bug in st that is fixed by the patch at the end of this 
message. After this patch some simple tests succeed but there seem to be 
still problems with larger requests. I don't have time to continue 
debugging just now but I should be able to post more results during this 
weekend.

Kai

--- linux-2.6.14-blk1/drivers/scsi/st.c.org	2005-11-09 22:36:56.000000000 +0200
+++ linux-2.6.14-blk1/drivers/scsi/st.c	2005-11-12 17:59:22.000000000 +0200
@@ -3666,6 +3666,7 @@
 	}
 	STbuffer->frp_segs = STbuffer->orig_frp_segs;
 	STbuffer->frp_sg_current = 0;
+	STbuffer->sg_segs = 0;
 }
 
 
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux