[dm-devel] [PATCH 1/3] dm: don't grab target io reference in dm_zone_map_bio
Damien Le Moal
damien.lemoal at opensource.wdc.com
Mon Apr 11 09:40:01 UTC 2022
On 4/9/22 02:12, Ming Lei wrote:
> dm_zone_map_bio() is only called from __map_bio in which the io's
> reference is grabbed already, and the reference won't be released
> until the bio is submitted, so no necessary to do it dm_zone_map_bio
> any more.
>
> Cc: Damien Le Moal <damien.lemoal at wdc.com>
> Signed-off-by: Ming Lei <ming.lei at redhat.com>
Reviewed-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>
Tested-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>
--
Damien Le Moal
Western Digital Research
More information about the dm-devel
mailing list