Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-13 Thread Bob Liu
On 01/12/2015 07:36 PM, Roger Pau Monné wrote: > El 12/01/15 a les 8.09, Bob Liu ha escrit: >> >> On 01/09/2015 11:51 PM, Roger Pau Monné wrote: >>> El 06/01/15 a les 14.19, Bob Liu ha escrit: When there is no enough free grants, gnttab_alloc_grant_references() will fail and block reques

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-13 Thread Bob Liu
On 01/12/2015 07:36 PM, Roger Pau Monné wrote: > El 12/01/15 a les 8.09, Bob Liu ha escrit: >> >> On 01/09/2015 11:51 PM, Roger Pau Monné wrote: >>> El 06/01/15 a les 14.19, Bob Liu ha escrit: When there is no enough free grants, gnttab_alloc_grant_references() will fail and block reques

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-12 Thread Roger Pau Monné
El 12/01/15 a les 14.04, David Vrabel ha escrit: > On 12/01/15 11:36, Roger Pau Monné wrote: >> El 12/01/15 a les 8.09, Bob Liu ha escrit: >>> >>> On 01/09/2015 11:51 PM, Roger Pau Monné wrote: El 06/01/15 a les 14.19, Bob Liu ha escrit: > When there is no enough free grants, gnttab_alloc_

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-12 Thread David Vrabel
On 12/01/15 11:36, Roger Pau Monné wrote: > El 12/01/15 a les 8.09, Bob Liu ha escrit: >> >> On 01/09/2015 11:51 PM, Roger Pau Monné wrote: >>> El 06/01/15 a les 14.19, Bob Liu ha escrit: When there is no enough free grants, gnttab_alloc_grant_references() will fail and block request queu

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-12 Thread Roger Pau Monné
El 12/01/15 a les 8.09, Bob Liu ha escrit: > > On 01/09/2015 11:51 PM, Roger Pau Monné wrote: >> El 06/01/15 a les 14.19, Bob Liu ha escrit: >>> When there is no enough free grants, gnttab_alloc_grant_references() >>> will fail and block request queue will stop. >>> If the system is always lack of

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-11 Thread Bob Liu
On 01/09/2015 11:51 PM, Roger Pau Monné wrote: > El 06/01/15 a les 14.19, Bob Liu ha escrit: >> When there is no enough free grants, gnttab_alloc_grant_references() >> will fail and block request queue will stop. >> If the system is always lack of grants, blkif_restart_queue_callback() can't >> b

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-11 Thread Bob Liu
On 01/09/2015 11:51 PM, Roger Pau Monné wrote: > El 06/01/15 a les 14.19, Bob Liu ha escrit: >> When there is no enough free grants, gnttab_alloc_grant_references() >> will fail and block request queue will stop. >> If the system is always lack of grants, blkif_restart_queue_callback() can't >> b

Re: [PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-09 Thread Roger Pau Monné
El 06/01/15 a les 14.19, Bob Liu ha escrit: > When there is no enough free grants, gnttab_alloc_grant_references() > will fail and block request queue will stop. > If the system is always lack of grants, blkif_restart_queue_callback() can't > be > scheduled and block request queue can't be restart

[PATCH] xen/blkfront: restart request queue when there is enough persistent_gnts_c

2015-01-06 Thread Bob Liu
When there is no enough free grants, gnttab_alloc_grant_references() will fail and block request queue will stop. If the system is always lack of grants, blkif_restart_queue_callback() can't be scheduled and block request queue can't be restart(block I/O hang). But when there are former requests c