Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btrfs-progs: open the devices exclusively for writes #888

Merged
merged 1 commit into from
Sep 12, 2024

Commits on Sep 11, 2024

  1. btrfs-progs: open the devices exclusively for writes

    There is an internal report that, during btrfs-convert to block-group
    tree, by accident some systemd events triggered the mount of the target
    fs.
    
    This leads to double mount (one by kernel and one by the btrfs-progs),
    which seems to cause quite some problems.
    
    To avoid such accident, exclusively opens all devices if btrfs-progs is
    doing write operations.
    
    Reported-by: pandada8 <[email protected]>
    Signed-off-by: Qu Wenruo <[email protected]>
    adam900710 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    b8fa678 View commit details
    Browse the repository at this point in the history