Re: [PATCH v1 3/7] xen-blkback: implement LRU mechanism for persistent grants

2013-04-17 Thread Konrad Rzeszutek Wilk
On Mon, Apr 15, 2013 at 01:19:38PM +0200, Roger Pau Monné wrote: > On 09/04/13 17:42, Konrad Rzeszutek Wilk wrote: > > On Wed, Mar 27, 2013 at 12:10:39PM +0100, Roger Pau Monne wrote: > >> This mechanism allows blkback to change the number of grants > >> persistently mapped at run time. > >> > >> T

Re: [PATCH v1 3/7] xen-blkback: implement LRU mechanism for persistent grants

2013-04-15 Thread Roger Pau Monné
On 09/04/13 17:42, Konrad Rzeszutek Wilk wrote: > On Wed, Mar 27, 2013 at 12:10:39PM +0100, Roger Pau Monne wrote: >> This mechanism allows blkback to change the number of grants >> persistently mapped at run time. >> >> The algorithm uses a simple LRU mechanism that removes (if needed) the >> pers

Re: [PATCH v1 3/7] xen-blkback: implement LRU mechanism for persistent grants

2013-04-09 Thread Konrad Rzeszutek Wilk
On Wed, Mar 27, 2013 at 12:10:39PM +0100, Roger Pau Monne wrote: > This mechanism allows blkback to change the number of grants > persistently mapped at run time. > > The algorithm uses a simple LRU mechanism that removes (if needed) the > persistent grants that have not been used since the last L

[PATCH v1 3/7] xen-blkback: implement LRU mechanism for persistent grants

2013-03-27 Thread Roger Pau Monne
This mechanism allows blkback to change the number of grants persistently mapped at run time. The algorithm uses a simple LRU mechanism that removes (if needed) the persistent grants that have not been used since the last LRU run, or if all grants have been used it removes the first grants in the