Bug 26487 - btrfs: end up with failing to replay the log tree with -EINVAL
Summary: btrfs: end up with failing to replay the log tree with -EINVAL
Status: RESOLVED FIXED
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: fs (show other bugs) fs
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Ferry Meng
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-20 11:03 UTC by chuguangqing
Modified: 2025-10-23 10:23 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 chuguangqing inspur_group 2025-10-20 11:03:57 UTC
1) create new file A
    2) write some data to file A
    3) open an fd on file A
    4) unlink file A
    5) fsync file A using the previously open fd
    6) create file B (has higher inode number than file A)
    7) fsync file B
    8) power fail before current transaction commits
Comment 2 Joseph Qi alibaba_cloud_group 2025-10-23 10:23:17 UTC
(In reply to Joseph Qi from comment #1)
> https://gitee.com/anolis/cloud-kernel/pulls/5890

merged