dm: Add a remapping trace to request-based dm
PATCH 3/3 dm: Add a remapping trace to request-based dm
Add a remapping trace to request-based dm.
Signed-off-by Kiyoshi Ueda <[email protected]>
Signed-off-by Jun'ichi Nomura <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Alasdair G Kergon <[email protected]>
Cc Li Zefan <[email protected]>
--- drivers/md/dm.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/md/dm.c +2 -0
@@ -1503,6 +1503,8 @@ static void map_request(struct dm_targetbreak ;case DM_MAPIO_REMAPPED :/* The target has remapped the I/O so dispatch it */ +trace_block_rq_remap (clone->q, clone,disk_devt (dm_disk (md)), +blk_rq_pos (tio->orig));dm_dispatch_request (clone);break ;case DM_MAPIO_REQUEUE :