path: root/block/mq-deadline.c
diff options
authorJens Axboe <>2017-02-02 08:54:40 -0700
committerJens Axboe <>2017-02-03 09:47:32 -0700
commitb973cb7e89fe3dcc2bc72c5b3aa7a3bfd9d0e6d5 (patch)
tree8949e898cd4e87d63b6752ae8dfa36e1b461da77 /block/mq-deadline.c
parent9b54d816e00425c3a517514e0d677bb3cec49258 (diff)
blk-merge: return the merged request
When we attempt to merge request-to-request, we return a 0/1 if we ended up merging or not. Change that to return the pointer to the request that we freed. We will use this to move the freeing of that request out of the merge logic, so that callers can drop locks before freeing the request. There should be no functional changes in this patch. Signed-off-by: Jens Axboe <> Reviewed-by: Omar Sandoval <>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions