public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: dm-devel@lists.linux.dev, Alasdair Kergon <agk@redhat.com>,
	Mike Snitzer <snitzer@kernel.org>,
	Mikulas Patocka <mpatocka@redhat.com>
Cc: linux-kernel@vger.kernel.org, Ard Biesheuvel <ardb@kernel.org>,
	Sami Tolvanen <samitolvanen@google.com>,
	Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH 0/7] dm-verity cleanups and optimizations
Date: Mon,  1 Jul 2024 23:48:28 -0700	[thread overview]
Message-ID: <20240702064835.120541-1-ebiggers@kernel.org> (raw)

This series contains some cleanups and optimizations for dm-verity that
I've split out from my multibuffer hashing series
https://lore.kernel.org/linux-crypto/20240621165922.77672-1-ebiggers@kernel.org/.

This series does not depend on any crypto API changes, so it can be
applied right away.

Eric Biggers (7):
  dm-verity: move hash algorithm setup into its own function
  dm-verity: move data hash mismatch handling into its own function
  dm-verity: make real_digest and want_digest fixed-length
  dm-verity: provide dma_alignment limit in io_hints
  dm-verity: always "map" the data blocks
  dm-verity: make verity_hash() take dm_verity_io instead of
    ahash_request
  dm-verity: hash blocks with shash import+finup when possible

 drivers/md/dm-verity-fec.c    |  32 +--
 drivers/md/dm-verity-fec.h    |   6 +-
 drivers/md/dm-verity-target.c | 461 ++++++++++++++++------------------
 drivers/md/dm-verity.h        |  39 ++-
 4 files changed, 242 insertions(+), 296 deletions(-)


base-commit: 22a40d14b572deb80c0648557f4bd502d7e83826
-- 
2.45.2


             reply	other threads:[~2024-07-02  6:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02  6:48 Eric Biggers [this message]
2024-07-02  6:48 ` [PATCH 1/7] dm-verity: move hash algorithm setup into its own function Eric Biggers
2024-07-02  6:48 ` [PATCH 2/7] dm-verity: move data hash mismatch handling " Eric Biggers
2024-07-02  6:48 ` [PATCH 3/7] dm-verity: make real_digest and want_digest fixed-length Eric Biggers
2024-07-02  6:48 ` [PATCH 4/7] dm-verity: provide dma_alignment limit in io_hints Eric Biggers
2024-07-02  7:16   ` Christoph Hellwig
2024-07-02  6:48 ` [PATCH 5/7] dm-verity: always "map" the data blocks Eric Biggers
2024-07-02  6:48 ` [PATCH 6/7] dm-verity: make verity_hash() take dm_verity_io instead of ahash_request Eric Biggers
2024-07-02  6:48 ` [PATCH 7/7] dm-verity: hash blocks with shash import+finup when possible Eric Biggers
2024-07-02  7:41   ` Ard Biesheuvel
2024-07-02 17:16     ` Eric Biggers
2024-07-03 13:17       ` Ard Biesheuvel
2024-07-03 19:15 ` [PATCH 0/7] dm-verity cleanups and optimizations Eric Biggers
2024-07-04 15:05   ` Mikulas Patocka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240702064835.120541-1-ebiggers@kernel.org \
    --to=ebiggers@kernel.org \
    --cc=agk@redhat.com \
    --cc=ardb@kernel.org \
    --cc=bvanassche@acm.org \
    --cc=dm-devel@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpatocka@redhat.com \
    --cc=samitolvanen@google.com \
    --cc=snitzer@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox