Re: [PATCH v4] Use io_uring_register_ring_fd() to skip fd operations

2022-04-22 Thread olc
Hi Stefan, I've tested the code and it behaves as you expected. Should I add this to a new patch version or leave it as is? Sam Stefan Hajnoczi 于2022年4月22日周五 23:10写道: > On Fri, Apr 22, 2022 at 12:36:49AM +0800, Sam Li wrote: > > Linux recently added a new io_uring(7) optimization API that QEMU

Re: [PATCH v3] Use io_uring_register_ring_fd() to skip fd operations

2022-04-21 Thread olc
Hi Fam, I've missed out freeing error object and error_report would be a better case indeed. Thanks for pointing out the problem. I'll fix that in no time. Best regards, Sam Fam Zheng 于2022年4月21日周四 21:36写道: > On 2022-04-19 07:33, Sam Li wrote: > > Linux recently added a new io_uring(7) optim

Re: [PATCH 2/2] Use io_ring_register_ring_fd() to skip fd operations

2022-04-18 Thread olc
Thanks for noticing the problem. I've done that. Sam Damien Le Moal 于2022年4月19日周二 06:24写道: > On 2022/04/18 18:05, Sam Li wrote: > > fix code style issue. > > This patch must be squashed into the previous one. > > > > > Signed-off-by: Sam Li > > --- > > block/io_uring.c | 9 +++-- > > 1 fi