Re: swiotlb-xen: provide the "max_mapping_size" method

2023-11-06 Thread Mike Snitzer
On Mon, Nov 06 2023 at 10:16P -0500, Keith Busch wrote: > On Mon, Nov 06, 2023 at 03:59:40PM +0100, Mikulas Patocka wrote: > > There's a bug that when using the XEN hypervisor with dm-crypt on NVMe, > > the kernel deadlocks [1]. > > > > The deadlocks are caused by inability to map a large bio v

Re: [RFC PATCH 0/7] Allow race-free block device handling

2023-02-02 Thread Mike Snitzer
On Thu, Feb 02 2023 at 1:41P -0500, Demi Marie Obenour wrote: > On Thu, Feb 02, 2023 at 11:50:37AM -0500, Mike Snitzer wrote: > > On Wed, Jan 25 2023 at 10:33P -0500, > > Demi Marie Obenour wrote: > > > > > This work aims to allow userspace to create and destroy

Re: [RFC PATCH 0/7] Allow race-free block device handling

2023-02-02 Thread Mike Snitzer
On Wed, Jan 25 2023 at 10:33P -0500, Demi Marie Obenour wrote: > This work aims to allow userspace to create and destroy block devices > in a race-free and leak-free way, "race-free and leak-free way" implies there both races and leaks in existing code. You're making claims that are likely very

Re: [PATCH 08/19] dm-thin: use blkdev_issue_flush instead of open coding it

2022-01-27 Thread Mike Snitzer
On Mon, Jan 24 2022 at 4:10P -0500, Christoph Hellwig wrote: > Use blkdev_issue_flush, which uses an on-stack bio instead of an > opencoded version with a bio embedded into struct pool. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer

Re: [PATCH 07/19] dm-snap: use blkdev_issue_flush instead of open coding it

2022-01-27 Thread Mike Snitzer
On Mon, Jan 24 2022 at 4:10P -0500, Christoph Hellwig wrote: > Use blkdev_issue_flush, which uses an on-stack bio instead of an > opencoded version with a bio embedded into struct dm_snapshot. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer

Re: [PATCH 06/19] dm-crypt: remove clone_init

2022-01-27 Thread Mike Snitzer
; Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer

Re: [PATCH 05/19] dm: bio_alloc can't fail if it is allowed to sleep

2022-01-27 Thread Mike Snitzer
On Mon, Jan 24 2022 at 4:10P -0500, Christoph Hellwig wrote: > Remove handling of NULL returns from sleeping bio_alloc calls given that > those can't fail. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer

Re: [PATCH 12/78] dm: use set_capacity_and_notify

2021-02-12 Thread Mike Snitzer
On Mon, Nov 16, 2020 at 10:05 AM Christoph Hellwig wrote: > > Use set_capacity_and_notify to set the size of both the disk and block > device. This also gets the uevent notifications for the resize for free. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Hannes Reinecke > --- > drivers/md