• Ilya Dryomov's avatar
    rbd: embed image request in blk-mq pdu · 59e542c8
    Ilya Dryomov authored
    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>
    59e542c8
rbd.c 183 KB