Skip to content
  • Christoph Hellwig's avatar
    scsi/osd: open code blk_make_request · 4613c5f1
    Christoph Hellwig authored
    
    
    I wish the OSD code could simply use blk_rq_map_* helpers like
    everyone else, but the complex nature of deciding if we have
    DATA IN and/or DATA OUT buffers might make this impossible
    (at least for a mere human like me).
    
    But using blk_rq_append_bio at least allows sharing the setup code
    between request with or without dat a buffers, and given that this
    is the last user of blk_make_request it allows getting rid of that
    somewhat awkward interface.
    
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Acked-by: default avatarBoaz Harrosh <ooo@electrozaur.com>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    4613c5f1