[PATCH 0/6] dm-crypt: misc cleanups and fixes
From: Hou Tao
Date: Mon Jan 20 2025 - 03:18:20 EST
From: Hou Tao <houtao1@xxxxxxxxxx>
Hi,
The patchset contains misc cleanups and minor fixes for dm-crypt. These
problem were spotted during the code inspection. The patchset have been
tested by running fio on dm-crypt devices (both with and without
integrity feature). Patch #6 is tested by asynchronizing the
crypt/decrypt algorithm when using random IV.
Please see individual patches for more details. Comments are always
welcome.
Hou Tao (6):
dm-crypt: set atomic as false when calling crypt_convert() in kworker
dm-crypt: fully initialize clone->bi_iter in crypt_alloc_buffer()
dm-crypt: use bi_sector in bio when initialize integrity seed
dm-crypt: don't update io->sector after
kcryptd_crypt_write_io_submit()
dm-crypt: don't initialize cc_sector again
dm-crypt: track tag_offset in convert_context
drivers/md/dm-crypt.c | 42 ++++++++++++++++--------------------------
1 file changed, 16 insertions(+), 26 deletions(-)
--
2.29.2