1. 21 11月, 2019 21 次提交
  2. 13 11月, 2019 4 次提交
  3. 10 11月, 2019 4 次提交
  4. 06 11月, 2019 2 次提交
  5. 29 10月, 2019 7 次提交
  6. 08 10月, 2019 1 次提交
  7. 05 10月, 2019 1 次提交
    • M
      scsi: implement .cleanup_rq callback · e94443fc
      Ming Lei 提交于
      [ Upstream commit b7e9e1fb7a9227be34ad4a5e778022c3164494cf ]
      
      Implement .cleanup_rq() callback for freeing driver private part
      of the request. Then we can avoid to leak this part if the request isn't
      completed by SCSI, and freed by blk-mq or upper layer(such as dm-rq) finally.
      
      Cc: Ewan D. Milne <emilne@redhat.com>
      Cc: Bart Van Assche <bvanassche@acm.org>
      Cc: Hannes Reinecke <hare@suse.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Mike Snitzer <snitzer@redhat.com>
      Cc: dm-devel@redhat.com
      Cc: <stable@vger.kernel.org>
      Fixes: 396eaf21 ("blk-mq: improve DM's blk-mq IO merging via blk_insert_cloned_request feedback")
      Signed-off-by: NMing Lei <ming.lei@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      e94443fc