Re: [PATCH 0/2] dm mpath: Interface for explicit probing of active paths

2025-05-14 Thread Paolo Bonzini
Il mer 14 mag 2025, 13:37 Martin Wilck ha scritto: > > I'd go one step further. Christoph is right to say that what we're > currently doing in qemu – passing through every command except the > PRIN/PROUT to a multipath device – is a dangerous thing to do. > > Passthrough from a dm-multipath device

Re: [PATCH 0/2] dm mpath: Interface for explicit probing of active paths

2025-05-14 Thread Martin Wilck
On Tue, 2025-05-13 at 10:00 +0200, Martin Wilck wrote: > > > If you think it does, is there another reason why you didn't try > > this > > before? > > It didn't occur to me back then that we could fail paths without > retrying in the kernel. > > Perhaps we could have the sg driver pass the blk

[PATCH v2] dm-zone: Use bdev_*() helper functions where applicable

2025-05-14 Thread Bart Van Assche
Improve code readability by using bdev_is_zone_aligned() and bdev_offset_from_zone_start() where applicable. No functionality has been changed. This patch is a reworked version of a patch from Pankaj Raghav. See also https://lore.kernel.org/linux-block/20220923173618.6899-11-p.rag...@samsung.com

Re: [PATCH 0/2] dm mpath: Interface for explicit probing of active paths

2025-05-14 Thread Martin Wilck
Hello Ben, hello Christoph, On Wed, 2025-05-14 at 12:23 -0400, Benjamin Marzinski wrote: > On Tue, May 13, 2025 at 09:57:51PM -0700, Christoph Hellwig wrote: > > > > SG_IO is fine and the only way for SCSI passthrough.  But doing > > SCSI passthrough through md-multipath just doesn't work.  SCSI

Re: [PATCH 0/2] dm mpath: Interface for explicit probing of active paths

2025-05-14 Thread Benjamin Marzinski
On Tue, May 13, 2025 at 09:57:51PM -0700, Christoph Hellwig wrote: > On Tue, May 13, 2025 at 11:29:09AM +0200, Kevin Wolf wrote: > > Am 13.05.2025 um 07:55 hat Christoph Hellwig geschrieben: > > > On Mon, May 12, 2025 at 05:18:43PM +0200, Kevin Wolf wrote: > > > > Yes, it's a bit unfortunate, but w

Re: [PATCH 0/2] dm mpath: Interface for explicit probing of active paths

2025-05-14 Thread Benjamin Marzinski
On Wed, May 14, 2025 at 08:39:25AM +0200, Hannes Reinecke wrote: > On 5/13/25 18:29, Benjamin Marzinski wrote: > > On Mon, May 12, 2025 at 11:49:19PM -0700, Christoph Hellwig wrote: > > > On Tue, May 13, 2025 at 08:32:12AM +0200, Hannes Reinecke wrote: > > > > Reservations and stuff. > > > > > > T