Re: [PATCH for-8.1] block-backend: remove qatomic_mb_read()

2023-04-06 Thread Stefan Hajnoczi
On Thu, 6 Apr 2023 at 06:08, Paolo Bonzini wrote: > > There is already a barrier in AIO_WAIT_WHILE_INTERNAL(), thus the > qatomic_mb_read() is not adding anything. > > Signed-off-by: Paolo Bonzini > --- > block/block-backend.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed

[PATCH for-8.1] block-backend: remove qatomic_mb_read()

2023-04-06 Thread Paolo Bonzini
There is already a barrier in AIO_WAIT_WHILE_INTERNAL(), thus the qatomic_mb_read() is not adding anything. Signed-off-by: Paolo Bonzini --- block/block-backend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/block-backend.c b/block/block-backend.c index 2ee39229e