commit | 59e542c869895fb37005b60058a342187bb63c61 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Wed Feb 12 15:23:58 2020 +0100 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Mar 30 12:42:40 2020 +0200 |
tree | cbc74c491fbd4c77894a79b358d8ebac84aa4f27 | |
parent | a52cc685753568e5bcbe762586c2bfbe7175255e [diff] |
rbd: embed image request in blk-mq pdu Avoid making allocations for !IMG_REQ_CHILD image requests. Only IMG_REQ_CHILD image requests need to be freed now. Move the initial request checks to rbd_queue_rq(). Unfortunately we can't fill the image request and kick the state machine directly from rbd_queue_rq() because ->queue_rq() isn't allowed to block. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>