Re: [dm-devel] [PATCH v4 0/29] block: Make blkdev_get_by_*() return handle

2023-09-29 Thread Jens Axboe
On Wed, Sep 27, 2023 at 3:34?AM Jan Kara wrote: > > Hello, > > this is a v3 of the patch series which implements the idea of > blkdev_get_by_*() v4? > calls returning bdev_handle which is then passed to blkdev_put() [1]. This > makes the get and put calls for bdevs more obviously matching and a

Re: [PATCH] dm: Annotate struct dm_bio_prison with __counted_by

2023-09-29 Thread Kees Cook
On Fri, 15 Sep 2023 13:04:08 -0700, Kees Cook wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS > (for array indexi

Re: [PATCH] dm crypt: Annotate struct crypt_config with __counted_by

2023-09-29 Thread Kees Cook
On Fri, 15 Sep 2023 13:03:45 -0700, Kees Cook wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS > (for array indexi

Re: [PATCH] dm: Annotate struct dm_stat with __counted_by

2023-09-29 Thread Kees Cook
On Fri, 15 Sep 2023 13:04:01 -0700, Kees Cook wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS > (for array indexi

Re: [PATCH] dm raid: Annotate struct raid_set with __counted_by

2023-09-29 Thread Kees Cook
On Fri, 15 Sep 2023 13:03:36 -0700, Kees Cook wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS > (for array indexi

Re: [PATCH] dm: Annotate struct stripe_c with __counted_by

2023-09-29 Thread Kees Cook
On Fri, 15 Sep 2023 13:03:53 -0700, Kees Cook wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS > (for array indexi

Re: [dm-devel] [PATCH v2] qat: fix deadlock in backlog processing

2023-09-29 Thread Giovanni Cabiddu
On Fri, Sep 22, 2023 at 06:34:16PM +0200, Mikulas Patocka wrote: > On Fri, 22 Sep 2023, Giovanni Cabiddu wrote: > > Hi Mikulas, > > > > many thanks for reporting this issue and finding a solution. > > > > On Thu, Sep 21, 2023 at 10:53:55PM +0200, Mikulas Patocka wrote: > > > I was evaluating whet

Re: [dm-devel] [REGRESSION] dm_crypt essiv ciphers do not use async driver mv-aes-cbc anymore

2023-09-29 Thread Eric Biggers
Hi Yureka, On Fri, Sep 29, 2023 at 11:08:55PM +0200, Yureka wrote: > #regzbot introduced: 7bcb2c99f8ed > > I am running the NixOS distribution cross-compiled from x86_64 to a Marvell > Armada 388 armv7 SoC. > > I am not getting expected speeds when reading/writing on my encrypted hard > drive wi