mbox series

[0/3] blk-cgroup: three small fixes

Message ID 20231117023527.3188627-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series blk-cgroup: three small fixes | expand

Message

Ming Lei Nov. 17, 2023, 2:35 a.m. UTC
Hello,

The first 2 fixes lockdep warnings.

The last one tries to deactivate policy after blkgs are destroyed.


Ming Lei (3):
  blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock
    required!"
  blk-cgroup: avoid to warn !rcu_read_lock_held() in blkg_lookup()
  blk-cgroup: bypass blkcg_deactivate_policy after destroying

 block/blk-cgroup.c   | 13 +++++++++++++
 block/blk-cgroup.h   |  2 --
 block/blk-throttle.c |  2 ++
 3 files changed, 15 insertions(+), 2 deletions(-)

Comments

Jens Axboe Nov. 17, 2023, 5:49 p.m. UTC | #1
On Fri, 17 Nov 2023 10:35:21 +0800, Ming Lei wrote:
> The first 2 fixes lockdep warnings.
> 
> The last one tries to deactivate policy after blkgs are destroyed.
> 
> 
> Ming Lei (3):
>   blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock
>     required!"
>   blk-cgroup: avoid to warn !rcu_read_lock_held() in blkg_lookup()
>   blk-cgroup: bypass blkcg_deactivate_policy after destroying
> 
> [...]

Applied, thanks!

[1/3] blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
      commit: 27b13e209ddca5979847a1b57890e0372c1edcee
[2/3] blk-cgroup: avoid to warn !rcu_read_lock_held() in blkg_lookup()
      commit: 35a99d6557cacbc177314735342f77a2dda41872
[3/3] blk-cgroup: bypass blkcg_deactivate_policy after destroying
      commit: e63a57303599b17290cd8bc48e6f20b24289a8bc

Best regards,