• Jun'ichi Nomura's avatar
    dm: merge io_pool and tio_pool · 5f015204
    Jun'ichi Nomura authored
    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 c0820cf5 "dm: introduce per_bio_data" and
     94818742 "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: default avatarJun'ichi Nomura <j-nomura@ce.jp.nec.com>
    Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
    5f015204
dm.c 62.2 KB