Re: [Qemu-devel] [PATCH v17 02/14] block: Introduce op_blockers to BlockDriverState

2014-04-07 Thread Fam Zheng
On Sun, 04/06 19:49, Jeff Cody wrote: > On Mon, Mar 10, 2014 at 03:25:58PM +0800, Fam Zheng wrote: > > BlockDriverState.op_blockers is an array of lists with BLOCK_OP_TYPE_MAX > > elements. Each list is a list of blockers of an operation type > > (BlockOpType), that marks this BDS as currently bloc

Re: [Qemu-devel] [PATCH v17 02/14] block: Introduce op_blockers to BlockDriverState

2014-04-06 Thread Jeff Cody
On Mon, Mar 10, 2014 at 03:25:58PM +0800, Fam Zheng wrote: > BlockDriverState.op_blockers is an array of lists with BLOCK_OP_TYPE_MAX > elements. Each list is a list of blockers of an operation type > (BlockOpType), that marks this BDS as currently blocked for a certain > type of operation with rea

[Qemu-devel] [PATCH v17 02/14] block: Introduce op_blockers to BlockDriverState

2014-03-10 Thread Fam Zheng
BlockDriverState.op_blockers is an array of lists with BLOCK_OP_TYPE_MAX elements. Each list is a list of blockers of an operation type (BlockOpType), that marks this BDS as currently blocked for a certain type of operation with reason errors stored in the list. The rule of usage is: * BDS user w