Re: [PATCH 3/3] nvme: change the interface between nvme and lightnvm

2015-11-25 Thread Wenwei Tao
You are right. Reset it to zero is not necessary. 2015-11-25 23:13 GMT+08:00 Matias Bjørling : > On 11/25/2015 01:42 PM, Wenwei Tao wrote: >> >> When nvme devices were removed, we need to handle the targets >> build upon them properly: remove the existing targets, block >> creations of new ones.

Re: [PATCH 3/3] nvme: change the interface between nvme and lightnvm

2015-11-25 Thread Matias Bjørling
On 11/25/2015 01:42 PM, Wenwei Tao wrote: When nvme devices were removed, we need to handle the targets build upon them properly: remove the existing targets, block creations of new ones. To do this clean up job well, we need to change the interface between nvme and lightnvm. Signed-off-by:

[PATCH 3/3] nvme: change the interface between nvme and lightnvm

2015-11-25 Thread Wenwei Tao
When nvme devices were removed, we need to handle the targets build upon them properly: remove the existing targets, block creations of new ones. To do this clean up job well, we need to change the interface between nvme and lightnvm. Signed-off-by: Wenwei Tao --- drivers/nvme/host/lightnvm.c |

Re: [PATCH 3/3] nvme: change the interface between nvme and lightnvm

2015-11-25 Thread Wenwei Tao
You are right. Reset it to zero is not necessary. 2015-11-25 23:13 GMT+08:00 Matias Bjørling : > On 11/25/2015 01:42 PM, Wenwei Tao wrote: >> >> When nvme devices were removed, we need to handle the targets >> build upon them properly: remove the existing targets, block >>

Re: [PATCH 3/3] nvme: change the interface between nvme and lightnvm

2015-11-25 Thread Matias Bjørling
On 11/25/2015 01:42 PM, Wenwei Tao wrote: When nvme devices were removed, we need to handle the targets build upon them properly: remove the existing targets, block creations of new ones. To do this clean up job well, we need to change the interface between nvme and lightnvm. Signed-off-by:

[PATCH 3/3] nvme: change the interface between nvme and lightnvm

2015-11-25 Thread Wenwei Tao
When nvme devices were removed, we need to handle the targets build upon them properly: remove the existing targets, block creations of new ones. To do this clean up job well, we need to change the interface between nvme and lightnvm. Signed-off-by: Wenwei Tao ---