mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/6] dm-crypt: misc cleanups and fixes
@ 2025-01-20  8:29 Hou Tao
  2025-01-20  8:29 ` [PATCH 1/6] dm-crypt: set atomic as false when calling crypt_convert() in kworker Hou Tao
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Hou Tao @ 2025-01-20  8:29 UTC (permalink / raw)
  To: dm-devel
  Cc: linux-kernel, Alasdair Kergon, Mike Snitzer, Mikulas Patocka,
	Ignat Korchagin, houtao1

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-01-21 12:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-20  8:29 [PATCH 0/6] dm-crypt: misc cleanups and fixes Hou Tao
2025-01-20  8:29 ` [PATCH 1/6] dm-crypt: set atomic as false when calling crypt_convert() in kworker Hou Tao
2025-01-20 17:21   ` Ignat Korchagin
2025-01-20  8:29 ` [PATCH 2/6] dm-crypt: fully initialize clone->bi_iter in crypt_alloc_buffer() Hou Tao
2025-01-20  8:29 ` [PATCH 3/6] dm-crypt: use bi_sector in bio when initialize integrity seed Hou Tao
2025-01-20  8:29 ` [PATCH 4/6] dm-crypt: don't update io->sector after kcryptd_crypt_write_io_submit() Hou Tao
2025-01-20  8:29 ` [PATCH 5/6] dm-crypt: don't initialize cc_sector again Hou Tao
2025-01-20  8:29 ` [PATCH 6/6] dm-crypt: track tag_offset in convert_context Hou Tao
2025-01-21 12:31 ` [PATCH 0/6] dm-crypt: misc cleanups and fixes Mikulas Patocka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®