]> git.baikalelectronics.ru Git - kernel.git/commit
dm zoned: remove 'dev' argument from reclaim
authorHannes Reinecke <hare@suse.de>
Mon, 11 May 2020 08:24:24 +0000 (10:24 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 19 May 2020 17:30:30 +0000 (13:30 -0400)
commit6c805f77f161d65364cfc4e4734f7057a621fee4
tree91e748e79b3144c0450104f3b0a35934d8f500e4
parentd0e21ce40c7a41df43b70b863cc64395c7787abd
dm zoned: remove 'dev' argument from reclaim

Use the dmz_zone_to_dev() mapping function to remove the
'dev' argument from reclaim.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-reclaim.c
drivers/md/dm-zoned-target.c
drivers/md/dm-zoned.h