Re: [PATCH] [14/20] Don't disable direct_io for unchecked_isa_dma in st.c

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

 



Boaz Harrosh wrote:
On Fri, Mar 14 2008 at 16:24 +0200, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
On Fri, Mar 14, 2008 at 02:51:35PM +0100, Jens Axboe wrote:
Are you sure? Seems to me that st builds its own list with
get_user_pages() for direct io, where will that get bounced? The block
layer will only bounce things that are mapped directly, so if st used
blk_rq_map_kern() and inserted that request in the queue, we could
proceed with killing that check in st.
Which shouldn't be all too difficult and would be the right thing to
do.  We really need someone to sit down and convert st/osst/sg to use
the proper block layer helpers.


First they do. They all call scsi_execute_async which at the end produces
a BIO and then calls blk_execute_nowait(). and all is swell.

Second some one did, long a go, and have submitted them rebased more then 3
times. I'd say their time is do long a go. (I mean Mike Christie)

Mike, please, do you have these patches on a public git somewhere I want to help
push them.


Sorry I have been so bad with my linux-scsi email. Here is my current patches:
http://kernel.org/pub/linux/kernel/people/mnc/sg/sg-bioset17/
They are very broken (patch -p1 wise), because of all the block layer changes. I got around to converting st. It is not tested. I just need to convert osst and we can kill scsi_execute_async.
--
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

[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