OSDN Git Service

bcache: pass the make_request methods to blk_queue_make_request
authorChristoph Hellwig <hch@lst.de>
Fri, 27 Mar 2020 08:30:10 +0000 (09:30 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Mar 2020 16:23:43 +0000 (10:23 -0600)
commitff27668ce8092c74965f21b5c02ebc6b6764db95
treee686f78ff3aede828ed9a51e8067f06412aaddb7
parent8d96a1117c21faad4f88d3d2df8c62712b3f495d
bcache: pass the make_request methods to blk_queue_make_request

bcache is the only driver not actually passing its make_request
methods to blk_queue_make_request, but instead just sets them up
manually a little later.  Make bcache follow the common way of
setting up make_request based queues.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/request.c
drivers/md/bcache/request.h
drivers/md/bcache/super.c