Re: remove the cmd_type field from struct request

From: Jens Axboe
Date: Tue Jan 31 2017 - 16:07:15 EST


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