Ensure that a request queue is dissociated from the cgroup controller
Status from this message: Thanks, applied for 4.19.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 4 repliesApplied
- v42 patches 6 repliesSuperseded
- v32 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 1 reply | Superseded | |
| v1 | 1 patch | 21 replies | Superseded |
Changes in v5 from the cover letter
- Instead of using #ifdef CONFIG_CGROUP / #endif, introduced a new function in the cgroups code.
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | blkcg: Introduce blkg_root_lookup()include/ | +18 | 3 replies | |
| 2/3 | block: Introduce blk_exit_queue()block/ block/ | +31 | 0 replies | |
| 3/3 | block: Ensure that a request queue is dissociated from the cgroup controllerblock/ | +15 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Alexandru Moise |
|---|---|---|
| 1/3 | ||
| 2/3 | R-b | |
| 3/3 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/3] Ensure that a request queue is dissociated from the cgroup controller
Hello Jens,
Several block drivers call alloc_disk() followed by put_disk() if something fails before device_add_disk() is called without calling blk_cleanup_queue(). Make sure that also for this scenario a request queue is dissociated from the cgroup controller. This patch avoids that loading the parport_pc, paride and pf drivers trigger a kernel crash. Since this patch series fixes a regression, please consider these patches for kernel v4.19.
Thanks,
Bart.
Changes between v4 and v5:
- Instead of using #ifdef CONFIG_CGROUP / #endif, introduced a new function in the cgroups code.
Changes between v3 and v4:
- Added "Cc: stable" tags.
Changes between v2 and v3:
- Avoid code duplication by introducing a new helper function.
Changes between v1 and v2:
- Fixed the build for CONFIG_BLK_CGROUP=n.
Bart Van Assche (3):
blkcg: Introduce blkg_root_lookup()
block: Introduce blk_exit_queue()
block: Ensure that a request queue is dissociated from the cgroup
controller
block/blk-core.c | 54 +++++++++++++++++++++----------------- block/blk-sysfs.c | 15 +++++++++++ block/blk.h | 1 + include/linux/blk-cgroup.h | 18 +++++++++++++ 4 files changed, 64 insertions(+), 24 deletions(-)
Signature · 1 line
2.18.0