The patchset which is related to btrfs in -1017.
  
  - btrfs: avoid NULL pointer dereference if no valid extent tree
    - btrfs: use bio_is_zone_append() in the completion handler
    - btrfs: handle bio_split() errors
    - btrfs: flush delalloc workers queue before stopping cleaner kthread during
    - btrfs: sysfs: fix direct super block member reads
    - btrfs: add and use helper to verify the calling task has locked the inode
    - btrfs: fix race with memory mapped writes when activating swap file
    - btrfs: fix swap file activation failure due to extents that used to be
    - btrfs: check folio mapping after unlock in put_file_data()
    - btrfs: allow swap activation to be interruptible
    - btrfs: avoid monopolizing a core when activating a swap file
    - btrfs: check folio mapping after unlock in relocate_one_folio()
    - btrfs: fix use-after-free when COWing tree bock and tracing is enabled
    - btrfs: fix transaction atomicity bug when enabling simple quotas
    - btrfs: tree-checker: reject inline extent items with 0 ref count
    - btrfs: split bios to the fs sector size boundary
    - btrfs: fix improper generation check in snapshot delete
    - btrfs: avoid unnecessary device path update for the same device
    - btrfs: do not clear read-only when adding sprout device
    - btrfs: fix missing snapshot drew unlock when root is dead during swap
    - btrfs: canonicalize the device path before adding it
    - btrfs: add the missing error handling inside get_canonical_dev_path
    - btrfs: drop unused parameter options from open_ctree()
    - btrfs: drop unused parameter data from btrfs_fill_super()
    - btrfs: fix mount failure due to remount races
    - btrfs: don't take dev_replace rwsem on task already holding it
    - btrfs: drop unused parameter file_offset from
      btrfs_encoded_read_regular_fill_pages()
    - btrfs: change btrfs_encoded_read() so that reading of extent is done by
    - btrfs: rename btrfs_submit_bio() to btrfs_submit_bbio()
    - btrfs: move priv off stack in btrfs_encoded_read_regular_fill_pages()
    - btrfs: fix use-after-free in btrfs_encoded_read_endio()
    - btrfs: don't loop for nowait writes when checking for cross references
    - btrfs: ref-verify: fix use-after-free after invalid ref action
    - btrfs: add a sanity check for btrfs root in btrfs_search_slot()

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2103682

Title:
  ubuntu_btrfs_kernel_fixes failed on N-oem-6.11

Status in ubuntu-kernel-tests:
  New
Status in linux-oem-6.11 package in Ubuntu:
  New
Status in linux-oem-6.11 source package in Noble:
  New

Bug description:
  Label:              (null)
  UUID:               95a500a1-e39f-4257-97c0-c0580bdbe736
  Node size:          16384
  Sector size:        4096
  Filesystem size:    2.00GiB
  Block group profiles:
    Data:             single            8.00MiB
    Metadata:         RAID1           102.38MiB
    System:           RAID1             8.00MiB
  SSD detected:       no
  Zoned device:       no
  Incompat features:  extref, skinny-metadata, no-holes, free-space-tree
  Runtime features:   free-space-tree
  Checksum:           crc32c
  Number of devices:  2
  Devices:
     ID        SIZE  PATH
      1     1.00GiB  /dev/loop0
      2     1.00GiB  /dev/loop1

  ERROR: error adding device '/dev/loop3': Read-only file system
  WARNING: Multiple block group profiles detected, see 'man btrfs(5)'
  WARNING:    Metadata: single, raid1
  Performing full device TRIM /dev/loop2 (1.00GiB) ...
  Performing full device TRIM /dev/loop3 (1.00GiB) ...
  btrfs device add /dev/loop2 /dev/loop3 
/tmp/mnt-671415b7db49f62896f0b6d50fc4f312a0512983 failed

  ...

       Steps to reproduce:
        # mkfs.btrfs -m raid1
        # btrfstune -S 1
        # mount
        # btrfs device add
        # mount -o remount,rw
        # dd if=/dev/zero of=/tmpfile bs=1M count=1
        Deadlock happened.

   btrfs-progs v6.6.3
   See https://btrfs.readthedocs.io for more information.

   Performing full device TRIM /dev/loop0 (1.00GiB) ...
   Performing full device TRIM /dev/loop1 (1.00GiB) ...
   NOTE: several default settings have changed in version 5.15, please make sure
         this does not affect your deployments:
         - DUP for metadata (-m dup)
         - enabled no-holes (-O no-holes)
         - enabled free-space-tree (-R free-space-tree)

   Label:              (null)
   UUID:               95a500a1-e39f-4257-97c0-c0580bdbe736
   Node size:          16384
   Sector size:        4096
   Filesystem size:    2.00GiB
   Block group profiles:
     Data:             single            8.00MiB
     Metadata:         RAID1           102.38MiB
     System:           RAID1             8.00MiB
   SSD detected:       no
   Zoned device:       no
   Incompat features:  extref, skinny-metadata, no-holes, free-space-tree
   Runtime features:   free-space-tree
   Checksum:           crc32c
   Number of devices:  2
   Devices:
      ID        SIZE  PATH
       1     1.00GiB  /dev/loop0
       2     1.00GiB  /dev/loop1

   ERROR: error adding device '/dev/loop3': Read-only file system
   WARNING: Multiple block group profiles detected, see 'man btrfs(5)'
   WARNING:    Metadata: single, raid1
   Performing full device TRIM /dev/loop2 (1.00GiB) ...
   Performing full device TRIM /dev/loop3 (1.00GiB) ...
   btrfs device add /dev/loop2 /dev/loop3 
/tmp/mnt-671415b7db49f62896f0b6d50fc4f312a0512983 failed

   FAIL: 671415b7db49f62896f0b6d50fc4f312a0512983 (ret=1)

  dmesg output from a manual test:
  [  113.423686] Invoking test 671415b7db49f62896f0b6d50fc4f312a0512983
  [  113.434257] loop0: detected capacity change from 0 to 2097152
  [  113.437345] loop1: detected capacity change from 0 to 2097152
  [  113.440622] loop2: detected capacity change from 0 to 2097152
  [  113.447844] loop3: detected capacity change from 0 to 2097152
  [  113.520515] BTRFS: device fsid 821f9874-df4d-4e70-a10e-35c48662fc21 devid 
1 transid 6 /dev/loop0 (7:0) scanned by mkfs.btrfs (1878)
  [  113.520627] BTRFS: device fsid 821f9874-df4d-4e70-a10e-35c48662fc21 devid 
2 transid 6 /dev/loop1 (7:1) scanned by mkfs.btrfs (1878)
  [  113.554798] BTRFS info (device loop0): first mount of filesystem 
821f9874-df4d-4e70-a10e-35c48662fc21
  [  113.554827] BTRFS info (device loop0): using crc32c (crc32c-intel) 
checksum algorithm
  [  113.554832] BTRFS info (device loop0): using free-space-tree
  [  113.591732] BTRFS info (device loop0): relocating block group 255197184 
flags system
  [  113.597470] BTRFS info (device loop0): found 1 extents, stage: move data 
extents
  [  113.601712] BTRFS info (device loop0): relocating block group 22020096 
flags system|raid1
  [  113.607623] BTRFS info (device loop0): disk added /dev/loop2
  [  113.621211] Test 671415b7db49f62896f0b6d50fc4f312a0512983 returned 0
  [  123.646494] BTRFS info (device loop0): last unmount of filesystem 
9666e6e9-6894-4493-bb04-79293b02fc15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2103682/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to