Yes, you can build generically a single I/O unit that spans up to 256
pages. If you bypass the bio_alloc/bvec_alloc mechanism, the sky is the
limit. Beware that a really big bio may need to be split up in the end
for devices that can't handle them that big.
> 2. The elevator layer is merging these requests, and making a
> single sweep request for contiguous sector runs.
Like always, yes.
> 3. In theory, I should be able to support page cache capability
> for NWFS and possibly NTFS in Linux the way these wierd non-Unix
> OS's work.
Maybe :-)
> 4. This interface may **NOT** support non-block aligned requests
> across all the drivers. I also need to be able to submit a
> request chain 512-2048-512-1024-4096 where the first IO requested
> may by on a non-block aligned boundry. i.e. Device is configured
> for 1024 byte blocks, I start the request as 512 @ LBA 1 -> 1024 @ LBA 2,
> etc. The code looks like it will work.
As long as the smallest unit above is at least the size of the hardware
sector on the target, it should be ok.
> I would love to test this wonderful code and will hopefully this evening,
> however, all the SCSI drivers appear to be broken, as well as the
> 3Ware. :-)
Well not all, but many. I only converted stuff I could personally test,
basically, plus a bit more. Usually converting a SCSI driver is not a
lot of work, please see the changes to sym/sym2 etc in the pre2 patch.
-- Jens Axboe- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/