Fix misuse of blk_rq_stats in blk-iolatency
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v12 patches 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | blk-iolatency: Fix zero mean in previous statsblock/ block/ block/ | +36 | 0 replies | |
| 2/2 | blk-stats: Introduce explicit stat staging buffersblock/ block/ block/ +1 more | +61 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Josef Bacik |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RESEND][PATCH v2 0/2] Fix misuse of blk_rq_stats in blk-iolatency
From: Pavel Begunkov <[email protected]>
There are implicit assumptions about struct blk_rq_stats, which make it's very easy to misuse. The first patch fixes a bug caused by that. The second employs type-system to prevent recurrences.
v2: rebase + reformulate commit messages (no code changes)
Acked-by Josef Bacik <[email protected]>
Pavel Begunkov (2):
blk-iolatency: Fix zero mean in previous stats
blk-stats: Introduce explicit stat staging buffers
block/blk-iolatency.c | 60 ++++++++++++++++++++++++++++++--------- block/blk-stat.c | 48 +++++++++++++++++++++++-------- block/blk-stat.h | 9 ++++-- include/linux/blk_types.h | 6 ++++ 4 files changed, 94 insertions(+), 29 deletions(-)
Signature · 1 line
2.22.0