Re: [PATCH 2/2] lightnvm: hold nvm_lock until finish the target creation

2016-05-19 Thread Wenwei Tao
Okay, I will rebase it on for-4.8/core. 2016-05-19 20:42 GMT+08:00 Matias Bjørling : > On 05/19/2016 08:38 AM, Wenwei Tao wrote: >> >> From: Wenwei Tao >> >> When create a target, we check whether the target is >> already exist first. If the answer is no,

Re: [PATCH 2/2] lightnvm: hold nvm_lock until finish the target creation

2016-05-19 Thread Wenwei Tao
Okay, I will rebase it on for-4.8/core. 2016-05-19 20:42 GMT+08:00 Matias Bjørling : > On 05/19/2016 08:38 AM, Wenwei Tao wrote: >> >> From: Wenwei Tao >> >> When create a target, we check whether the target is >> already exist first. If the answer is no, we release >> the lock and continue the

Re: [PATCH 2/2] lightnvm: hold nvm_lock until finish the target creation

2016-05-19 Thread Matias Bjørling
On 05/19/2016 08:38 AM, Wenwei Tao wrote: From: Wenwei Tao When create a target, we check whether the target is already exist first. If the answer is no, we release the lock and continue the creation. This cannot prevent concurrent creation of the same target, so hold the

Re: [PATCH 2/2] lightnvm: hold nvm_lock until finish the target creation

2016-05-19 Thread Matias Bjørling
On 05/19/2016 08:38 AM, Wenwei Tao wrote: From: Wenwei Tao When create a target, we check whether the target is already exist first. If the answer is no, we release the lock and continue the creation. This cannot prevent concurrent creation of the same target, so hold the lock until finish the

[PATCH 2/2] lightnvm: hold nvm_lock until finish the target creation

2016-05-19 Thread Wenwei Tao
From: Wenwei Tao When create a target, we check whether the target is already exist first. If the answer is no, we release the lock and continue the creation. This cannot prevent concurrent creation of the same target, so hold the lock until finish the target creation.

[PATCH 2/2] lightnvm: hold nvm_lock until finish the target creation

2016-05-19 Thread Wenwei Tao
From: Wenwei Tao When create a target, we check whether the target is already exist first. If the answer is no, we release the lock and continue the creation. This cannot prevent concurrent creation of the same target, so hold the lock until finish the target creation. Signed-off-by: Wenwei Tao