Bug 4471 - BUG:dm linear设备reload自身触发crash
Summary: BUG:dm linear设备reload自身触发crash
Status: RESOLVED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 4.19-026.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-10 10:36 UTC by ljubomir
Modified: 2023-08-17 17:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ljubomir inspur_group 2023-03-10 10:36:10 UTC
Description of problem:

dm linear设备reload自身触发crash

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

kernel-4.19.91-26

How reproducible:

必现

Steps to Reproduce:
1.dmsetup create test --table "0 20971520 linear /dev/sda 0"
2.dmsetup suspend test
3.dmsetup reload test --table "0 2048 linear /dev/mapper/test 0"
4.dmsetup resume test

Actual results:
触发内核panic

Expected results:
reload后设备正常使用

Additional info:
Comment 1 GuixinLiu alibaba_cloud_group 2023-08-17 17:28:07 UTC
已合入devel-4.19,commit为:806ac4d03b1be814a12c06e9be23f5dba62b34a7