Re: [PATCH v2 3/4] qemu-io: add -r option to register I/O buffer

2023-02-01 Thread Stefan Hajnoczi
On Tue, Jan 31, 2023 at 03:23:24PM -0600, Eric Blake wrote: > On Mon, Jan 30, 2023 at 04:54:14PM -0500, Stefan Hajnoczi wrote: > > The blk_register_buf() API is an optimization hint that allows some > > block drivers to avoid I/O buffer housekeeping or bounce buffers. > > > > Add an -r option to

Re: [PATCH v2 3/4] qemu-io: add -r option to register I/O buffer

2023-01-31 Thread Eric Blake
On Mon, Jan 30, 2023 at 04:54:14PM -0500, Stefan Hajnoczi wrote: > The blk_register_buf() API is an optimization hint that allows some > block drivers to avoid I/O buffer housekeeping or bounce buffers. > > Add an -r option to register the I/O buffer so that qemu-io can be used > to test the

[PATCH v2 3/4] qemu-io: add -r option to register I/O buffer

2023-01-30 Thread Stefan Hajnoczi
The blk_register_buf() API is an optimization hint that allows some block drivers to avoid I/O buffer housekeeping or bounce buffers. Add an -r option to register the I/O buffer so that qemu-io can be used to test the blk_register_buf() API. The next commit will add a test that uses the new