Re: [PATCH] convert sg dio to use blk functions

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

 



On Tue, Dec 05, 2006 at 08:00:34AM +0900, FUJITA Tomonori wrote:
> This patch makes sg dio use the block layer functions (calls
> blk_rq_map_user and blk_execute_rq_nowait).
> 
> It doesn't break any existing features. So sg dio uses the block layer
> functions and sg mmap and indirectio use scsi_execute_async.
> 
> This isn't for merging. I would like to discuss how to convert sg mmap
> and indirectio to use the block layer functions.
> 
> sg dio doesn't use preallocated pages and scatterlist buffer so it can
> use nicely the block layer functions. But mmap and indirectio
> can't. We need to kill the preallocated buffer in sg or modify the
> block layer functions to use preallocated buffer.

This looks nice and gets rid of two different codepathes for the same
thing so I'm all in favour of it. 

But please send sg patches to Douglas as he maintains the driver and knows
it best.

-
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