Skip to content

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Nov 5, 2023

Without the change BTRFS_IOC_SCAN_DEV aliased with BTRFS_IOC_FORGET_DEV. It's a regression introduced in fcd9142 "btrfs-progs: docs: formatting, fixups, updates".

It manifests as a sudden device disappearance when device is scanned:

machine # [    4.095032] Btrfs loaded, crc32c=crc32c-intel, zoned=no, fsverity=no
machine # ERROR: device scan failed on '/dev/vdb': No such file or directory
machine # ERROR: device scan failed on '/dev/vdc': No such file or directory
(finished: must succeed: mkfs.btrfs -d raid0 /dev/vdb /dev/vdc, in 10.31 seconds)

Reported-by: Atemu atemu.main@gmail.com
Bug: NixOS/nixpkgs#265668

Without the change `BTRFS_IOC_SCAN_DEV` aliased with `BTRFS_IOC_FORGET_DEV`.
It's a regression introduced in fcd9142 "btrfs-progs: docs: formatting,
fixups, updates".

It manifests as a sudden device disappearance when device is scanned:

    machine # [    4.095032] Btrfs loaded, crc32c=crc32c-intel, zoned=no, fsverity=no
    machine # ERROR: device scan failed on '/dev/vdb': No such file or directory
    machine # ERROR: device scan failed on '/dev/vdc': No such file or directory
    (finished: must succeed: mkfs.btrfs -d raid0 /dev/vdb /dev/vdc, in 10.31 seconds)

Reported-by: Atemu <atemu.main@gmail.com>
Bug: NixOS/nixpkgs#265668
@kdave
Copy link
Owner

kdave commented Nov 5, 2023

It's a regression introduced in fcd9142 "btrfs-progs: docs: formatting, fixups, updates".

Oh crap, that was an accidental edit in uapi/btrfs.h, thanks for the fix, I'll do a quick bugfix release.

kdave pushed a commit that referenced this pull request Nov 5, 2023
Without the change `BTRFS_IOC_SCAN_DEV` aliased with `BTRFS_IOC_FORGET_DEV`.
It's a regression introduced in fcd9142 "btrfs-progs: docs: formatting,
fixups, updates".

It manifests as a sudden device disappearance when device is scanned:

    machine # [    4.095032] Btrfs loaded, crc32c=crc32c-intel, zoned=no, fsverity=no
    machine # ERROR: device scan failed on '/dev/vdb': No such file or directory
    machine # ERROR: device scan failed on '/dev/vdc': No such file or directory
    (finished: must succeed: mkfs.btrfs -d raid0 /dev/vdb /dev/vdc, in 10.31 seconds)

Issue: #704
Pull-request: #706
Reported-by: Atemu <atemu.main@gmail.com>
Bug: NixOS/nixpkgs#265668
Author: Sergei Trofimovich <slyich@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
@kdave
Copy link
Owner

kdave commented Nov 5, 2023

Merged and released as v6.6.1, thanks again.

@kdave kdave closed this Nov 5, 2023
@trofi trofi deleted the fix-BTRFS_IOC_SCAN_DEV-definition branch November 6, 2023 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants