Skip to content
Commit 59e542c8 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent a52cc685
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment