+20
−1
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAKQB5 CVE: CVE-2024-43855 -------------------------------- When a flush is issued to an RAID array, a child flush IO is created and issued for each member disk in the RAID array. Since patch b75197e86e6d ("md: Remove flush handling"), each child flush IO has been chained with the original bio. As a result, the failure of any child IO could modify the bi_status of the original bio, potentially impacting the upper-layer filesystem. Fix the issue by preventing child flush IO from altering the original bio->bi_status as before. However, this design introduces a known issue: in the event of a power failure, if a flush IO on a member disk fails, the upper layers may not be informed. This issue will be fixed in a future patch. Fixes: b75197e86e6d ("md: Remove flush handling") Signed-off-by:Li Nan <linan122@huawei.com>