RE: [PATCH v1 1/1] virtio-block: switch to blk_get_max_hw_transfer

2023-01-30 Thread Or Ozeri
> Subject: [EXTERNAL] Re: [PATCH v1 1/1] virtio-block: switch to > blk_get_max_hw_transfer > > > I'm not sure I understand. This is not a passthrough device (unlike scsi- > generic), so why should we consider the hardware limits rather than the > kernel/other backend limits

Re: [PATCH v1 1/1] virtio-block: switch to blk_get_max_hw_transfer

2023-01-13 Thread Kevin Wolf
Am 12.01.2023 um 21:28 hat Ilya Dryomov geschrieben: > On Thu, Dec 9, 2021 at 10:34 AM Or Ozeri wrote: > > > > The blk_get_max_hw_transfer API was recently added in 6.1.0. > > It allows querying an underlying block device its max transfer capability. > > This commit changes virtio-blk to use this.

Re: [PATCH v1 1/1] virtio-block: switch to blk_get_max_hw_transfer

2023-01-12 Thread Ilya Dryomov
On Thu, Dec 9, 2021 at 10:34 AM Or Ozeri wrote: > > The blk_get_max_hw_transfer API was recently added in 6.1.0. > It allows querying an underlying block device its max transfer capability. > This commit changes virtio-blk to use this. > > Signed-off-by: Or Ozeri > --- > hw/block/virtio-blk.c |

[PATCH v1 1/1] virtio-block: switch to blk_get_max_hw_transfer

2021-12-09 Thread Or Ozeri
The blk_get_max_hw_transfer API was recently added in 6.1.0. It allows querying an underlying block device its max transfer capability. This commit changes virtio-blk to use this. Signed-off-by: Or Ozeri --- hw/block/virtio-blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git