Re: [PATCH 8/9] lightnvm: pblk: gc all lines in the pipeline before exit

2017-10-03 Thread Javier González
> On 3 Oct 2017, at 12.05, Hans Holmberg wrote: > > From: Hans Holmberg > > Finish garbage collect of the lines that are in the gc pipeline > before exiting. Ensure that all lines already in in the pipeline > goes through, from read to write. > > Do this by keeping track of how many lines are

[PATCH 8/9] lightnvm: pblk: gc all lines in the pipeline before exit

2017-10-03 Thread Hans Holmberg
From: Hans Holmberg Finish garbage collect of the lines that are in the gc pipeline before exiting. Ensure that all lines already in in the pipeline goes through, from read to write. Do this by keeping track of how many lines are in the pipeline and waiting for that number to reach zero before e