Home
last modified time | relevance | path

Searched hist:"59 e542c8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/block/
H A Drbd.c59e542c8 Wed Feb 12 08:23:58 CST 2020 Ilya Dryomov <idryomov@gmail.com> 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>
59e542c8 Wed Feb 12 08:23:58 CST 2020 Ilya Dryomov <idryomov@gmail.com> 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>