linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] convert sg to use block layer helpers
@ 2007-02-09  8:34 Mike Christie
  2007-02-09 16:52 ` Douglas Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Christie @ 2007-02-09  8:34 UTC (permalink / raw)
  To: jens.axboe, dougg, linux-scsi

sg duplicates a lot of block layer dio and copying code. The block layer
is missing some things like mmap helpers and a way to support sg and
st's reserve buffer. The next two patches move move functionality from
sg to the block layer so later st and osst can use it, and then coverts
sg to use the block layer helper.

The goal is to kill scsi_execute_async and friends and covert the ULDs
to use the block layer functions directly. This is nice because
scsi_execute_async sucks and it actually duplicates block layer code,
and in the end the scsi layer does not have to do any bio processing
(which irks Jens :)), and we have common code for all ULDs.

The patches were made over Jens's bsg branch in his block layer git tree
on kernel.org. Sorry for the large patches. The sg conversion patch rips
out alot of code duplicated in the block layer and the patch to add some
missing functionality to the block layer has conversions to bsg, tgt,
etc so git bisect works on it.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-09 18:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-09  8:34 [PATCH 0/2] convert sg to use block layer helpers Mike Christie
2007-02-09 16:52 ` Douglas Gilbert
2007-02-09 17:29   ` Jens Axboe
2007-02-09 18:37   ` Mike Christie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).