Re: [PATCHv2] tcmu: Add fifo type waiter list support to avoid starvation

2017-11-08 Thread Mike Christie
On 11/08/2017 04:35 PM, Bryant G. Ly wrote: > > On 7/30/17 5:10 PM, Nicholas A. Bellinger wrote: > >> Hi Xiubo, >> >> Apologies for the delayed response. Comments below. >> >> On Wed, 2017-07-12 at 15:16 +0800, lixi...@cmss.chinamobile.com wrote: >>> From: Xiubo Li

Re: [PATCHv2] tcmu: Add fifo type waiter list support to avoid starvation

2017-11-08 Thread Bryant G. Ly
On 7/30/17 5:10 PM, Nicholas A. Bellinger wrote: > Hi Xiubo, > > Apologies for the delayed response. Comments below. > > On Wed, 2017-07-12 at 15:16 +0800, lixi...@cmss.chinamobile.com wrote: >> From: Xiubo Li >> >> The fifo type waiter list will hold the udevs

Re: [PATCHv2] tcmu: Add fifo type waiter list support to avoid starvation

2017-07-30 Thread Nicholas A. Bellinger
Hi Xiubo, Apologies for the delayed response. Comments below. On Wed, 2017-07-12 at 15:16 +0800, lixi...@cmss.chinamobile.com wrote: > From: Xiubo Li > > The fifo type waiter list will hold the udevs who are waiting for the > blocks from the data global pool. The

Re: [PATCHv2] tcmu: Add fifo type waiter list support to avoid starvation

2017-07-12 Thread Mike Christie
On 07/12/2017 02:16 AM, lixi...@cmss.chinamobile.com wrote: > From: Xiubo Li > > The fifo type waiter list will hold the udevs who are waiting for the > blocks from the data global pool. The unmap thread will try to feed the > first udevs in waiter list, if the

[PATCHv2] tcmu: Add fifo type waiter list support to avoid starvation

2017-07-12 Thread lixiubo
From: Xiubo Li The fifo type waiter list will hold the udevs who are waiting for the blocks from the data global pool. The unmap thread will try to feed the first udevs in waiter list, if the global free blocks available are not enough, it will stop traversing the