• Christoph Hellwig's avatar
    dm: fix bio_set allocation · 29dec90a
    Christoph Hellwig authored
    The use of bioset_init_from_src mean that the pre-allocated pools weren't
    used for anything except parameter passing, and the integrity pool
    creation got completely lost for the actual live mapped_device.  Fix that
    by assigning the actual preallocated dm_md_mempools to the mapped_device
    and using that for I/O instead of creating new mempools.
    
    Fixes: 2a2a4c51 ("dm: use bioset_init_from_src() to copy bio_set")
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
    29dec90a
dm-table.c 52.8 KB