Re: [PATCH] nvme-multipath: implement active-active round-robin path selector

2018-03-29 Thread Baegjae Sung
2018-03-29 4:47 GMT+09:00 Keith Busch : > On Wed, Mar 28, 2018 at 10:06:46AM +0200, Christoph Hellwig wrote: >> For PCIe devices the right policy is not a round robin but to use >> the pcie device closer to the node. I did a prototype for that >> long ago and the concept

Re: [PATCH] nvme-multipath: implement active-active round-robin path selector

2018-03-29 Thread Baegjae Sung
2018-03-29 4:47 GMT+09:00 Keith Busch : > On Wed, Mar 28, 2018 at 10:06:46AM +0200, Christoph Hellwig wrote: >> For PCIe devices the right policy is not a round robin but to use >> the pcie device closer to the node. I did a prototype for that >> long ago and the concept can work. Can you look

[PATCH] nvme-multipath: implement active-active round-robin path selector

2018-03-26 Thread Baegjae Sung
ads. The queue depth for each thread was 64. Signed-off-by: Baegjae Sung <baeg...@gmail.com> --- drivers/nvme/host/core.c | 49 +++ drivers/nvme/host/multipath.c | 45 ++- drivers/nvme/host/nvme.h | 8 +++

[PATCH] nvme-multipath: implement active-active round-robin path selector

2018-03-26 Thread Baegjae Sung
ads. The queue depth for each thread was 64. Signed-off-by: Baegjae Sung --- drivers/nvme/host/core.c | 49 +++ drivers/nvme/host/multipath.c | 45 ++- drivers/nvme/host/nvme.h | 8 +++ 3 files changed,

[PATCH v2] nvme-multipath: fix sysfs dangerously created links

2018-02-27 Thread Baegjae Sung
ree vendors of dual-port NVMe SSDs. Signed-off-by: Baegjae Sung <baeg...@gmail.com> --- drivers/nvme/host/core.c | 12 +++- drivers/nvme/host/multipath.c | 15 ++- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers/

[PATCH v2] nvme-multipath: fix sysfs dangerously created links

2018-02-27 Thread Baegjae Sung
ree vendors of dual-port NVMe SSDs. Signed-off-by: Baegjae Sung --- drivers/nvme/host/core.c | 12 +++- drivers/nvme/host/multipath.c | 15 ++- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c in

Re: [PATCH] nvme-multipath: fix sysfs dangerously created links

2018-02-26 Thread Baegjae Sung
2018-02-27 1:24 GMT+09:00 Keith Busch <keith.bu...@intel.com>: > On Mon, Feb 26, 2018 at 05:51:23PM +0900, baeg...@gmail.com wrote: >> From: Baegjae Sung <baeg...@gmail.com> >> >> If multipathing is enabled, each NVMe subsystem creates a head >> namespa

Re: [PATCH] nvme-multipath: fix sysfs dangerously created links

2018-02-26 Thread Baegjae Sung
2018-02-27 1:24 GMT+09:00 Keith Busch : > On Mon, Feb 26, 2018 at 05:51:23PM +0900, baeg...@gmail.com wrote: >> From: Baegjae Sung >> >> If multipathing is enabled, each NVMe subsystem creates a head >> namespace (e.g., nvme0n1) and multiple private namespaces >&g