Message ID | 20250120082951.1423804-1-houtao@huaweicloud.com (mailing list archive) |
---|---|
Headers | show |
Series | dm-crypt: misc cleanups and fixes | expand |
On Mon, 20 Jan 2025, Hou Tao wrote: > From: Hou Tao <houtao1@huawei.com> > > 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 I applied the patches. Thanks. Mikulas
From: Hou Tao <houtao1@huawei.com> 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(-)