Bug 7146 - simplify bdi unregistation to fix block layer refcounting bug
Summary: simplify bdi unregistation to fix block layer refcounting bug
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: mm (show other bugs) mm
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: chenglin
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-06 15:59 UTC by chenglin
Modified: 2023-11-17 14:54 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chenglin 2023-11-06 15:59:45 UTC
Description of problem:

this series simplifies the BDI code to get tid of the magic auto-unregister feature that hid a recent block layer refcounting bug.

the delayed release due to multi-reference, Can result in duplicate errors in bdi devices creation.

kernel: sysfs: cannot create duplicate filename '/devices/virtual/bdi/0:110'

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2023-11-06 19:57:00 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2407
Comment 2 Joseph Qi alibaba_cloud_group 2023-11-17 14:54:11 UTC
(In reply to 小龙 from comment #1)
> The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2407

merged