On Wed, Aug 08 2007, FUJITA Tomonori wrote: > Now only scsi-ml is changed to allocate chaining sg list > properly. Others like cciss are not converted yet, I think. It might > make sense to have the standard block layer functions to allocate > chaining sg list properly. So we could convert to potential consumers > (scsi-ml, sg, ccisss, etc) use them though I'm not sure how many non > scsi-ml needs chaining sg list. The scsi chain table allocation/freeing could be made generic. The reason I didn't do that is - as you list - that probably not many non-scsi drivers need/want it. If they do, we can put that functionality in the block layer. The cciss hardware doesn't support more than 31 segments iirc. Newer firmwares can do chaining as well, but the linux driver doesn't actually support it. Once it does, we can add sg chaining support there too. -- Jens Axboe - To unsubscribe from this list: 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