summaryrefslogtreecommitdiff
path: root/drivers/lightnvm
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-07-25 10:05:00 +0800
committerJens Axboe <axboe@kernel.dk>2019-08-04 21:42:08 -0600
commitb7e9e1fb7a9227be34ad4a5e778022c3164494cf (patch)
tree8bc7fbf19896194d3c72bde6105bc69e379c7a8c /drivers/lightnvm
parent226b4fc75c78f9c497c5182d939101b260cfb9f3 (diff)
scsi: implement .cleanup_rq callback
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: 396eaf21ee17 ("blk-mq: improve DM's blk-mq IO merging via blk_insert_cloned_request feedback") Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions