blktrace: various cleanups and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 31 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | blktrace: fix possible memory leakkernel/ | +1 | 3 replies | |
| 2/7 | blktrace: make blk_tracer_enabled a bool flagkernel/ | +3 | 4 replies | |
| 3/7 | blktrace: remove blk_probe_mutexkernel/ | +5 | 6 replies | |
| 4/7 | blktrace: don't increase blk_probes_ref if failed to setup blk tracekernel/ | +3 | 3 replies | |
| 5/7 | blktrace: report EBUSY correctlykernel/ | +3 | 4 replies | |
| 6/7 | blktrace: remove sysfs_blk_trace_enable_show/store()kernel/ | +21 | 4 replies | |
| 7/7 | blktrace: avoid accessing NULL bdev->bd_diskkernel/ | +11 | 4 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Frederic Weisbecker | Arnaldo Carvalho de Melo | Steven Rostedt |
|---|---|---|---|
| Series | A-b | ||
| 1/7 | A-b A-b | A-b A-b | |
| 2/7 | A-b A-b | A-b A-b | |
| 3/7 | A-b A-b | A-b | |
| 4/7 | A-b A-b | A-b A-b | |
| 5/7 | A-b A-b | A-b A-b | |
| 6/7 | A-b A-b | A-b A-b | |
| 7/7 | A-b A-b | A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/7] blktrace: various cleanups and fixes
While trying to use blktrace in -tip tree, I encounted kernel NULL dereference, so I looked into the code, and then found some other bugs.
This patchset is part 1, and I have some other pending fixes.
Each patch is small and straightforward, and should be easy to review:
[PATCH 1/7] blktrace: fix possible memory leak
[PATCH 2/7] blktrace: make blk_tracer_enabled a bool flag
[PATCH 3/7] blktrace: remove blk_probe_mutex
[PATCH 4/7] blktrace: don't increase blk_probes_ref if failed to setup blk trace [PATCH 5/7] blktrace: report EBUSY correctly
[PATCH 6/7] blktrace: remove sysfs_blk_trace_enable_show/store() [PATCH 7/7] blktrace: avoid accessing NULL bdev->bd_disk
--- blktrace.c | 154 +++++++++++++++++-------------------------------------------- 1 file changed, 45 insertions(+), 109 deletions(-)