Re: remove the cmd_type field from struct request

From
Jens Axboe <axboe@kernel.dk>
Date
2017-01-31 21:07:12
Also in
linux-ide, linux-scsi, lkml
Reply to
Christoph Hellwig, 2017-01-31
On 01/31/2017 07:57 AM, Christoph Hellwig wrote:
Hi Jens,

this series gets rid of the cmd_type field in struct request and
instead folds it into the REQ_OP* space.  This reduces the size of
struct request, and leads to a single op namespace that drivers
can easily switch on.  Except for the legacy ide driver which has
a mess of different request types [1] this also nicely cleans up the
code.

Note that the patches are on top of the

    "make SCSI passthrough support optional"

series I sent out on Saturday.  To make life easier I also have a git
tree available here:

	git://git.infradead.org/users/hch/block.git cmd_type

	http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/cmd_type
Looks good to me, applied for 4.11.

-- 
Jens Axboe
Thread (20 messages) 20 messages, 7 authors, last reply 2017-02-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help