RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr'
Subsystems (4)
PATCH 1/1 RDMA/rds: remove unused struct 'rds_ib_dereg_odp_mr'
From: "Dr. David Alan Gilbert" <[email protected]>
'rds_ib_dereg_odp_mr' has been unused since the original commit 2eafa1746f17 ("net/rds: Handle ODP mr registration/unregistration").
Remove it.
--- net/rds/ib_rdma.c | 4 ---- 1 file changed, 4 deletions(-)
net/rds/ib_rdma.c +0 -4
@@ -40,10 +40,6 @@#include "rds.h" struct workqueue_struct *rds_ib_mr_wq; -struct rds_ib_dereg_odp_mr { -struct work_struct work; -struct ib_mr *mr; -};static void rds_ib_odp_mr_worker (struct work_struct *work);
Signature · 1 line
2.45.1
Quoted 5 lines · On Sat, Jun 01, 2024 at 12:33:07AM +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").
nit: Maybe commit lines are best not line-wrapped.
I'm unsure.
Quoted 4 lines
Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
The above not withstanding, this looks good to me.
Quoted 9 lines · * Simon Horman ([email protected]) wrote:
Quoted 5 lines · On Sat, Jun 01, 2024 at 12:33:07AM +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").nit: Maybe commit lines are best not line-wrapped.
I'm unsure.
Yeh I wasn't too sure, checkpatch seems to have code to deal with it, so it is expecting it could be wrapped:
# A commit match can span multiple lines so this block attempts to find a
# complete typical commit on a maximum of 3 lines
Quoted 8 lines
Quoted 4 lines
Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>The above not withstanding, this looks good to me.
Reviewed-by Simon Horman <[email protected]>
Thanks!
Dave
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 9 lines · On Sat, 2024-06-01 at 00:33 +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
This patch looks fine to me, the struct is indeed unused at this point. Thanks for the clean up!
Quoted 19 lines
---
net/rds/ib_rdma.c | 4 ----1 file changed, 4 deletions(-)net/rds/ib_rdma.c +0
-0@@ -40,10 +40,6 @@ #include "rds.h"
structworkqueue_struct*rds_ib_mr_wq;net/rds/ib_rdma.c +0
-4-struct rds_ib_dereg_odp_mr { - struct work_struct work; - struct ib_mr *mr; -};
static voidrds_ib_odp_mr_worker(struct work_struct *work);
Quoted 7 lines · * Allison Henderson ([email protected]) wrote:
Quoted 6 lines · On Sat, 2024-06-01 at 00:33 +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").
Quoted 8 lines
Quoted 3 lines
Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>This patch looks fine to me, the struct is indeed unused at this point. Thanks for the clean up!
Reviewed-by Allison Henderson <[email protected]>
Hi,
Does anyone know who might pick this one up - I don't think
it's in -next yet?
Dave
Quoted 20 lines
Quoted 19 lines
---
net/rds/ib_rdma.c | 4 ----1 file changed, 4 deletions(-)net/rds/ib_rdma.c +0
-0@@ -40,10 +40,6 @@ #include "rds.h"
structworkqueue_struct*rds_ib_mr_wq;net/rds/ib_rdma.c +0
-4-struct rds_ib_dereg_odp_mr { - struct work_struct work; - struct ib_mr *mr; -};
static voidrds_ib_odp_mr_worker(struct work_struct *work);
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 12 lines · Dr. David Alan Gilbert
Quoted 11 lines · * Allison Henderson ([email protected]) wrote:
Quoted 9 lines · On Sat, 2024-06-01 at 00:33 +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Quoted 8 lines
Quoted 4 lines
This patch looks fine to me, the struct is indeed unused at this point. Thanks for the clean up!
Reviewed-by Allison Henderson <[email protected]>Hi,
Does anyone know who might pick this one up - I don't think
it's in -next yet?
1. We are in merge window and this patch is not a bug fix, so it should wait until the next merge window.
2. Title should be net/rds ... and not RDMA/rds ...
3. netdev is closed right now, so it should be resubmitted after next merge window ends.
Thanks
Quoted 16 lines · * Leon Romanovsky ([email protected]) wrote:
Quoted 15 lines · Dr. David Alan Gilbert
Quoted 14 lines · * Allison Henderson ([email protected]) wrote:
Quoted 9 lines · On Sat, 2024-06-01 at 00:33 +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>This patch looks fine to me, the struct is indeed unused at this point. Thanks for the clean up!
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Reviewed-by Allison Henderson <[email protected]>Hi,
Does anyone know who might pick this one up - I don't think
it's in -next yet?1. We are in merge window and this patch is not a bug fix, so it should wait until the next merge window.
Yeh I did wonder; it was posted and reviewed back at the start of June.
Quoted 1 line
2. Title should be net/rds ... and not RDMA/rds ...
OK, I can easily fix that.
Quoted 2 lines
3. netdev is closed right now, so it should be resubmitted after next merge window ends.
When you say 'resubmitted' - you mean reposted to the lists with the amended title? Or what?
Dave
Quoted 2 lines
Thanks
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 30 lines · Dr. David Alan Gilbert
Quoted 16 lines · * Leon Romanovsky ([email protected]) wrote:
Quoted 15 lines · Dr. David Alan Gilbert
Quoted 14 lines · * Allison Henderson ([email protected]) wrote:
Quoted 9 lines · On Sat, 2024-06-01 at 00:33 +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>This patch looks fine to me, the struct is indeed unused at this point. Thanks for the clean up!
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Reviewed-by Allison Henderson <[email protected]>Hi,
Does anyone know who might pick this one up - I don't think
it's in -next yet?1. We are in merge window and this patch is not a bug fix, so it should wait until the next merge window.
Yeh I did wonder; it was posted and reviewed back at the start of June.
Quoted 1 line
2. Title should be net/rds ... and not RDMA/rds ...
Quoted 7 lines
OK, I can easily fix that.
Quoted 2 lines
3. netdev is closed right now, so it should be resubmitted after next merge window ends.
When you say 'resubmitted' - you mean reposted to the lists with the amended title? Or what?
Yes, reposted to the netdev@ ML with the correct title.
Thanks
Quoted 10 lines
Dave
Quoted 2 lines
Thanks
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 33 lines · * Leon Romanovsky ([email protected]) wrote:
Quoted 32 lines · Dr. David Alan Gilbert
Quoted 16 lines · * Leon Romanovsky ([email protected]) wrote:
Quoted 15 lines · Dr. David Alan Gilbert
Quoted 14 lines · * Allison Henderson ([email protected]) wrote:
Quoted 9 lines · On Sat, 2024-06-01 at 00:33 +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>This patch looks fine to me, the struct is indeed unused at this point. Thanks for the clean up!
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Reviewed-by Allison Henderson <[email protected]>Hi,
Does anyone know who might pick this one up - I don't think
it's in -next yet?1. We are in merge window and this patch is not a bug fix, so it should wait until the next merge window.
Yeh I did wonder; it was posted and reviewed back at the start of June.
Quoted 1 line
2. Title should be net/rds ... and not RDMA/rds ...
OK, I can easily fix that.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
3. netdev is closed right now, so it should be resubmitted after next merge window ends.
When you say 'resubmitted' - you mean reposted to the lists with the amended title? Or what?
Yes, reposted to the netdev@ ML with the correct title.
OK, reposted as
Message-ID: [email protected]
Dave
Quoted 13 lines
Thanks
Quoted 10 lines
Dave
Quoted 2 lines
Thanks
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 8 lines · 在 2024/6/1 1:33, [email protected] 写道:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").Remove it.
Need Fixes?
registration/unregistration")
Zhu Yanjun
Quoted 20 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- net/rds/ib_rdma.c | 4 ---- 1 file changed, 4 deletions(-)net/rds/ib_rdma.c +0
-4@@ -40,10 +40,6 @@#include "rds.h" struct workqueue_struct *rds_ib_mr_wq; -struct rds_ib_dereg_odp_mr { -struct work_struct work; -struct ib_mr *mr; -};static void rds_ib_odp_mr_worker (struct work_struct *work);
Quoted 7 lines · * Zhu Yanjun ([email protected]) wrote:
Quoted 6 lines · 在 2024/6/1 1:33, [email protected] 写道:
From: "Dr. David Alan Gilbert" <[email protected]>
'
rds_ib_dereg_odp_mr' has been unused since the original commit2eafa1746f17("net/rds: Handle ODP mr registration/unregistration").
Quoted 6 lines
Quoted 2 lines
Remove it.
Need Fixes?
Fixes 2eafa1746f17 ("net/rds: Handle ODP mrregistration/unregistration")
I've not been using Fixes on these, because they have no actual consequence - there's no need for stable or downstream to pick them up, which is what Fixes is often used for.
Quoted 1 line
Reviewed-by Zhu Yanjun <[email protected]>
Thanks,
Dave
Quoted 20 lines
Zhu Yanjun
Quoted 17 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- net/rds/ib_rdma.c | 4 ---- 1 file changed, 4 deletions(-)net/rds/ib_rdma.c +0
-4@@ -40,10 +40,6 @@#include "rds.h" struct workqueue_struct *rds_ib_mr_wq; -struct rds_ib_dereg_odp_mr { -struct work_struct work; -struct ib_mr *mr; -};static void rds_ib_odp_mr_worker (struct work_struct *work);
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/