diff options
author | Christoph Hellwig <hch@lst.de> | 2022-06-08 08:34:09 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-06-29 18:46:06 +0200 |
commit | e810cb78bc4b4febeac451a0d823ca68622cd86b (patch) | |
tree | 42cefa95e782c4157125cbbe136f6c9a011d0ac0 /drivers/md/dm.h | |
parent | dm: unexport dm_get_reserved_rq_based_ios (diff) | |
download | linux-e810cb78bc4b4febeac451a0d823ca68622cd86b.tar.xz linux-e810cb78bc4b4febeac451a0d823ca68622cd86b.zip |
dm: refactor dm_md_mempool allocation
The current split between dm_table_alloc_md_mempools and
dm_alloc_md_mempools is rather arbitrary, so merge the two
into one easy to follow function.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r-- | drivers/md/dm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index a8405ce305a9..62816b647f82 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h @@ -218,9 +218,6 @@ void dm_kcopyd_exit(void); /* * Mempool operations */ -struct dm_md_mempools *dm_alloc_md_mempools(struct mapped_device *md, enum dm_queue_mode type, - unsigned per_io_data_size, unsigned min_pool_size, - bool integrity, bool poll); void dm_free_md_mempools(struct dm_md_mempools *pools); /* |