Re: [Xen-devel] [PATCH v4 04/10] xen/blkfront: split per device io_lock

2015-11-03 Thread Konrad Rzeszutek Wilk
On Wed, Nov 04, 2015 at 09:07:12AM +0800, Bob Liu wrote: > > On 11/04/2015 04:09 AM, Konrad Rzeszutek Wilk wrote: > > On Mon, Nov 02, 2015 at 12:21:40PM +0800, Bob Liu wrote: > >> The per device io_lock became a coarser grained lock after > >> multi-queues/rings > >> was introduced, this patch in

Re: [Xen-devel] [PATCH v4 04/10] xen/blkfront: split per device io_lock

2015-11-03 Thread Bob Liu
On 11/04/2015 04:09 AM, Konrad Rzeszutek Wilk wrote: > On Mon, Nov 02, 2015 at 12:21:40PM +0800, Bob Liu wrote: >> The per device io_lock became a coarser grained lock after multi-queues/rings >> was introduced, this patch introduced a fine-grained ring_lock for each ring. > > s/was introduced/wa

Re: [Xen-devel] [PATCH v4 04/10] xen/blkfront: split per device io_lock

2015-11-03 Thread Konrad Rzeszutek Wilk
On Mon, Nov 02, 2015 at 12:21:40PM +0800, Bob Liu wrote: > The per device io_lock became a coarser grained lock after multi-queues/rings > was introduced, this patch introduced a fine-grained ring_lock for each ring. s/was introduced/was introduced (see commit titled XYZ)/ s/introdued/introduces/

[Xen-devel] [PATCH v4 04/10] xen/blkfront: split per device io_lock

2015-11-01 Thread Bob Liu
The per device io_lock became a coarser grained lock after multi-queues/rings was introduced, this patch introduced a fine-grained ring_lock for each ring. The old io_lock was renamed to dev_lock and only protect the ->grants list which is shared by all rings. Signed-off-by: Bob Liu --- drivers