Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 6:00 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi stefa...@gmail.com wrote:

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Fri, Aug 12, 2011 at 1:06 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Aug 12, 2011 at 6:00 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote:

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-10 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: Note:      1.) When bps/iops limits are specified to a small value such as 511 bytes/s, this VM will hang up. We are considering how to handle

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-10 Thread Stefan Hajnoczi
On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: Note:      1.) When bps/iops limits are specified to a small value

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Ram Pai
On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: Note: 1.) When bps/iops limits are specified to a small value such as 511 bytes/s, this VM will hang up. We are considering how to handle this senario. 2.) When dd command is issued in guest, if its option bs is set to a

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: Note:      1.) When bps/iops limits are specified to a small value such as 511 bytes/s, this VM will hang up. We are considering how to handle this senario. If an I/O request is larger than the limit itself then I