diff options
author | Damien Le Moal <[email protected]> | 2021-05-26 06:24:57 +0900 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2021-06-04 12:07:32 -0400 |
commit | 912e887505a07123917e537b657859723ce5d472 (patch) | |
tree | 747194a059f7d844ddbc210c8351cf36ca2658d9 /lib/mpi/mpi-sub-ui.c | |
parent | 7fc18728482b1a29bd7b8439a0ae7b3f23e097d1 (diff) |
dm: Introduce dm_report_zones()
To simplify the implementation of the report_zones operation of a zoned
target, introduce the function dm_report_zones() to set a target
mapping start sector in struct dm_report_zones_args and call
blkdev_report_zones(). This new function is exported and the report
zones callback function dm_report_zones_cb() is not.
dm-linear, dm-flakey and dm-crypt are modified to use dm_report_zones().
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions