diff options
| author | Christoph Hellwig <[email protected]> | 2022-06-08 06:34:06 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2022-06-08 18:04:14 +0000 |
| commit | 29dec90a0f1d961b93f34f910e9319d8cb23edbd (patch) | |
| tree | a9661e0821f7c983ae0c799f70f862ee2d58533b /scripts/clang-tools/gen_compile_commands.py | |
| parent | Linux 5.19-rc1 (diff) | |
| download | kernel-29dec90a0f1d961b93f34f910e9319d8cb23edbd.tar.gz kernel-29dec90a0f1d961b93f34f910e9319d8cb23edbd.zip | |
dm: fix bio_set allocation
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: 2a2a4c510b76 ("dm: use bioset_init_from_src() to copy bio_set")
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
