[Qemu-devel] [PATCH 01/10] aio: rename bh_lock to list_lock

2017-01-12 Thread Paolo Bonzini
This will be used for AioHandlers too. There is going to be little or no contention, so it is better to reuse the same lock. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- async.c | 20 ++-- include/block/aio.h | 2 +- 2 files changed, 11 insertions(

[Qemu-devel] [PATCH 01/10] aio: rename bh_lock to list_lock

2017-01-12 Thread Paolo Bonzini
This will be used for AioHandlers too. There is going to be little or no contention, so it is better to reuse the same lock. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- async.c | 20 ++-- include/block/aio.h | 2 +- 2 files changed, 11 insertions(

[Qemu-devel] [PATCH 01/10] aio: rename bh_lock to list_lock

2017-01-04 Thread Paolo Bonzini
This will be used for AioHandlers too. There is going to be little or no contention, so it is better to reuse the same lock. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- async.c | 20 ++-- include/block/aio.h | 2 +- 2 files changed, 11 insertions(

[Qemu-devel] [PATCH 01/10] aio: rename bh_lock to list_lock

2016-12-21 Thread Paolo Bonzini
This will be used for AioHandlers too. There is going to be little or no contention, so it is better to reuse the same lock. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- async.c | 20 ++-- include/block/aio.h | 2 +- 2 files changed, 11 insertions(

Re: [Qemu-devel] [PATCH 01/10] aio: rename bh_lock to list_lock

2016-11-30 Thread Stefan Hajnoczi
On Tue, Nov 29, 2016 at 12:46:58PM +0100, Paolo Bonzini wrote: > diff --git a/include/block/aio.h b/include/block/aio.h > index c7ae27c..eee3139 100644 > --- a/include/block/aio.h > +++ b/include/block/aio.h > @@ -90,7 +90,7 @@ struct AioContext { > uint32_t notify_me; > > /* lock to pr

[Qemu-devel] [PATCH 01/10] aio: rename bh_lock to list_lock

2016-11-29 Thread Paolo Bonzini
This will be used for AioHandlers too. There is going to be little or no contention, so it is better to reuse the same lock. Signed-off-by: Paolo Bonzini --- async.c | 20 ++-- include/block/aio.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --gi