md: Change active_io to percpu
Status from this message: Applied to md-next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyApplied
- v12 patches 5 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | md: Factor out is_md_suspended helperdrivers/ | +12 | 0 replies | |
| 2/2 | md: Change active_io to percpudrivers/ drivers/ | +25 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/2] md: Change active_io to percpu
Hi all
This is a optimization for active_io. Now it's atomic type and added/decreased when io comes, but it's only needed to be checked when suspending raid. So we can change it to percpu type.
The first patch factors out a helper function which is used in the second patch.
The patches have been tested by regression test under tests directory. I did a performance test too. In my environment there is no big change.
Xiao Ni (2):
Factor out is_md_suspended helper
md: Change active_io to percpu
drivers/md/md.c | 50 ++++++++++++++++++++++++++++++------------------- drivers/md/md.h | 2 +- 2 files changed, 32 insertions(+), 20 deletions(-)
Signature · 1 line
2.32.0 (Apple Git-132)