Bug 3877 - [ANCK 5.10]多个nvme磁盘同时执行分区创建分区、删除分区时有几率引起宕机
Summary: [ANCK 5.10]多个nvme磁盘同时执行分区创建分区、删除分区时有几率引起宕机
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: block/storage (show other bugs) block/storage
Version: 5.10.y-13
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: cuishw
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-30 10:41 UTC by cuishw
Modified: 2023-01-30 15:12 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 cuishw inspur_group 2023-01-30 10:41:46 UTC
Description of problem:

复现方法:
系统中存在多个nvme磁盘,同时对这些磁盘执行创建分区、删除分区,可能会导致新建的分区使用了重复的次设备号,进而导致后续的一系列异常(可能导致gendisk被异常释放),5.10-stable已经解决了这个问题,需要合入以下patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=5f2f775605917aa5087ee5c6f3339da94c100679
Comment 1 Joseph Qi alibaba_cloud_group 2023-01-30 15:12:27 UTC
merged at:
https://gitee.com/anolis/cloud-kernel/pulls/1082