On Wed, Feb 14, 2007 at 02:53:31AM +0900, FUJITA Tomonori wrote:
> It seems that it would be better to bind bsg devices to request_queue
> instead of gendisk. This enables any objects to define own
> request_handler and create own bsg device (under sysfs).
>
> Possible enhancements:
>
> - I removed gendisk but it would be better for objects having gendisk
> to keep it for nice features like disk stats.
>
> - Objects that wants to use bsg need to setup a request_queue. Maybe
> wrapper functions to setup a request_queue for them would be useful.
>
> This patch was tested only with disk drivers.
>
>
> Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
> ---
> block/bsg.c | 37 +++++++++++++++++--------------------
What is this patch against? scsi-misc?
I certainly like the bsg solution, but block/bsg.c does not exist in my
vanilla linux-2.6.git tree :)
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html