Hi Gerd,
Thanks for your effort.
-----Original Message----- From: Gerd Hoffmann kraxel@redhat.com Sent: Tuesday, December 7, 2021 4:28 PM To: Pei, Andy andy.pei@intel.com Cc: seabios@seabios.org; kevin@koconnor.net; Ding Limin dinglimin@cmss.chinamobile.com Subject: Re: [PATCH v4 3/3] virtio-blk.: split large IO according to size_max
On Tue, Dec 07, 2021 at 09:31:08AM +0800, Andy Pei wrote:
if driver reads data larger than VIRTIO_BLK_F_SIZE_MAX, it will cause some issue to the DMA engine.
So when upper software wants to read data larger than VIRTIO_BLK_F_SIZE_MAX, virtio-blk driver split one large request into multiple smaller ones.
Signed-off-by: Andy Pei andy.pei@intel.com Signed-off-by: Ding Limin dinglimin@cmss.chinamobile.com
Reviewed-by: Gerd Hoffmann kraxel@redhat.com