diff options
author | Ming Lei <[email protected]> | 2022-03-08 06:51:55 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-03-08 19:40:01 -0700 |
commit | 1059699f87eb0b3aa9d574b91a572d534897134a (patch) | |
tree | affbee31ae4a5aa5f88a7a8eb75a89a26d016332 /net/lapb/lapb_in.c | |
parent | 01d0c698536fe920733fc6cab7f9740c7acfdece (diff) |
block: move blkcg initialization/destroy into disk allocation/release handler
blkcg works on FS bio level, so it is reasonable to make both blkcg and
gendisk sharing same lifetime. Meantime there won't be any FS IO when
releasing disk, so safe to move blkcg initialization/destroy into disk
allocation/release handler
Long term, we can move blkcg into gendisk completely.
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[axboe: fixup missing blk-cgroup.h include]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions