Message ID | 743c4b33-2bf8-7c76-95af-62043c2aaeeb@mellanox.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
> IMO this issue was fixed in mlx5_core function mlx5_get_vector_affinity. > It was a long discussion regarding this fix and it will be fixed again in 4.17. After > the final fix, it should go to stable kernel as well. Thanks Max. So current 4.17-rc5 has a fix now? Or fix is not in yet? > Meanwhile I can suggest a fast workaround for you if needed (or other > solutions as well): > diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index > 0f840ec..dd92cb9 100644 > --- a/drivers/nvme/host/rdma.c > +++ b/drivers/nvme/host/rdma.c > @@ -2236,7 +2236,7 @@ static int nvme_rdma_map_queues(struct > blk_mq_tag_set *set) > .init_hctx = nvme_rdma_init_hctx, > .poll = nvme_rdma_poll, > .timeout = nvme_rdma_timeout, > - .map_queues = nvme_rdma_map_queues, > }; Thanks, I'll give this a shot. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 5/15/2018 2:09 AM, Gruher, Joseph R wrote: >> IMO this issue was fixed in mlx5_core function mlx5_get_vector_affinity. >> It was a long discussion regarding this fix and it will be fixed again in 4.17. After >> the final fix, it should go to stable kernel as well. > > Thanks Max. So current 4.17-rc5 has a fix now? Or fix is not in yet? The latest fix is not there. SaeedM should push it this week. > >> Meanwhile I can suggest a fast workaround for you if needed (or other >> solutions as well): >> diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index >> 0f840ec..dd92cb9 100644 >> --- a/drivers/nvme/host/rdma.c >> +++ b/drivers/nvme/host/rdma.c >> @@ -2236,7 +2236,7 @@ static int nvme_rdma_map_queues(struct >> blk_mq_tag_set *set) >> .init_hctx = nvme_rdma_init_hctx, >> .poll = nvme_rdma_poll, >> .timeout = nvme_rdma_timeout, >> - .map_queues = nvme_rdma_map_queues, >> }; > > Thanks, I'll give this a shot. > Great. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> >> Meanwhile I can suggest a fast workaround for you if needed (or other > >> solutions as well): > >> diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c > >> index > >> 0f840ec..dd92cb9 100644 > >> --- a/drivers/nvme/host/rdma.c > >> +++ b/drivers/nvme/host/rdma.c > >> @@ -2236,7 +2236,7 @@ static int nvme_rdma_map_queues(struct > >> blk_mq_tag_set *set) > >> .init_hctx = nvme_rdma_init_hctx, > >> .poll = nvme_rdma_poll, > >> .timeout = nvme_rdma_timeout, > >> - .map_queues = nvme_rdma_map_queues, > >> }; > > > > Thanks, I'll give this a shot. > > > > Great. Max, I'm not having much luck rebuilding with this code change, to be honest building the kernel from source is not something I'm used to doing. You mentioned other workarounds may exist, are there any that don't involve rebuilding from the kernel source? Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 5/15/2018 11:28 PM, Gruher, Joseph R wrote: > >>>> Meanwhile I can suggest a fast workaround for you if needed (or other >>>> solutions as well): >>>> diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c >>>> index >>>> 0f840ec..dd92cb9 100644 >>>> --- a/drivers/nvme/host/rdma.c >>>> +++ b/drivers/nvme/host/rdma.c >>>> @@ -2236,7 +2236,7 @@ static int nvme_rdma_map_queues(struct >>>> blk_mq_tag_set *set) >>>> .init_hctx = nvme_rdma_init_hctx, >>>> .poll = nvme_rdma_poll, >>>> .timeout = nvme_rdma_timeout, >>>> - .map_queues = nvme_rdma_map_queues, >>>> }; >>> >>> Thanks, I'll give this a shot. >>> >> >> Great. > > Max, I'm not having much luck rebuilding with this code change, to be honest building the kernel from source is not something I'm used to doing. You mentioned other workarounds may exist, are there any that don't involve rebuilding from the kernel source? other WA is to install MLNX_OFED package. if this option is good for you so please send me an email. > > Thanks! > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> On 5/15/2018 2:09 AM, Gruher, Joseph R wrote: > >> IMO this issue was fixed in mlx5_core function mlx5_get_vector_affinity. > >> It was a long discussion regarding this fix and it will be fixed > >> again in 4.17. After the final fix, it should go to stable kernel as well. > > > > Thanks Max. So current 4.17-rc5 has a fix now? Or fix is not in yet? > > The latest fix is not there. SaeedM should push it this week. > Hey Max, was just hoping to confirm if this fix made it in? Do you know which kernel release would first include it? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 6/6/2018 5:29 AM, Gruher, Joseph R wrote: >> On 5/15/2018 2:09 AM, Gruher, Joseph R wrote: >>>> IMO this issue was fixed in mlx5_core function mlx5_get_vector_affinity. >>>> It was a long discussion regarding this fix and it will be fixed >>>> again in 4.17. After the final fix, it should go to stable kernel as well. >>> >>> Thanks Max. So current 4.17-rc5 has a fix now? Or fix is not in yet? >> >> The latest fix is not there. SaeedM should push it this week. >> > > Hey Max, was just hoping to confirm if this fix made it in? Do you know which kernel release would first include it? > Hey, Commit e3ca34880652250f524022ad89e516f8ba9a805b was pushed to 4.17. -Max. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index 0f840ec..dd92cb9 100644 --- a/drivers/nvme/host/rdma.c +++ b/drivers/nvme/host/rdma.c @@ -2236,7 +2236,7 @@ static int nvme_rdma_map_queues(struct blk_mq_tag_set *set) .init_hctx = nvme_rdma_init_hctx, .poll = nvme_rdma_poll, .timeout = nvme_rdma_timeout, - .map_queues = nvme_rdma_map_queues, };