Re: [dm-devel] [PATCH] blk-crypto: use dynamic lock class for blk_crypto_profile::lock

2023-06-12 Thread Bart Van Assche
On 6/9/23 23:11, Eric Biggers wrote: When a device-mapper device is passing through the inline encryption support of an underlying device, calls to blk_crypto_evict_key() take the blk_crypto_profile::lock of the device-mapper device, then take the blk_crypto_profile::lock of the underlying

Re: [dm-devel] decouple block open flags from fmode_t v2

2023-06-12 Thread Jens Axboe
On Thu, 08 Jun 2023 13:02:28 +0200, Christoph Hellwig wrote: > this series adds a new blk_mode_t for block open flags instead of abusing > fmode_t. The block open flags work very different from the normal use of > fmode_t and only share the basic READ/WRITE flags with it. None of the > other

Re: [dm-devel] [PATCH v2 13/16] xen-blkback: Implement diskseq checks

2023-06-12 Thread Roger Pau Monné
On Thu, Jun 08, 2023 at 11:33:26AM -0400, Demi Marie Obenour wrote: > On Thu, Jun 08, 2023 at 10:29:18AM +0200, Roger Pau Monné wrote: > > On Wed, Jun 07, 2023 at 12:14:46PM -0400, Demi Marie Obenour wrote: > > > On Wed, Jun 07, 2023 at 10:20:08AM +0200, Roger Pau Monné wrote: > > > > On Tue, Jun

Re: [dm-devel] [PATCH 11/30] swsusp: don't pass a stack address to blkdev_get_by_path

2023-06-12 Thread Rafael J. Wysocki
On Thu, Jun 8, 2023 at 1:03 PM Christoph Hellwig wrote: > > holder is just an on-stack pointer that can easily be reused by other calls, > replace it with a static variable that doesn't change. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Hannes Reinecke Acked-by: Rafael J. Wysocki >

Re: [dm-devel] [PATCH 0/5] Support kdump with LUKS encryption by reusing LUKS volume key

2023-06-12 Thread Coiby Xu
On Thu, Jun 08, 2023 at 12:39:26PM +0200, Milan Broz wrote: On 6/7/23 14:39, Coiby Xu wrote: ... I do not think you need any cryptsetup patches, all you need is to write decrypted volume key from LUKS metadata with cryptsetup luksDump ---dump-volume-key -volume-key-file (or any code