]> git.baikalelectronics.ru Git - kernel.git/commit
dm: merge io_pool and tio_pool
authorJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Fri, 1 Mar 2013 22:45:48 +0000 (22:45 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 1 Mar 2013 22:45:48 +0000 (22:45 +0000)
commitce669aeee617d52597e25ee27845df8d211d215d
tree0100b4309d01d22bd3726b20d76b5cd56c64df5e
parent7310ed4bc49f6e7d2c6b1b8cefa4bd792c021d75
dm: merge io_pool and tio_pool

This patch merges io_pool and tio_pool into io_pool and cleans up
related functions.

Though device-mapper used to have 2 pools of objects for each dm device,
the use of bioset frontbad for per-bio data has shrunk the number of
pools to 1 for both bio-based and request-based device types.
(See 6a08d9eb "dm: introduce per_bio_data" and
 16f961e2 "dm: Use bioset's front_pad for dm_rq_clone_bio_info")

So dm no longer has to maintain 2 different pointers.

No functional changes.

Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c