Re: [PATCH V2] lightnvm: pblk: fix race condition on GC

2019-02-05 Thread Matias Bjørling
On 2/1/19 3:38 AM, Heiner Litz wrote: This patch fixes a race condition where a write is mapped to the last sectors of a line. The write is synced to the device but the L2P is not updated yet. When the line is garbage collected before the L2P update is performed, the sectors are ignored by the GC

Re: [PATCH V2] lightnvm: pblk: fix race condition on GC

2019-02-04 Thread Hans Holmberg
Thanks Heiner, it's awesome to get this fixed! Reviewed-by: Hans Holmberg On Mon, Feb 4, 2019 at 9:19 AM Javier González wrote: > > > On 1 Feb 2019, at 03.38, Heiner Litz wrote: > > > > This patch fixes a race condition where a write is mapped to the last > > sectors of a line. The write is sy

Re: [PATCH V2] lightnvm: pblk: fix race condition on GC

2019-02-04 Thread Javier González
> On 1 Feb 2019, at 03.38, Heiner Litz wrote: > > This patch fixes a race condition where a write is mapped to the last > sectors of a line. The write is synced to the device but the L2P is not > updated yet. When the line is garbage collected before the L2P update is > performed, the sectors are

[PATCH V2] lightnvm: pblk: fix race condition on GC

2019-01-31 Thread Heiner Litz
This patch fixes a race condition where a write is mapped to the last sectors of a line. The write is synced to the device but the L2P is not updated yet. When the line is garbage collected before the L2P update is performed, the sectors are ignored by the GC logic and the line is freed before all