[PATCH] lightnvm: pblk: take bitmap alloc. out of critical section

2018-04-18 Thread Javier González
pblk allocates line bitmaps within the line lock unnecessarily. In order to take pressure out of the fast patch, allocate line bitmaps outside of this lock and refactor accordingly. Signed-off-by: Javier González --- drivers/lightnvm/pblk-core.c | 97

[PATCH] lightnvm: pblk: take bitmap alloc. out of critical section

2018-04-18 Thread Javier González
pblk allocates line bitmaps within the line lock unnecessarily. In order to take pressure out of the fast patch, allocate line bitmaps outside of this lock and refactor accordingly. Signed-off-by: Javier González --- drivers/lightnvm/pblk-core.c | 97 +---

Re: [PATCH] lightnvm: pblk: take bitmap alloc. out of critical section

2018-04-18 Thread Javier González
> On 17 Apr 2018, at 04.48, Matias Bjørling wrote: > > On 4/16/18 12:21 PM, Javier González wrote: >> Allocate line bitmaps outside of the line lock on line preparation. >> Signed-off-by: Javier González > > > The patch description tells what the patch

Re: [PATCH] lightnvm: pblk: take bitmap alloc. out of critical section

2018-04-18 Thread Javier González
> On 17 Apr 2018, at 04.48, Matias Bjørling wrote: > > On 4/16/18 12:21 PM, Javier González wrote: >> Allocate line bitmaps outside of the line lock on line preparation. >> Signed-off-by: Javier González > > > The patch description tells what the patch does, it should tell why > the change

Re: [PATCH] lightnvm: pblk: take bitmap alloc. out of critical section

2018-04-17 Thread Matias Bjørling
On 4/16/18 12:21 PM, Javier González wrote: Allocate line bitmaps outside of the line lock on line preparation. Signed-off-by: Javier González The patch description tells what the patch does, it should tell why the change the done. --- drivers/lightnvm/pblk-core.c

Re: [PATCH] lightnvm: pblk: take bitmap alloc. out of critical section

2018-04-17 Thread Matias Bjørling
On 4/16/18 12:21 PM, Javier González wrote: Allocate line bitmaps outside of the line lock on line preparation. Signed-off-by: Javier González The patch description tells what the patch does, it should tell why the change the done. --- drivers/lightnvm/pblk-core.c | 96

[PATCH] lightnvm: pblk: take bitmap alloc. out of critical section

2018-04-16 Thread Javier González
Allocate line bitmaps outside of the line lock on line preparation. Signed-off-by: Javier González --- drivers/lightnvm/pblk-core.c | 96 +--- 1 file changed, 55 insertions(+), 41 deletions(-) diff --git

[PATCH] lightnvm: pblk: take bitmap alloc. out of critical section

2018-04-16 Thread Javier González
Allocate line bitmaps outside of the line lock on line preparation. Signed-off-by: Javier González --- drivers/lightnvm/pblk-core.c | 96 +--- 1 file changed, 55 insertions(+), 41 deletions(-) diff --git a/drivers/lightnvm/pblk-core.c