All of lore.kernel.org
 help / color / mirror / Atom feed
* Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
@ 2026-10-19 14:31 Jochen Philipp
  2026-10-20  9:26 ` Johannes Thumshirn
  0 siblings, 1 reply; 16+ messages in thread
From: Jochen Philipp @ 2026-10-19 14:31 UTC (permalink / raw)
  To: linux-btrfs

Hi, I'm hitting a reproducible transaction abort with -EAGAIN on a
host-managed SMR drive. The filesystem is forced read-only during
plain sequential writes. Hardware: - WDC WSH722626ALN607 (Ultrastar DC
HC670 26TB, SATA, host-managed) - connected directly to onboard SATA
(Intel X99 AHCI), 6 Gbps - drive reports write cache disabled, no
DPO/FUA support Software: - Kernel: 7.2.11-200.nobara.fc44.x86_64
(Nobara/Fedora based, tainted by Nvidia out-of-tree modules) -
btrfs-progs v7.1 Zone info ( NAME ZONED        ZONE-SZ ZONE-NR
ZONE-AMAX ZONE-OMAX ZONE-APP ZONE-WGRAN
sda  host-managed    128M  191776         0       128      32M         4K
> max_open_zones / max_active_zones from sysfs: <128 0> Filesystem created with default options: mkfs.btrfs -L archiv /dev/sda (zoned detected automatically, metadata DUP, data single, block-group-tree enabled) Workload: Single rsync job copying large video files (2.5-4.5 GB each) sequentially from a USB drive, ~160 MB/s. No other writers. The abort happened twice: first after ~4.3 TB written (with Dolphin, possibly two files in flight), second time ~10 minutes after remount with a single sequential rsync. What I checked: - no ATA/SCSI errors in dmesg around the abort - SMART clean (no reallocated/pending sectors, no CRC errors, no command timeouts, error log empty) - btrfs check --readonly after the first abort: no errors found - plenty of unallocated space (19.5 TiB of 23.4 TiB) btrfs filesystem usage: < Overall:
   Device size:                  23.41TiB
   Device allocated:              3.96TiB
   Device unallocated:           19.45TiB
   Device missing:                  0.00B
   Device slack:                    0.00B
   Device zone unusable:          7.79GiB
   Device zone size:            128.00MiB
   Used:                          3.95TiB
   Free (estimated):             19.46TiB      (min: 9.73TiB)
   Free (statfs, df):            19.46TiB
   Data ratio:                       1.00
   Metadata ratio:                   2.00
   Global reserve:              512.00MiB      (used: 0.00B)
   Multiple profiles:                  no

Data,single: Size:3.95TiB, Used:3.94TiB (99.76%)
  /dev/sda        3.95TiB

Metadata,DUP: Size:8.12GiB, Used:5.46GiB (67.18%)
  /dev/sda       16.25GiB

System,DUP: Size:128.00MiB, Used:3.31MiB (2.59%)
  /dev/sda      256.00MiB

Unallocated:
  /dev/sda       19.45TiB

> dmesg of the second occurrence: < Okt 19 16:09:07 nobara-X99 kernel: BTRFS error (device sda): error while writing out transaction: -11
Okt 19 16:09:07 nobara-X99 kernel: ------------[ cut here ]------------
Okt 19 16:09:07 nobara-X99 kernel: btrfs_abort_should_print_stack(__error)
Okt 19 16:09:07 nobara-X99 kernel: WARNING:
fs/btrfs/transaction.c:2606 at btrfs_commit_transaction+0xf6d/0x1000,
CPU#12: btrfs-transacti/35530
Okt 19 16:09:07 nobara-X99 kernel: Modules linked in: overlay uas
usb_storage dm_crypt encrypted_keys trusted asn1_encoder tee loop
nvidia_uvm(OE
) snd_seq_dummy snd_hrtimer mlx4_ib mlx4_en ib_core ptp pps_core
uinput nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet
nft_fib_ipv4
nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6
nft_reject nft_ct rfkill nft_chain_nat nf_nat nf_conntrack
nf_defrag_ipv6 nf_d
efrag_ipv4 nf_tables qrtr sunrpc nvidia_drm(OE) nvidia_modeset(OE)
intel_rapl_msr intel_rapl_common intel_uncore_frequency
intel_uncore_frequency
_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp vfat
snd_hda_codec_alc662 snd_hda_codec_realtek_lib fat
snd_hda_codec_nvhdmi snd_h
da_codec_generic snd_hda_codec_hdmi kvm_intel spi_nor snd_hda_intel
nvidia(OE) mtd snd_hda_codec kvm snd_hda_core iTCO_wdt
spi_intel_platform spi
_intel gpio_ich intel_pmc_bxt snd_intel_dspcfg irqbypass
snd_intel_sdw_acpi r8169 rapl snd_hwdep intel_cstate realtek snd_seq
phy_package snd_seq
_device mdio_devres intel_uncore mxm_wmi
Okt 19 16:09:07 nobara-X99 kernel:  drm_ttm_helper pcspkr libphy
snd_pcm i2c_i801 ttm snd_timer i2c_smbus mdio_bus drm_display_helper
i2c_mux snd
lpc_ich cec soundcore video mousedev joydev mlx4_core mac_hid dm_mod
zram 842_decompress 842_compress lz4hc_compress aesni_intel gf128mul
psmous
e aead wmi serio_raw crypto_user
Okt 19 16:09:07 nobara-X99 kernel: CPU: 12 UID: 0 PID: 35530 Comm:
btrfs-transacti Tainted: G        W  OE
7.2.11-200.nobara.fc44.x86_64 #1
PREEMPT(lazy)  8032c1cc6f4c3d56dc9ce283429b1ba1085d0235
Okt 19 16:09:07 nobara-X99 kernel: Tainted: [W]=WARN, [O]=OOT_MODULE,
[E]=UNSIGNED_MODULE
Okt 19 16:09:07 nobara-X99 kernel: Hardware name: MACHINIST /E5-MR9A
PRO, BIOS 5.11 08/05/2024
Okt 19 16:09:07 nobara-X99 kernel: RIP:
0010:btrfs_commit_transaction+0xf6d/0x1000
Okt 19 16:09:07 nobara-X99 kernel: Code: 8b 43 60 f0 48 0f ba a8 88 0a
00 00 02 0f 82 cf 4c 6f ff 8d 45 1e 83 f8 19 77 0f ba 01 00 04 02 48
0f a3
c2 0f 82 92 4c 6f ff <0f> 0b e9 8b 4c 6f ff be 03 00 00 00 4c 89 ef e8
ef b6 2e 00 e9 44
Okt 19 16:09:07 nobara-X99 kernel: RSP: 0018:ffffcea7c8947e28 EFLAGS: 00010296
Okt 19 16:09:07 nobara-X99 kernel: RAX: 0000000000000013 RBX:
ffff8ca04ec27078 RCX: 0000000000000001
Okt 19 16:09:07 nobara-X99 kernel: RDX: 0000000002040001 RSI:
0000000000000000 RDI: ffff8cac607e1bc0
Okt 19 16:09:07 nobara-X99 kernel: RBP: 00000000fffffff5 R08:
ffff8cafbff4b801 R09: ffffffffb2bd32c0
Okt 19 16:09:07 nobara-X99 kernel: R10: ffffcea7c8947bd0 R11:
ffffcea7c8947bc8 R12: ffff8ca21087e000
Okt 19 16:09:07 nobara-X99 kernel: R13: ffff8ca21087e468 R14:
ffff8ca0f9973200 R15: ffff8ca21087e470
Okt 19 16:09:07 nobara-X99 kernel: FS:  0000000000000000(0000)
GS:ffff8cafccfe0000(0000) knlGS:0000000000000000
Okt 19 16:09:07 nobara-X99 kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Okt 19 16:09:07 nobara-X99 kernel: CR2: 00000edc094d8000 CR3:
0000000fd2a22005 CR4: 00000000003726f0
Okt 19 16:09:07 nobara-X99 kernel: Call Trace:
Okt 19 16:09:07 nobara-X99 kernel:  <TASK>
Okt 19 16:09:07 nobara-X99 kernel:  ? start_transaction+0x337/0x8b0
Okt 19 16:09:07 nobara-X99 kernel:  ? schedule_timeout_interruptible+0x10/0x150
Okt 19 16:09:07 nobara-X99 kernel:  transaction_kthread+0x152/0x1c0
Okt 19 16:09:07 nobara-X99 kernel:  ? __pfx_transaction_kthread+0x10/0x10
Okt 19 16:09:07 nobara-X99 kernel:  kthread+0xe4/0x120
Okt 19 16:09:07 nobara-X99 kernel:  ? __pfx_kthread+0x10/0x10
Okt 19 16:09:07 nobara-X99 kernel:  ret_from_fork+0x292/0x330
Okt 19 16:09:07 nobara-X99 kernel:  ? __pfx_kthread+0x10/0x10
Okt 19 16:09:07 nobara-X99 kernel:  ret_from_fork_asm+0x1a/0x30
Okt 19 16:09:07 nobara-X99 kernel:  </TASK>
Okt 19 16:09:07 nobara-X99 kernel: ---[ end trace 0000000000000000 ]---
Okt 19 16:09:07 nobara-X99 kernel: BTRFS error (device sda state A):
Transaction 860 aborted (error -11)
Okt 19 16:09:07 nobara-X99 kernel: BTRFS: error (device sda state A)
in btrfs_commit_transaction:2606: errno=-11 unknown
Okt 19 16:09:07 nobara-X99 kernel: BTRFS info (device sda state EA):
forced readonly
Okt 19 16:09:07 nobara-X99 kernel: _btrfs_printk: 50 callbacks suppressed
Okt 19 16:09:07 nobara-X99 kernel: BTRFS warning (device sda state
EA): Skipping commit of aborted transaction.
Okt 19 16:09:07 nobara-X99 kernel: BTRFS: error (device sda state EA)
in cleanup_transaction:2077: errno=-11 unknown

> The trace only shows the abort in btrfs_commit_transaction, not where -EAGAIN originated. I'm happy to test patches, enable debug options or try a different kernel if that helps. Claude helped me with this message I'm German  Thanks, Jochen

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-10-19 14:31 Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only Jochen Philipp
@ 2026-10-20  9:26 ` Johannes Thumshirn
       [not found]   ` <CAD=K2o_-NwLNpvNE+OreAmsvX+izzZnb2R1nCBV0gDf6fH=kmw@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Johannes Thumshirn @ 2026-10-20  9:26 UTC (permalink / raw)
  To: Jochen Philipp, linux-btrfs

On 19.10.26 16:31, Jochen Philipp wrote:
> Hi, I'm hitting a reproducible transaction abort with -EAGAIN on a
> host-managed SMR drive. The filesystem is forced read-only during
> plain sequential writes. Hardware: - WDC WSH722626ALN607 (Ultrastar DC
> HC670 26TB, SATA, host-managed) - connected directly to onboard SATA
> (Intel X99 AHCI), 6 Gbps - drive reports write cache disabled, no
> DPO/FUA support Software: - Kernel: 7.2.11-200.nobara.fc44.x86_64
> (Nobara/Fedora based, tainted by Nvidia out-of-tree modules) -
> btrfs-progs v7.1 Zone info ( NAME ZONED        ZONE-SZ ZONE-NR
> ZONE-AMAX ZONE-OMAX ZONE-APP ZONE-WGRAN
> sda  host-managed    128M  191776         0       128      32M         4K
>> max_open_zones / max_active_zones from sysfs: <128 0> Filesystem created with default options: mkfs.btrfs -L archiv /dev/sda (zoned detected automatically, metadata DUP, data single, block-group-tree enabled) Workload: Single rsync job copying large video files (2.5-4.5 GB each) sequentially from a USB drive, ~160 MB/s. No other writers. The abort happened twice: first after ~4.3 TB written (with Dolphin, possibly two files in flight), second time ~10 minutes after remount with a single sequential rsync. What I checked: - no ATA/SCSI errors in dmesg around the abort - SMART clean (no reallocated/pending sectors, no CRC errors, no command timeouts, error log empty) - btrfs check --readonly after the first abort: no errors found - plenty of unallocated space (19.5 TiB of 23.4 TiB) btrfs filesystem usage: < Overall:
>     Device size:                  23.41TiB
>     Device allocated:              3.96TiB
>     Device unallocated:           19.45TiB
>     Device missing:                  0.00B
>     Device slack:                    0.00B
>     Device zone unusable:          7.79GiB
>     Device zone size:            128.00MiB
>     Used:                          3.95TiB
>     Free (estimated):             19.46TiB      (min: 9.73TiB)
>     Free (statfs, df):            19.46TiB
>     Data ratio:                       1.00
>     Metadata ratio:                   2.00
>     Global reserve:              512.00MiB      (used: 0.00B)
>     Multiple profiles:                  no
> 
> Data,single: Size:3.95TiB, Used:3.94TiB (99.76%)
>    /dev/sda        3.95TiB
> 
> Metadata,DUP: Size:8.12GiB, Used:5.46GiB (67.18%)
>    /dev/sda       16.25GiB
> 
> System,DUP: Size:128.00MiB, Used:3.31MiB (2.59%)
>    /dev/sda      256.00MiB
> 
> Unallocated:
>    /dev/sda       19.45TiB
> 
>> dmesg of the second occurrence: < Okt 19 16:09:07 nobara-X99 kernel: BTRFS error (device sda): error while writing out transaction: -11
> Okt 19 16:09:07 nobara-X99 kernel: ------------[ cut here ]------------
> Okt 19 16:09:07 nobara-X99 kernel: btrfs_abort_should_print_stack(__error)
> Okt 19 16:09:07 nobara-X99 kernel: WARNING:
> fs/btrfs/transaction.c:2606 at btrfs_commit_transaction+0xf6d/0x1000,
> CPU#12: btrfs-transacti/35530
> Okt 19 16:09:07 nobara-X99 kernel: Modules linked in: overlay uas
> usb_storage dm_crypt encrypted_keys trusted asn1_encoder tee loop
> nvidia_uvm(OE
> ) snd_seq_dummy snd_hrtimer mlx4_ib mlx4_en ib_core ptp pps_core
> uinput nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet
> nft_fib_ipv4
> nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6
> nft_reject nft_ct rfkill nft_chain_nat nf_nat nf_conntrack
> nf_defrag_ipv6 nf_d
> efrag_ipv4 nf_tables qrtr sunrpc nvidia_drm(OE) nvidia_modeset(OE)
> intel_rapl_msr intel_rapl_common intel_uncore_frequency
> intel_uncore_frequency
> _common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp vfat
> snd_hda_codec_alc662 snd_hda_codec_realtek_lib fat
> snd_hda_codec_nvhdmi snd_h
> da_codec_generic snd_hda_codec_hdmi kvm_intel spi_nor snd_hda_intel
> nvidia(OE) mtd snd_hda_codec kvm snd_hda_core iTCO_wdt
> spi_intel_platform spi
> _intel gpio_ich intel_pmc_bxt snd_intel_dspcfg irqbypass
> snd_intel_sdw_acpi r8169 rapl snd_hwdep intel_cstate realtek snd_seq
> phy_package snd_seq
> _device mdio_devres intel_uncore mxm_wmi
> Okt 19 16:09:07 nobara-X99 kernel:  drm_ttm_helper pcspkr libphy
> snd_pcm i2c_i801 ttm snd_timer i2c_smbus mdio_bus drm_display_helper
> i2c_mux snd
> lpc_ich cec soundcore video mousedev joydev mlx4_core mac_hid dm_mod
> zram 842_decompress 842_compress lz4hc_compress aesni_intel gf128mul
> psmous
> e aead wmi serio_raw crypto_user
> Okt 19 16:09:07 nobara-X99 kernel: CPU: 12 UID: 0 PID: 35530 Comm:
> btrfs-transacti Tainted: G        W  OE
> 7.2.11-200.nobara.fc44.x86_64 #1
> PREEMPT(lazy)  8032c1cc6f4c3d56dc9ce283429b1ba1085d0235
> Okt 19 16:09:07 nobara-X99 kernel: Tainted: [W]=WARN, [O]=OOT_MODULE,
> [E]=UNSIGNED_MODULE
> Okt 19 16:09:07 nobara-X99 kernel: Hardware name: MACHINIST /E5-MR9A
> PRO, BIOS 5.11 08/05/2024
> Okt 19 16:09:07 nobara-X99 kernel: RIP:
> 0010:btrfs_commit_transaction+0xf6d/0x1000
> Okt 19 16:09:07 nobara-X99 kernel: Code: 8b 43 60 f0 48 0f ba a8 88 0a
> 00 00 02 0f 82 cf 4c 6f ff 8d 45 1e 83 f8 19 77 0f ba 01 00 04 02 48
> 0f a3
> c2 0f 82 92 4c 6f ff <0f> 0b e9 8b 4c 6f ff be 03 00 00 00 4c 89 ef e8
> ef b6 2e 00 e9 44
> Okt 19 16:09:07 nobara-X99 kernel: RSP: 0018:ffffcea7c8947e28 EFLAGS: 00010296
> Okt 19 16:09:07 nobara-X99 kernel: RAX: 0000000000000013 RBX:
> ffff8ca04ec27078 RCX: 0000000000000001
> Okt 19 16:09:07 nobara-X99 kernel: RDX: 0000000002040001 RSI:
> 0000000000000000 RDI: ffff8cac607e1bc0
> Okt 19 16:09:07 nobara-X99 kernel: RBP: 00000000fffffff5 R08:
> ffff8cafbff4b801 R09: ffffffffb2bd32c0
> Okt 19 16:09:07 nobara-X99 kernel: R10: ffffcea7c8947bd0 R11:
> ffffcea7c8947bc8 R12: ffff8ca21087e000
> Okt 19 16:09:07 nobara-X99 kernel: R13: ffff8ca21087e468 R14:
> ffff8ca0f9973200 R15: ffff8ca21087e470
> Okt 19 16:09:07 nobara-X99 kernel: FS:  0000000000000000(0000)
> GS:ffff8cafccfe0000(0000) knlGS:0000000000000000
> Okt 19 16:09:07 nobara-X99 kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
> 0000000080050033
> Okt 19 16:09:07 nobara-X99 kernel: CR2: 00000edc094d8000 CR3:
> 0000000fd2a22005 CR4: 00000000003726f0
> Okt 19 16:09:07 nobara-X99 kernel: Call Trace:
> Okt 19 16:09:07 nobara-X99 kernel:  <TASK>
> Okt 19 16:09:07 nobara-X99 kernel:  ? start_transaction+0x337/0x8b0
> Okt 19 16:09:07 nobara-X99 kernel:  ? schedule_timeout_interruptible+0x10/0x150
> Okt 19 16:09:07 nobara-X99 kernel:  transaction_kthread+0x152/0x1c0
> Okt 19 16:09:07 nobara-X99 kernel:  ? __pfx_transaction_kthread+0x10/0x10
> Okt 19 16:09:07 nobara-X99 kernel:  kthread+0xe4/0x120
> Okt 19 16:09:07 nobara-X99 kernel:  ? __pfx_kthread+0x10/0x10
> Okt 19 16:09:07 nobara-X99 kernel:  ret_from_fork+0x292/0x330
> Okt 19 16:09:07 nobara-X99 kernel:  ? __pfx_kthread+0x10/0x10
> Okt 19 16:09:07 nobara-X99 kernel:  ret_from_fork_asm+0x1a/0x30
> Okt 19 16:09:07 nobara-X99 kernel:  </TASK>
> Okt 19 16:09:07 nobara-X99 kernel: ---[ end trace 0000000000000000 ]---
> Okt 19 16:09:07 nobara-X99 kernel: BTRFS error (device sda state A):
> Transaction 860 aborted (error -11)
> Okt 19 16:09:07 nobara-X99 kernel: BTRFS: error (device sda state A)
> in btrfs_commit_transaction:2606: errno=-11 unknown
> Okt 19 16:09:07 nobara-X99 kernel: BTRFS info (device sda state EA):
> forced readonly
> Okt 19 16:09:07 nobara-X99 kernel: _btrfs_printk: 50 callbacks suppressed
> Okt 19 16:09:07 nobara-X99 kernel: BTRFS warning (device sda state
> EA): Skipping commit of aborted transaction.
> Okt 19 16:09:07 nobara-X99 kernel: BTRFS: error (device sda state EA)
> in cleanup_transaction:2077: errno=-11 unknown
> 
>> The trace only shows the abort in btrfs_commit_transaction, not where -EAGAIN originated. I'm happy to test patches, enable debug options or try a different kernel if that helps. Claude helped me with this message I'm German  Thanks, Jochen
> 

Hi Jochen,

I made a couple of fixes for -EAGAIN returns on zoned FSes that landed 
in 7.3. Can you check 7.3? There's two possibilities that might bite you 
here. One is a hole in the metadata write stream and one is a transient 
relocation error. Both will bubble up as -EAGAIN without these fixes.

Thanks a lot,
	Johannes

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
       [not found]             ` <30a6e871-8578-4d27-bb0a-679b94fb7f92@wdc.com>
@ 2026-11-05 13:36               ` Jochen Philipp
       [not found]                 ` <CAD=K2o_MwSF_XS=iRu8GMPhH2Sn6t3bsKLm5BLOjZ34tV4aRvg@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Jochen Philipp @ 2026-11-05 13:36 UTC (permalink / raw)
  To: Johannes Thumshirn; +Cc: linux-btrfs

Hi Johannes,

no problem, hope you had a good vacation!

Dropping the list was not on purpose, sorry about that - re-added
it. Happy to stay in English here for the archive.

The full 'blkzone report /dev/sda' output is ~191k lines, so I've
sent it to you off-list as an xz-compressed attachment.

The fs is currently mounted read-only via fstab, untouched since
the last abort. I'll leave it like that until you tell me
otherwise.

Thanks,
Jochen

Am Do., 5. Nov. 2026 um 14:07 Uhr schrieb Johannes Thumshirn
<johannes.thumshirn@wdc.com>:
>
> On 11/2/26 1:28 PM, Jochen Philipp wrote:
> > Hi Johannes,
> > in addition:
> >
> > On unmount, 26 extent buffers from the aborted transaction could
> > not be released (gen 860, contiguous addresses 16K apart, owners
> > 1/2/4/10/11):
> >
> > [23383.428807] BTRFS info (device sda state EA): last unmount of
> > filesystem d7485764-0e3c-416e-8b4f-56904307949f
> > [23383.451749] BTRFS warning (device sda state EA): unable to release
> > extent buffer 5779683803136 owner 4 gen 860 refs 2 flags 0x7
> > [23383.451756] BTRFS warning (device sda state EA): unable to release
> > extent buffer 5779683819520 owner 10 gen 860 refs 2 flags 0x7
> > [23383.451760] BTRFS warning (device sda state EA): unable to release
> > extent buffer 5779683835904 owner 10 gen 860 refs 2 flags 0x7
> > [23383.451763] BTRFS warning (device sda state EA): unable to release
> > extent buffer 5779683852288 owner 11 gen 860 refs 2 flags 0x7
> > ...
> > [23383.451814] BTRFS warning (device sda state EA): unable to release
> > extent buffer 5779684179968 owner 2 gen 860 refs 2 flags 0x7
> > [23383.451817] BTRFS warning (device sda state EA): unable to release
> > extent buffer 5779684196352 owner 2 gen 860 refs 2 flags 0x7
> > [23383.451820] BTRFS warning (device sda state EA): unable to release
> > extent buffer 5779684212736 owner 1 gen 860 refs 2 flags 0x7
> >
> > ...
> > Thanks,
> > Jochen
> >
> > Am Mo., 2. Nov. 2026 um 13:15 Uhr schrieb Jochen Philipp <a2jphilipp@gmail.com>:
> >> Hi Johannes,
> >>
> >> 7.3 is installed now (7.3.0-203.nobara.fc44), but the filesystem
> >> does not survive the first commit after mount anymore:
> >>
> >> - mounted at boot via fstab, ~60 seconds later the first periodic
> >>    commit fails with -EAGAIN, fs forced read-only
> >> - no user writes at all before the abort
> >> - on-disk transid is 859, the aborted transaction is 860 - the same
> >>    transaction number that was aborted in my second report on 7.2
> >>
> >> My guess as a layman: the aborted commit on 7.2 left something on
> >> disk (maybe partially written metadata in a zone) that the fs now
> >> trips over on every mount. But that's just a guess.
> >>
> >> Nov 02 06:39:23 nobara-X99 kernel: mlx4_en: ens4: Steering Mode 1
> >> Nov 02 06:39:24 nobara-X99 kernel: mlx4_en: ens4: Link Down
> >> Nov 02 06:39:26 nobara-X99 kernel: r8169 0000:06:00.0 enp6s0: Link is
> >> Up - 1Gbps/Full - flow control off
> >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS error (device sda): error
> >> while writing out transaction: -EAGAIN
> >> Nov 02 06:40:20 nobara-X99 kernel: ------------[ cut here ]------------
> >> Nov 02 06:40:20 nobara-X99 kernel: btrfs_abort_should_print_stack(__error)
> >> Nov 02 06:40:20 nobara-X99 kernel: WARNING:
> >> fs/btrfs/transaction.c:2603 at btrfs_commit_transaction+0xf70/0x1000,
> >> CPU#3: btrfs-transacti/1806
> >> Nov 02 06:40:20 nobara-X99 kernel: Modules linked in: nvidia_uvm(OE)
> >> snd_seq_dummy snd_hrtimer mlx4_ib mlx4_en ptp ib_core pps_core
> >> nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet
> >> nft_fib_ipv4 uinput nft_fib_ipv6 nft_fib nft_reject_inet
> >> nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat
> >> nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 rfkill nf_tables qrtr
> >> sunrpc intel_rapl_msr intel_rapl_common intel_uncore_frequency
> >> intel_uncore_frequency_common sb_edac x86_pkg_temp_thermal
> >> intel_powerclamp coretemp vfat nvidia_drm(OE) fat kvm_intel
> >> nvidia_modeset(OE) kvm snd_hda_codec_alc662 spi_nor
> >> snd_hda_codec_realtek_lib mtd snd_hda_codec_generic irqbypass r8169
> >> rapl snd_hda_codec_nvhdmi snd_hda_codec_hdmi intel_cstate realtek
> >> phy_package iTCO_wdt spi_intel_platform spi_intel gpio_ich
> >> intel_pmc_bxt snd_hda_intel intel_uncore mdio_devres i2c_i801
> >> snd_hda_codec mxm_wmi pcspkr nvidia(OE) libphy i2c_smbus mdio_bus
> >> i2c_mux snd_hda_core snd_intel_dspcfg snd_intel_sdw_acpi snd_hwdep
> >> snd_seq mousedev joydev snd_seq_device
> >> Nov 02 06:40:20 nobara-X99 kernel:  drm_ttm_helper snd_pcm ttm
> >> drm_display_helper snd_timer cec snd mlx4_core soundcore video lpc_ich
> >> mac_hid dm_mod zram 842_decompress 842_compress lz4hc_compress
> >> aesni_intel psmouse gf128mul wmi serio_raw crypto_user
> >> Nov 02 06:40:20 nobara-X99 kernel: CPU: 3 UID: 0 PID: 1806 Comm:
> >> btrfs-transacti Tainted: G           OE
> >> 7.3.0-203.nobara.fc44.x86_64 #1 PREEMPT(lazy)
> >> 002a07c3ed1de4339a31acc811ef5db3e3582962
> >> Nov 02 06:40:20 nobara-X99 kernel: Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
> >> Nov 02 06:40:20 nobara-X99 kernel: Hardware name: MACHINIST /E5-MR9A
> >> PRO, BIOS 5.11 08/05/2024
> >> Nov 02 06:40:20 nobara-X99 kernel: RIP:
> >> 0010:btrfs_commit_transaction+0xf70/0x1000
> >> Nov 02 06:40:20 nobara-X99 kernel: Code: 8b 43 60 f0 48 0f ba a8 88 0a
> >> 00 00 02 0f 82 fc f5 6c ff 8d 45 1e 83 f8 19 77 0f ba 01 00 04 02 48
> >> 0f a3 c2 0f 82 bf f5 6c ff <0f> 0b e9 b8 f5 6c ff be 03 00 00 00 4c 89
> >> ef e8 ac 8c 2f 00 e9 41
> >> Nov 02 06:40:20 nobara-X99 kernel: RSP: 0018:ffffce5e815abe28 EFLAGS: 00010296
> >> Nov 02 06:40:20 nobara-X99 kernel: RAX: 0000000000000013 RBX:
> >> ffff8970dcf1e1f0 RCX: 0000000000000001
> >> Nov 02 06:40:20 nobara-X99 kernel: RDX: 0000000002040001 RSI:
> >> 0000000000000000 RDI: ffff8970d6e0d400
> >> Nov 02 06:40:20 nobara-X99 kernel: RBP: 00000000fffffff5 R08:
> >> ffff89803ff49801 R09: ffffffff8d1d9ec0
> >> Nov 02 06:40:20 nobara-X99 kernel: R10: ffffce5e815abbd0 R11:
> >> ffffce5e815abbc8 R12: ffff8970d0a2a000
> >> Nov 02 06:40:20 nobara-X99 kernel: R13: ffff8970d0a2a468 R14:
> >> ffff8970fa392800 R15: ffff8970d0a2a470
> >> Nov 02 06:40:20 nobara-X99 kernel: FS:  0000000000000000(0000)
> >> GS:ffff898072788000(0000) knlGS:0000000000000000
> >> Nov 02 06:40:20 nobara-X99 kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
> >> 0000000080050033
> >> Nov 02 06:40:20 nobara-X99 kernel: CR2: 00007f7fefc07000 CR3:
> >> 0000000060222004 CR4: 00000000003726f0
> >> Nov 02 06:40:20 nobara-X99 kernel: Call Trace:
> >> Nov 02 06:40:20 nobara-X99 kernel:  <TASK>
> >> Nov 02 06:40:20 nobara-X99 kernel:  ? start_transaction+0x337/0x8c0
> >> Nov 02 06:40:20 nobara-X99 kernel:  ? schedule_hrtimeout+0x150/0x150
> >> Nov 02 06:40:20 nobara-X99 kernel:  transaction_kthread+0x152/0x1c0
> >> Nov 02 06:40:20 nobara-X99 kernel:  ? __pfx_transaction_kthread+0x10/0x10
> >> Nov 02 06:40:20 nobara-X99 kernel:  kthread+0xe6/0x120
> >> Nov 02 06:40:20 nobara-X99 kernel:  ? __pfx_kthread+0x10/0x10
> >> Nov 02 06:40:20 nobara-X99 kernel:  ret_from_fork+0x294/0x330
> >> Nov 02 06:40:20 nobara-X99 kernel:  ? __pfx_kthread+0x10/0x10
> >> Nov 02 06:40:20 nobara-X99 kernel:  ret_from_fork_asm+0x1a/0x30
> >> Nov 02 06:40:20 nobara-X99 kernel:  </TASK>
> >> Nov 02 06:40:20 nobara-X99 kernel: ---[ end trace 0000000000000000 ]---
> >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS error (device sda state A):
> >> Transaction 860 aborted (-EAGAIN)
> >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS: error (device sda state A)
> >> in btrfs_commit_transaction:2603: errno=-11 unknown
> >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS info (device sda state EA):
> >> forced readonly
> >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS warning (device sda state
> >> EA): Skipping commit of aborted transaction.
> >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS: error (device sda state EA)
> >> in cleanup_transaction:2074: errno=-11 unknown
> >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS: device label Dateien devid 1
> >> transid 8893 /dev/nvme0n1p1 (259:5) scanned by pool-7 (5400)
> >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> >> first mount of filesystem c70bbc9e-8d1e-416c-8fef-1c8233578d21
> >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> >> using crc32c checksum algorithm
> >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> >> enabling ssd optimizations
> >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> >> turning on async discard
> >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> >> enabling free space tree
> >> Nov 02 07:39:43 nobara-X99 kernel: loop: module loaded
> >> Nov 02 07:39:43 nobara-X99 kernel: loop0: detected capacity change
> >> from 0 to 1824522240
> >>
> >> btrfs check --readonly:
> >> Opening filesystem to check...
> >> Checking filesystem on /dev/sda
> >> UUID: d7485764-0e3c-416e-8b4f-56904307949f
> >> [1/8] checking log skipped (none written)
> >> [2/8] checking root items
> >> [3/8] checking extents
> >> [4/8] checking free space tree
> >> [5/8] checking fs roots
> >> [6/8] checking only csums items (without verifying data)
> >> [7/8] checking root refs
> >> [8/8] checking quota groups skipped (not enabled on this FS)
> >> found 4329982099456 bytes used, no error found
> >> total csum bytes: 4222777424
> >> total tree bytes: 5858017280
> >> total fs tree bytes: 517259264
> >> total extent tree bytes: 572080128
> >> btree space waste bytes: 557473441
> >> file data blocks allocated: 4324124082176
> >>   referenced 4324124082176
> >>
> >> I haven't tried any repair. Reading works. Should I collect
> >> anything else (zone report, dump-super, ...) before touching it?
> >> Or is the fs in a state where recreating it is the only way?
>
> Sorry for the late answer, I've been on vacation for a few days.
>
> OK this is exactly what my patches should've fixed. I'll dig. Can you
> also send me the output of 'blkzone report /dev/sda' so I can check what
> the zone layout on the disks is.
>
>
> Btw did you drop the Mailinglist on purpose? If you don't mind I'd like
> to re-add it (for documentation purposes). But if you did it on purpose,
> I'd also be happy to switch to German (judging from your name and the
> Label of your drive I  think it's your native language as well).
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
       [not found]                 ` <CAD=K2o_MwSF_XS=iRu8GMPhH2Sn6t3bsKLm5BLOjZ34tV4aRvg@mail.gmail.com>
@ 2026-11-05 13:48                   ` Jochen Philipp
  2026-11-05 15:04                     ` Johannes Thumshirn
  0 siblings, 1 reply; 16+ messages in thread
From: Jochen Philipp @ 2026-11-05 13:48 UTC (permalink / raw)
  To: Johannes Thumshirn; +Cc: linux-btrfs

Hi Johannes,

small update: my distro has meanwhile shipped a new kernel,
I'm now running 7.3.1-202.nobara.fc44.x86_64 .

I haven't tested with it yet, the fs is still mounted read-only
via fstab. Should I try a read-write mount with the new kernel,
or do you want the on-disk state left untouched until you've
looked at the zone report?

Thanks,
Jochen

Am Do., 5. Nov. 2026 um 14:38 Uhr schrieb Jochen Philipp <a2jphilipp@gmail.com>:
>
> Hallo Johannes,
>
> wie versprochen der blkzone-Report im Anhang (191.776 Zeilen,
> xz-komprimiert).
>
> Danke auch für das Angebot, auf Deutsch zu wechseln. Auf der
> Liste bleibe ich der Dokumentation zuliebe bei Englisch, aber
> hier privat ist es für mich natürlich einfacher.
>
> Der Offenheit halber, wie schon in meiner ersten Mail erwähnt:
> Ich bin gelernter Fachinformatiker, aber kein Kernel- oder
> Dateisystem-Entwickler. Bei der Analyse und beim Verstehen der
> Logs hat mir Claude (Anthropic) geholfen. Die Befehle führe ich
> selbst aus und nur, wenn ich verstanden habe, was sie tun. Falls
> du mir also etwas zum Testen schickst, bin ich für eine kurze
> Erklärung dankbar, was der Schritt bewirkt.
>
> Viele Grüße
> Jochen
>
> Am Do., 5. Nov. 2026 um 14:36 Uhr schrieb Jochen Philipp <a2jphilipp@gmail.com>:
> >
> > Hi Johannes,
> >
> > no problem, hope you had a good vacation!
> >
> > Dropping the list was not on purpose, sorry about that - re-added
> > it. Happy to stay in English here for the archive.
> >
> > The full 'blkzone report /dev/sda' output is ~191k lines, so I've
> > sent it to you off-list as an xz-compressed attachment.
> >
> > The fs is currently mounted read-only via fstab, untouched since
> > the last abort. I'll leave it like that until you tell me
> > otherwise.
> >
> > Thanks,
> > Jochen
> >
> > Am Do., 5. Nov. 2026 um 14:07 Uhr schrieb Johannes Thumshirn
> > <johannes.thumshirn@wdc.com>:
> > >
> > > On 11/2/26 1:28 PM, Jochen Philipp wrote:
> > > > Hi Johannes,
> > > > in addition:
> > > >
> > > > On unmount, 26 extent buffers from the aborted transaction could
> > > > not be released (gen 860, contiguous addresses 16K apart, owners
> > > > 1/2/4/10/11):
> > > >
> > > > [23383.428807] BTRFS info (device sda state EA): last unmount of
> > > > filesystem d7485764-0e3c-416e-8b4f-56904307949f
> > > > [23383.451749] BTRFS warning (device sda state EA): unable to release
> > > > extent buffer 5779683803136 owner 4 gen 860 refs 2 flags 0x7
> > > > [23383.451756] BTRFS warning (device sda state EA): unable to release
> > > > extent buffer 5779683819520 owner 10 gen 860 refs 2 flags 0x7
> > > > [23383.451760] BTRFS warning (device sda state EA): unable to release
> > > > extent buffer 5779683835904 owner 10 gen 860 refs 2 flags 0x7
> > > > [23383.451763] BTRFS warning (device sda state EA): unable to release
> > > > extent buffer 5779683852288 owner 11 gen 860 refs 2 flags 0x7
> > > > ...
> > > > [23383.451814] BTRFS warning (device sda state EA): unable to release
> > > > extent buffer 5779684179968 owner 2 gen 860 refs 2 flags 0x7
> > > > [23383.451817] BTRFS warning (device sda state EA): unable to release
> > > > extent buffer 5779684196352 owner 2 gen 860 refs 2 flags 0x7
> > > > [23383.451820] BTRFS warning (device sda state EA): unable to release
> > > > extent buffer 5779684212736 owner 1 gen 860 refs 2 flags 0x7
> > > >
> > > > ...
> > > > Thanks,
> > > > Jochen
> > > >
> > > > Am Mo., 2. Nov. 2026 um 13:15 Uhr schrieb Jochen Philipp <a2jphilipp@gmail.com>:
> > > >> Hi Johannes,
> > > >>
> > > >> 7.3 is installed now (7.3.0-203.nobara.fc44), but the filesystem
> > > >> does not survive the first commit after mount anymore:
> > > >>
> > > >> - mounted at boot via fstab, ~60 seconds later the first periodic
> > > >>    commit fails with -EAGAIN, fs forced read-only
> > > >> - no user writes at all before the abort
> > > >> - on-disk transid is 859, the aborted transaction is 860 - the same
> > > >>    transaction number that was aborted in my second report on 7.2
> > > >>
> > > >> My guess as a layman: the aborted commit on 7.2 left something on
> > > >> disk (maybe partially written metadata in a zone) that the fs now
> > > >> trips over on every mount. But that's just a guess.
> > > >>
> > > >> Nov 02 06:39:23 nobara-X99 kernel: mlx4_en: ens4: Steering Mode 1
> > > >> Nov 02 06:39:24 nobara-X99 kernel: mlx4_en: ens4: Link Down
> > > >> Nov 02 06:39:26 nobara-X99 kernel: r8169 0000:06:00.0 enp6s0: Link is
> > > >> Up - 1Gbps/Full - flow control off
> > > >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS error (device sda): error
> > > >> while writing out transaction: -EAGAIN
> > > >> Nov 02 06:40:20 nobara-X99 kernel: ------------[ cut here ]------------
> > > >> Nov 02 06:40:20 nobara-X99 kernel: btrfs_abort_should_print_stack(__error)
> > > >> Nov 02 06:40:20 nobara-X99 kernel: WARNING:
> > > >> fs/btrfs/transaction.c:2603 at btrfs_commit_transaction+0xf70/0x1000,
> > > >> CPU#3: btrfs-transacti/1806
> > > >> Nov 02 06:40:20 nobara-X99 kernel: Modules linked in: nvidia_uvm(OE)
> > > >> snd_seq_dummy snd_hrtimer mlx4_ib mlx4_en ptp ib_core pps_core
> > > >> nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet
> > > >> nft_fib_ipv4 uinput nft_fib_ipv6 nft_fib nft_reject_inet
> > > >> nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat
> > > >> nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 rfkill nf_tables qrtr
> > > >> sunrpc intel_rapl_msr intel_rapl_common intel_uncore_frequency
> > > >> intel_uncore_frequency_common sb_edac x86_pkg_temp_thermal
> > > >> intel_powerclamp coretemp vfat nvidia_drm(OE) fat kvm_intel
> > > >> nvidia_modeset(OE) kvm snd_hda_codec_alc662 spi_nor
> > > >> snd_hda_codec_realtek_lib mtd snd_hda_codec_generic irqbypass r8169
> > > >> rapl snd_hda_codec_nvhdmi snd_hda_codec_hdmi intel_cstate realtek
> > > >> phy_package iTCO_wdt spi_intel_platform spi_intel gpio_ich
> > > >> intel_pmc_bxt snd_hda_intel intel_uncore mdio_devres i2c_i801
> > > >> snd_hda_codec mxm_wmi pcspkr nvidia(OE) libphy i2c_smbus mdio_bus
> > > >> i2c_mux snd_hda_core snd_intel_dspcfg snd_intel_sdw_acpi snd_hwdep
> > > >> snd_seq mousedev joydev snd_seq_device
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  drm_ttm_helper snd_pcm ttm
> > > >> drm_display_helper snd_timer cec snd mlx4_core soundcore video lpc_ich
> > > >> mac_hid dm_mod zram 842_decompress 842_compress lz4hc_compress
> > > >> aesni_intel psmouse gf128mul wmi serio_raw crypto_user
> > > >> Nov 02 06:40:20 nobara-X99 kernel: CPU: 3 UID: 0 PID: 1806 Comm:
> > > >> btrfs-transacti Tainted: G           OE
> > > >> 7.3.0-203.nobara.fc44.x86_64 #1 PREEMPT(lazy)
> > > >> 002a07c3ed1de4339a31acc811ef5db3e3582962
> > > >> Nov 02 06:40:20 nobara-X99 kernel: Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
> > > >> Nov 02 06:40:20 nobara-X99 kernel: Hardware name: MACHINIST /E5-MR9A
> > > >> PRO, BIOS 5.11 08/05/2024
> > > >> Nov 02 06:40:20 nobara-X99 kernel: RIP:
> > > >> 0010:btrfs_commit_transaction+0xf70/0x1000
> > > >> Nov 02 06:40:20 nobara-X99 kernel: Code: 8b 43 60 f0 48 0f ba a8 88 0a
> > > >> 00 00 02 0f 82 fc f5 6c ff 8d 45 1e 83 f8 19 77 0f ba 01 00 04 02 48
> > > >> 0f a3 c2 0f 82 bf f5 6c ff <0f> 0b e9 b8 f5 6c ff be 03 00 00 00 4c 89
> > > >> ef e8 ac 8c 2f 00 e9 41
> > > >> Nov 02 06:40:20 nobara-X99 kernel: RSP: 0018:ffffce5e815abe28 EFLAGS: 00010296
> > > >> Nov 02 06:40:20 nobara-X99 kernel: RAX: 0000000000000013 RBX:
> > > >> ffff8970dcf1e1f0 RCX: 0000000000000001
> > > >> Nov 02 06:40:20 nobara-X99 kernel: RDX: 0000000002040001 RSI:
> > > >> 0000000000000000 RDI: ffff8970d6e0d400
> > > >> Nov 02 06:40:20 nobara-X99 kernel: RBP: 00000000fffffff5 R08:
> > > >> ffff89803ff49801 R09: ffffffff8d1d9ec0
> > > >> Nov 02 06:40:20 nobara-X99 kernel: R10: ffffce5e815abbd0 R11:
> > > >> ffffce5e815abbc8 R12: ffff8970d0a2a000
> > > >> Nov 02 06:40:20 nobara-X99 kernel: R13: ffff8970d0a2a468 R14:
> > > >> ffff8970fa392800 R15: ffff8970d0a2a470
> > > >> Nov 02 06:40:20 nobara-X99 kernel: FS:  0000000000000000(0000)
> > > >> GS:ffff898072788000(0000) knlGS:0000000000000000
> > > >> Nov 02 06:40:20 nobara-X99 kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
> > > >> 0000000080050033
> > > >> Nov 02 06:40:20 nobara-X99 kernel: CR2: 00007f7fefc07000 CR3:
> > > >> 0000000060222004 CR4: 00000000003726f0
> > > >> Nov 02 06:40:20 nobara-X99 kernel: Call Trace:
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  <TASK>
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  ? start_transaction+0x337/0x8c0
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  ? schedule_hrtimeout+0x150/0x150
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  transaction_kthread+0x152/0x1c0
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  ? __pfx_transaction_kthread+0x10/0x10
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  kthread+0xe6/0x120
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  ? __pfx_kthread+0x10/0x10
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  ret_from_fork+0x294/0x330
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  ? __pfx_kthread+0x10/0x10
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  ret_from_fork_asm+0x1a/0x30
> > > >> Nov 02 06:40:20 nobara-X99 kernel:  </TASK>
> > > >> Nov 02 06:40:20 nobara-X99 kernel: ---[ end trace 0000000000000000 ]---
> > > >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS error (device sda state A):
> > > >> Transaction 860 aborted (-EAGAIN)
> > > >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS: error (device sda state A)
> > > >> in btrfs_commit_transaction:2603: errno=-11 unknown
> > > >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS info (device sda state EA):
> > > >> forced readonly
> > > >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS warning (device sda state
> > > >> EA): Skipping commit of aborted transaction.
> > > >> Nov 02 06:40:20 nobara-X99 kernel: BTRFS: error (device sda state EA)
> > > >> in cleanup_transaction:2074: errno=-11 unknown
> > > >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS: device label Dateien devid 1
> > > >> transid 8893 /dev/nvme0n1p1 (259:5) scanned by pool-7 (5400)
> > > >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> > > >> first mount of filesystem c70bbc9e-8d1e-416c-8fef-1c8233578d21
> > > >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> > > >> using crc32c checksum algorithm
> > > >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> > > >> enabling ssd optimizations
> > > >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> > > >> turning on async discard
> > > >> Nov 02 07:38:52 nobara-X99 kernel: BTRFS info (device nvme0n1p1):
> > > >> enabling free space tree
> > > >> Nov 02 07:39:43 nobara-X99 kernel: loop: module loaded
> > > >> Nov 02 07:39:43 nobara-X99 kernel: loop0: detected capacity change
> > > >> from 0 to 1824522240
> > > >>
> > > >> btrfs check --readonly:
> > > >> Opening filesystem to check...
> > > >> Checking filesystem on /dev/sda
> > > >> UUID: d7485764-0e3c-416e-8b4f-56904307949f
> > > >> [1/8] checking log skipped (none written)
> > > >> [2/8] checking root items
> > > >> [3/8] checking extents
> > > >> [4/8] checking free space tree
> > > >> [5/8] checking fs roots
> > > >> [6/8] checking only csums items (without verifying data)
> > > >> [7/8] checking root refs
> > > >> [8/8] checking quota groups skipped (not enabled on this FS)
> > > >> found 4329982099456 bytes used, no error found
> > > >> total csum bytes: 4222777424
> > > >> total tree bytes: 5858017280
> > > >> total fs tree bytes: 517259264
> > > >> total extent tree bytes: 572080128
> > > >> btree space waste bytes: 557473441
> > > >> file data blocks allocated: 4324124082176
> > > >>   referenced 4324124082176
> > > >>
> > > >> I haven't tried any repair. Reading works. Should I collect
> > > >> anything else (zone report, dump-super, ...) before touching it?
> > > >> Or is the fs in a state where recreating it is the only way?
> > >
> > > Sorry for the late answer, I've been on vacation for a few days.
> > >
> > > OK this is exactly what my patches should've fixed. I'll dig. Can you
> > > also send me the output of 'blkzone report /dev/sda' so I can check what
> > > the zone layout on the disks is.
> > >
> > >
> > > Btw did you drop the Mailinglist on purpose? If you don't mind I'd like
> > > to re-add it (for documentation purposes). But if you did it on purpose,
> > > I'd also be happy to switch to German (judging from your name and the
> > > Label of your drive I  think it's your native language as well).
> > >

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-05 13:48                   ` Jochen Philipp
@ 2026-11-05 15:04                     ` Johannes Thumshirn
  2026-11-05 15:19                       ` Jochen Philipp
  0 siblings, 1 reply; 16+ messages in thread
From: Johannes Thumshirn @ 2026-11-05 15:04 UTC (permalink / raw)
  To: Jochen Philipp; +Cc: linux-btrfs

On 11/5/26 2:48 PM, Jochen Philipp wrote:
> Hi Johannes,
>
> small update: my distro has meanwhile shipped a new kernel,
> I'm now running 7.3.1-202.nobara.fc44.x86_64 .
>
> I haven't tested with it yet, the fs is still mounted read-only
> via fstab. Should I try a read-write mount with the new kernel,
> or do you want the on-disk state left untouched until you've
> looked at the zone report?

If it's ok for you please leave it untouched an send me the results of 
the zone report.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-05 15:04                     ` Johannes Thumshirn
@ 2026-11-05 15:19                       ` Jochen Philipp
  2026-11-05 16:09                         ` Johannes Thumshirn
  0 siblings, 1 reply; 16+ messages in thread
From: Jochen Philipp @ 2026-11-05 15:19 UTC (permalink / raw)
  To: Johannes Thumshirn; +Cc: linux-btrfs

Hi Johannes,

sure, I'll leave it untouched.

I had sent you the full report off-list as an .xz attachment,
I suspect it got caught by a mail filter. Here's the condensed
version instead.

Zone state summary:

   1918 zcond: 0(nw)
  30387 zcond:14(fu)
 159343 zcond: 1(em)
    128 zcond: 4(cl)

All zones that are neither empty, full nor conventional
(line number = zone index + 1):

4097:  start: 0x040000000, len 0x040000, cap 0x040000, wptr 0x001ad8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
27890:  start: 0x1b3c40000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28076:  start: 0x1b6ac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28136:  start: 0x1b79c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28152:  start: 0x1b7dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28273:  start: 0x1b9c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28275:  start: 0x1b9c80000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28318:  start: 0x1ba740000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28319:  start: 0x1ba780000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28372:  start: 0x1bb4c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28376:  start: 0x1bb5c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28377:  start: 0x1bb600000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28400:  start: 0x1bbbc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28435:  start: 0x1bc480000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28516:  start: 0x1bd8c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28524:  start: 0x1bdac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28556:  start: 0x1be2c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28641:  start: 0x1bf800000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28642:  start: 0x1bf840000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28649:  start: 0x1bfa00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28721:  start: 0x1c0c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28727:  start: 0x1c0d80000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28728:  start: 0x1c0dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28752:  start: 0x1c13c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28895:  start: 0x1c3780000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
28957:  start: 0x1c4700000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29030:  start: 0x1c5940000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29308:  start: 0x1c9ec0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29331:  start: 0x1ca480000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29332:  start: 0x1ca4c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29395:  start: 0x1cb480000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29428:  start: 0x1cbcc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29432:  start: 0x1cbdc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29450:  start: 0x1cc240000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29528:  start: 0x1cd5c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29690:  start: 0x1cfe40000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29696:  start: 0x1cffc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29705:  start: 0x1d0200000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29727:  start: 0x1d0780000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29792:  start: 0x1d17c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29885:  start: 0x1d2f00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29921:  start: 0x1d3800000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29938:  start: 0x1d3c40000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
29939:  start: 0x1d3c80000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30029:  start: 0x1d5300000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30038:  start: 0x1d5540000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30081:  start: 0x1d6000000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30083:  start: 0x1d6080000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30155:  start: 0x1d7280000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30156:  start: 0x1d72c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30196:  start: 0x1d7cc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30291:  start: 0x1d9480000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30307:  start: 0x1d9880000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30355:  start: 0x1da480000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30410:  start: 0x1db240000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30524:  start: 0x1dcec0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30538:  start: 0x1dd240000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30576:  start: 0x1ddbc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30637:  start: 0x1deb00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30720:  start: 0x1dffc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30754:  start: 0x1e0840000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30764:  start: 0x1e0ac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30861:  start: 0x1e2300000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30939:  start: 0x1e3680000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
30961:  start: 0x1e3c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31006:  start: 0x1e4740000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31007:  start: 0x1e4780000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31029:  start: 0x1e4d00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31160:  start: 0x1e6dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31161:  start: 0x1e6e00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31218:  start: 0x1e7c40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31219:  start: 0x1e7c80000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31226:  start: 0x1e7e40000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31280:  start: 0x1e8bc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31281:  start: 0x1e8c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31375:  start: 0x1ea380000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31478:  start: 0x1ebd40000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31632:  start: 0x1ee3c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31659:  start: 0x1eea80000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31660:  start: 0x1eeac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31711:  start: 0x1ef780000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31783:  start: 0x1f0980000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31834:  start: 0x1f1640000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31901:  start: 0x1f2700000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
31966:  start: 0x1f3740000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32010:  start: 0x1f4240000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32028:  start: 0x1f46c0000, len 0x040000, cap 0x040000, wptr 0x03fb00
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32050:  start: 0x1f4c40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32053:  start: 0x1f4d00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32118:  start: 0x1f5d40000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32119:  start: 0x1f5d80000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32121:  start: 0x1f5e00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32156:  start: 0x1f66c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32261:  start: 0x1f8100000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32312:  start: 0x1f8dc0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32330:  start: 0x1f9240000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32331:  start: 0x1f9280000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32365:  start: 0x1f9b00000, len 0x040000, cap 0x040000, wptr 0x03ffe8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32367:  start: 0x1f9b80000, len 0x040000, cap 0x040000, wptr 0x03fff0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32393:  start: 0x1fa200000, len 0x040000, cap 0x040000, wptr 0x03ffe0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32394:  start: 0x1fa240000, len 0x040000, cap 0x040000, wptr 0x03ffe8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32441:  start: 0x1fae00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32442:  start: 0x1fae40000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32444:  start: 0x1faec0000, len 0x040000, cap 0x040000, wptr 0x03fff0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32445:  start: 0x1faf00000, len 0x040000, cap 0x040000, wptr 0x03fff8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32446:  start: 0x1faf40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32447:  start: 0x1faf80000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32448:  start: 0x1fafc0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32449:  start: 0x1fb000000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32451:  start: 0x1fb080000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32452:  start: 0x1fb0c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32453:  start: 0x1fb100000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32454:  start: 0x1fb140000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32455:  start: 0x1fb180000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32456:  start: 0x1fb1c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32457:  start: 0x1fb200000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32458:  start: 0x1fb240000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32459:  start: 0x1fb280000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32460:  start: 0x1fb2c0000, len 0x040000, cap 0x040000, wptr 0x03ffe8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32461:  start: 0x1fb300000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32462:  start: 0x1fb340000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32463:  start: 0x1fb380000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32464:  start: 0x1fb3c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32465:  start: 0x1fb400000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32466:  start: 0x1fb440000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32467:  start: 0x1fb480000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32468:  start: 0x1fb4c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
32769:  start: 0x200000000, len 0x040000, cap 0x040000, wptr 0x001ad8
reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]


The full report (191776 lines, 24 MB uncompressed) is available
if you need it - just tell me how you'd prefer to receive it.

Thanks,
Jochen

Am Do., 5. Nov. 2026 um 16:05 Uhr schrieb Johannes Thumshirn
<johannes.thumshirn@wdc.com>:
>
> On 11/5/26 2:48 PM, Jochen Philipp wrote:
> > Hi Johannes,
> >
> > small update: my distro has meanwhile shipped a new kernel,
> > I'm now running 7.3.1-202.nobara.fc44.x86_64 .
> >
> > I haven't tested with it yet, the fs is still mounted read-only
> > via fstab. Should I try a read-write mount with the new kernel,
> > or do you want the on-disk state left untouched until you've
> > looked at the zone report?
>
> If it's ok for you please leave it untouched an send me the results of
> the zone report.
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-05 15:19                       ` Jochen Philipp
@ 2026-11-05 16:09                         ` Johannes Thumshirn
  2026-11-05 16:30                           ` Jochen Philipp
  0 siblings, 1 reply; 16+ messages in thread
From: Johannes Thumshirn @ 2026-11-05 16:09 UTC (permalink / raw)
  To: Jochen Philipp; +Cc: linux-btrfs, Naohiro Aota

[+CC Naohiro ]
On 11/5/26 4:19 PM, Jochen Philipp wrote:
> Hi Johannes,
>
> sure, I'll leave it untouched.
>
> I had sent you the full report off-list as an .xz attachment,
> I suspect it got caught by a mail filter. Here's the condensed
> version instead.
>
> Zone state summary:
>
>     1918 zcond: 0(nw)
>    30387 zcond:14(fu)
>   159343 zcond: 1(em)
>      128 zcond: 4(cl)

Thanks. I'm a bit puzzled why we have CLOSED zones, I was under the 
impression that a FINISH set's the zone to FULL not CLOSED. I'll have to 
re-read SCSI ZBC for answer to this.


This is different from your problem (which is holes in the metadata 
write stream). If you could upload the full report somewhere that would 
be great. Also if you still have the full dmesg that would be awesome as 
well.

Thanks,

     Johannes


> All zones that are neither empty, full nor conventional
> (line number = zone index + 1):
>
> 4097:  start: 0x040000000, len 0x040000, cap 0x040000, wptr 0x001ad8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 27890:  start: 0x1b3c40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28076:  start: 0x1b6ac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28136:  start: 0x1b79c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28152:  start: 0x1b7dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28273:  start: 0x1b9c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28275:  start: 0x1b9c80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28318:  start: 0x1ba740000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28319:  start: 0x1ba780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28372:  start: 0x1bb4c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28376:  start: 0x1bb5c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28377:  start: 0x1bb600000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28400:  start: 0x1bbbc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28435:  start: 0x1bc480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28516:  start: 0x1bd8c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28524:  start: 0x1bdac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28556:  start: 0x1be2c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28641:  start: 0x1bf800000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28642:  start: 0x1bf840000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28649:  start: 0x1bfa00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28721:  start: 0x1c0c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28727:  start: 0x1c0d80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28728:  start: 0x1c0dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28752:  start: 0x1c13c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28895:  start: 0x1c3780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 28957:  start: 0x1c4700000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29030:  start: 0x1c5940000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29308:  start: 0x1c9ec0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29331:  start: 0x1ca480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29332:  start: 0x1ca4c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29395:  start: 0x1cb480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29428:  start: 0x1cbcc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29432:  start: 0x1cbdc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29450:  start: 0x1cc240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29528:  start: 0x1cd5c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29690:  start: 0x1cfe40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29696:  start: 0x1cffc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29705:  start: 0x1d0200000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29727:  start: 0x1d0780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29792:  start: 0x1d17c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29885:  start: 0x1d2f00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29921:  start: 0x1d3800000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29938:  start: 0x1d3c40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 29939:  start: 0x1d3c80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30029:  start: 0x1d5300000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30038:  start: 0x1d5540000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30081:  start: 0x1d6000000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30083:  start: 0x1d6080000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30155:  start: 0x1d7280000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30156:  start: 0x1d72c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30196:  start: 0x1d7cc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30291:  start: 0x1d9480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30307:  start: 0x1d9880000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30355:  start: 0x1da480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30410:  start: 0x1db240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30524:  start: 0x1dcec0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30538:  start: 0x1dd240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30576:  start: 0x1ddbc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30637:  start: 0x1deb00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30720:  start: 0x1dffc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30754:  start: 0x1e0840000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30764:  start: 0x1e0ac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30861:  start: 0x1e2300000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30939:  start: 0x1e3680000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 30961:  start: 0x1e3c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31006:  start: 0x1e4740000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31007:  start: 0x1e4780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31029:  start: 0x1e4d00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31160:  start: 0x1e6dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31161:  start: 0x1e6e00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31218:  start: 0x1e7c40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31219:  start: 0x1e7c80000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31226:  start: 0x1e7e40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31280:  start: 0x1e8bc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31281:  start: 0x1e8c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31375:  start: 0x1ea380000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31478:  start: 0x1ebd40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31632:  start: 0x1ee3c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31659:  start: 0x1eea80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31660:  start: 0x1eeac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31711:  start: 0x1ef780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31783:  start: 0x1f0980000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31834:  start: 0x1f1640000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31901:  start: 0x1f2700000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 31966:  start: 0x1f3740000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32010:  start: 0x1f4240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32028:  start: 0x1f46c0000, len 0x040000, cap 0x040000, wptr 0x03fb00
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32050:  start: 0x1f4c40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32053:  start: 0x1f4d00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32118:  start: 0x1f5d40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32119:  start: 0x1f5d80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32121:  start: 0x1f5e00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32156:  start: 0x1f66c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32261:  start: 0x1f8100000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32312:  start: 0x1f8dc0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32330:  start: 0x1f9240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32331:  start: 0x1f9280000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32365:  start: 0x1f9b00000, len 0x040000, cap 0x040000, wptr 0x03ffe8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32367:  start: 0x1f9b80000, len 0x040000, cap 0x040000, wptr 0x03fff0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32393:  start: 0x1fa200000, len 0x040000, cap 0x040000, wptr 0x03ffe0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32394:  start: 0x1fa240000, len 0x040000, cap 0x040000, wptr 0x03ffe8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32441:  start: 0x1fae00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32442:  start: 0x1fae40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32444:  start: 0x1faec0000, len 0x040000, cap 0x040000, wptr 0x03fff0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32445:  start: 0x1faf00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32446:  start: 0x1faf40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32447:  start: 0x1faf80000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32448:  start: 0x1fafc0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32449:  start: 0x1fb000000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32451:  start: 0x1fb080000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32452:  start: 0x1fb0c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32453:  start: 0x1fb100000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32454:  start: 0x1fb140000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32455:  start: 0x1fb180000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32456:  start: 0x1fb1c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32457:  start: 0x1fb200000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32458:  start: 0x1fb240000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32459:  start: 0x1fb280000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32460:  start: 0x1fb2c0000, len 0x040000, cap 0x040000, wptr 0x03ffe8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32461:  start: 0x1fb300000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32462:  start: 0x1fb340000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32463:  start: 0x1fb380000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32464:  start: 0x1fb3c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32465:  start: 0x1fb400000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32466:  start: 0x1fb440000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32467:  start: 0x1fb480000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32468:  start: 0x1fb4c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> 32769:  start: 0x200000000, len 0x040000, cap 0x040000, wptr 0x001ad8
> reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
>
>
> The full report (191776 lines, 24 MB uncompressed) is available
> if you need it - just tell me how you'd prefer to receive it.
>
> Thanks,
> Jochen
>
> Am Do., 5. Nov. 2026 um 16:05 Uhr schrieb Johannes Thumshirn
> <johannes.thumshirn@wdc.com>:
>> On 11/5/26 2:48 PM, Jochen Philipp wrote:
>>> Hi Johannes,
>>>
>>> small update: my distro has meanwhile shipped a new kernel,
>>> I'm now running 7.3.1-202.nobara.fc44.x86_64 .
>>>
>>> I haven't tested with it yet, the fs is still mounted read-only
>>> via fstab. Should I try a read-write mount with the new kernel,
>>> or do you want the on-disk state left untouched until you've
>>> looked at the zone report?
>> If it's ok for you please leave it untouched an send me the results of
>> the zone report.
>>
>>


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-05 16:09                         ` Johannes Thumshirn
@ 2026-11-05 16:30                           ` Jochen Philipp
  2026-11-06  2:23                             ` Dongjiang Zhu
  0 siblings, 1 reply; 16+ messages in thread
From: Jochen Philipp @ 2026-11-05 16:30 UTC (permalink / raw)
  To: Johannes Thumshirn; +Cc: linux-btrfs, Naohiro Aota

Hi Johannes,

I've sent you a download link for the full zone report and the
complete kernel log (all three aborts, 7.2 and 7.3) off-list.

Thanks,
Jochen

Am Do., 5. Nov. 2026 um 17:09 Uhr schrieb Johannes Thumshirn
<johannes.thumshirn@wdc.com>:
>
> [+CC Naohiro ]
> On 11/5/26 4:19 PM, Jochen Philipp wrote:
> > Hi Johannes,
> >
> > sure, I'll leave it untouched.
> >
> > I had sent you the full report off-list as an .xz attachment,
> > I suspect it got caught by a mail filter. Here's the condensed
> > version instead.
> >
> > Zone state summary:
> >
> >     1918 zcond: 0(nw)
> >    30387 zcond:14(fu)
> >   159343 zcond: 1(em)
> >      128 zcond: 4(cl)
>
> Thanks. I'm a bit puzzled why we have CLOSED zones, I was under the
> impression that a FINISH set's the zone to FULL not CLOSED. I'll have to
> re-read SCSI ZBC for answer to this.
>
>
> This is different from your problem (which is holes in the metadata
> write stream). If you could upload the full report somewhere that would
> be great. Also if you still have the full dmesg that would be awesome as
> well.
>
> Thanks,
>
>      Johannes
>
>
> > All zones that are neither empty, full nor conventional
> > (line number = zone index + 1):
> >
> > 4097:  start: 0x040000000, len 0x040000, cap 0x040000, wptr 0x001ad8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 27890:  start: 0x1b3c40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28076:  start: 0x1b6ac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28136:  start: 0x1b79c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28152:  start: 0x1b7dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28273:  start: 0x1b9c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28275:  start: 0x1b9c80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28318:  start: 0x1ba740000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28319:  start: 0x1ba780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28372:  start: 0x1bb4c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28376:  start: 0x1bb5c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28377:  start: 0x1bb600000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28400:  start: 0x1bbbc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28435:  start: 0x1bc480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28516:  start: 0x1bd8c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28524:  start: 0x1bdac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28556:  start: 0x1be2c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28641:  start: 0x1bf800000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28642:  start: 0x1bf840000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28649:  start: 0x1bfa00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28721:  start: 0x1c0c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28727:  start: 0x1c0d80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28728:  start: 0x1c0dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28752:  start: 0x1c13c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28895:  start: 0x1c3780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 28957:  start: 0x1c4700000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29030:  start: 0x1c5940000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29308:  start: 0x1c9ec0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29331:  start: 0x1ca480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29332:  start: 0x1ca4c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29395:  start: 0x1cb480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29428:  start: 0x1cbcc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29432:  start: 0x1cbdc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29450:  start: 0x1cc240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29528:  start: 0x1cd5c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29690:  start: 0x1cfe40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29696:  start: 0x1cffc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29705:  start: 0x1d0200000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29727:  start: 0x1d0780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29792:  start: 0x1d17c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29885:  start: 0x1d2f00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29921:  start: 0x1d3800000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29938:  start: 0x1d3c40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 29939:  start: 0x1d3c80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30029:  start: 0x1d5300000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30038:  start: 0x1d5540000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30081:  start: 0x1d6000000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30083:  start: 0x1d6080000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30155:  start: 0x1d7280000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30156:  start: 0x1d72c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30196:  start: 0x1d7cc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30291:  start: 0x1d9480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30307:  start: 0x1d9880000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30355:  start: 0x1da480000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30410:  start: 0x1db240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30524:  start: 0x1dcec0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30538:  start: 0x1dd240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30576:  start: 0x1ddbc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30637:  start: 0x1deb00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30720:  start: 0x1dffc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30754:  start: 0x1e0840000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30764:  start: 0x1e0ac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30861:  start: 0x1e2300000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30939:  start: 0x1e3680000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 30961:  start: 0x1e3c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31006:  start: 0x1e4740000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31007:  start: 0x1e4780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31029:  start: 0x1e4d00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31160:  start: 0x1e6dc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31161:  start: 0x1e6e00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31218:  start: 0x1e7c40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31219:  start: 0x1e7c80000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31226:  start: 0x1e7e40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31280:  start: 0x1e8bc0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31281:  start: 0x1e8c00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31375:  start: 0x1ea380000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31478:  start: 0x1ebd40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31632:  start: 0x1ee3c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31659:  start: 0x1eea80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31660:  start: 0x1eeac0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31711:  start: 0x1ef780000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31783:  start: 0x1f0980000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31834:  start: 0x1f1640000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31901:  start: 0x1f2700000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 31966:  start: 0x1f3740000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32010:  start: 0x1f4240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32028:  start: 0x1f46c0000, len 0x040000, cap 0x040000, wptr 0x03fb00
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32050:  start: 0x1f4c40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32053:  start: 0x1f4d00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32118:  start: 0x1f5d40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32119:  start: 0x1f5d80000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32121:  start: 0x1f5e00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32156:  start: 0x1f66c0000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32261:  start: 0x1f8100000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32312:  start: 0x1f8dc0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32330:  start: 0x1f9240000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32331:  start: 0x1f9280000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32365:  start: 0x1f9b00000, len 0x040000, cap 0x040000, wptr 0x03ffe8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32367:  start: 0x1f9b80000, len 0x040000, cap 0x040000, wptr 0x03fff0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32393:  start: 0x1fa200000, len 0x040000, cap 0x040000, wptr 0x03ffe0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32394:  start: 0x1fa240000, len 0x040000, cap 0x040000, wptr 0x03ffe8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32441:  start: 0x1fae00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32442:  start: 0x1fae40000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32444:  start: 0x1faec0000, len 0x040000, cap 0x040000, wptr 0x03fff0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32445:  start: 0x1faf00000, len 0x040000, cap 0x040000, wptr 0x03fff8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32446:  start: 0x1faf40000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32447:  start: 0x1faf80000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32448:  start: 0x1fafc0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32449:  start: 0x1fb000000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32451:  start: 0x1fb080000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32452:  start: 0x1fb0c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32453:  start: 0x1fb100000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32454:  start: 0x1fb140000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32455:  start: 0x1fb180000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32456:  start: 0x1fb1c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32457:  start: 0x1fb200000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32458:  start: 0x1fb240000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32459:  start: 0x1fb280000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32460:  start: 0x1fb2c0000, len 0x040000, cap 0x040000, wptr 0x03ffe8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32461:  start: 0x1fb300000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32462:  start: 0x1fb340000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32463:  start: 0x1fb380000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32464:  start: 0x1fb3c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32465:  start: 0x1fb400000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32466:  start: 0x1fb440000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32467:  start: 0x1fb480000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32468:  start: 0x1fb4c0000, len 0x040000, cap 0x040000, wptr 0x03ffc0
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> > 32769:  start: 0x200000000, len 0x040000, cap 0x040000, wptr 0x001ad8
> > reset:0 non-seq:0, zcond: 4(cl) [type: 2(SEQ_WRITE_REQUIRED)]
> >
> >
> > The full report (191776 lines, 24 MB uncompressed) is available
> > if you need it - just tell me how you'd prefer to receive it.
> >
> > Thanks,
> > Jochen
> >
> > Am Do., 5. Nov. 2026 um 16:05 Uhr schrieb Johannes Thumshirn
> > <johannes.thumshirn@wdc.com>:
> >> On 11/5/26 2:48 PM, Jochen Philipp wrote:
> >>> Hi Johannes,
> >>>
> >>> small update: my distro has meanwhile shipped a new kernel,
> >>> I'm now running 7.3.1-202.nobara.fc44.x86_64 .
> >>>
> >>> I haven't tested with it yet, the fs is still mounted read-only
> >>> via fstab. Should I try a read-write mount with the new kernel,
> >>> or do you want the on-disk state left untouched until you've
> >>> looked at the zone report?
> >> If it's ok for you please leave it untouched an send me the results of
> >> the zone report.
> >>
> >>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-05 16:30                           ` Jochen Philipp
@ 2026-11-06  2:23                             ` Dongjiang Zhu
  2026-11-06  7:36                               ` Jochen Philipp
  0 siblings, 1 reply; 16+ messages in thread
From: Dongjiang Zhu @ 2026-11-06  2:23 UTC (permalink / raw)
  To: Jochen Philipp, Johannes Thumshirn; +Cc: linux-btrfs, Naohiro Aota

Hi Jochen,

Maybe this patch series could help:
https://lore.kernel.org/linux-btrfs/cover.1787887776.git.zhudongjiang@fygo.io/

Would you be willing to give it a try?

Thanks,
Dongjiang

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-06  2:23                             ` Dongjiang Zhu
@ 2026-11-06  7:36                               ` Jochen Philipp
  2026-11-06  9:26                                 ` Johannes Thumshirn
                                                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Jochen Philipp @ 2026-11-06  7:36 UTC (permalink / raw)
  To: Dongjiang Zhu; +Cc: Johannes Thumshirn, linux-btrfs, Naohiro Aota

Hi Dongjiang,

thanks for reaching out - yes, I'm willing to give it a try.

Johannes asked me to keep the on-disk state untouched while he
looks at the zone report, so I'd like to coordinate with him
first: Johannes, are you fine with me testing Dongjiang's series
on this fs, or do you need anything else from the current state
before I do?

For testing I can set up a separate machine (bare metal, no
out-of-tree modules), so my main system isn't affected and
switching kernels is easy. I'd move the drive over there.

Two practical questions, since I've never built a patched kernel
for testing:
- Which base should I apply the series to (e.g. 7.3, or a
  specific btrfs branch)?
- Is there a git branch with the series applied that I could
  use instead?

Thanks,
Jochen

Am Fr., 6. Nov. 2026 um 03:24 Uhr schrieb Dongjiang Zhu <zhudongjiang@fygo.io>:
>
> Hi Jochen,
>
> Maybe this patch series could help:
> https://lore.kernel.org/linux-btrfs/cover.1787887776.git.zhudongjiang@fygo.io/
>
> Would you be willing to give it a try?
>
> Thanks,
> Dongjiang

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-06  7:36                               ` Jochen Philipp
@ 2026-11-06  9:26                                 ` Johannes Thumshirn
  2026-11-06  9:34                                 ` Dongjiang Zhu
  2026-11-09  9:09                                 ` Johannes Thumshirn
  2 siblings, 0 replies; 16+ messages in thread
From: Johannes Thumshirn @ 2026-11-06  9:26 UTC (permalink / raw)
  To: Jochen Philipp, Dongjiang Zhu; +Cc: linux-btrfs, Naohiro Aota

On 11/6/26 8:36 AM, Jochen Philipp wrote:
> Hi Dongjiang,
>
> thanks for reaching out - yes, I'm willing to give it a try.
>
> Johannes asked me to keep the on-disk state untouched while he
> looks at the zone report, so I'd like to coordinate with him
> first: Johannes, are you fine with me testing Dongjiang's series
> on this fs, or do you need anything else from the current state
> before I do?
Yeah if you don't mind, give it a shot.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-06  7:36                               ` Jochen Philipp
  2026-11-06  9:26                                 ` Johannes Thumshirn
@ 2026-11-06  9:34                                 ` Dongjiang Zhu
  2026-11-09  9:09                                 ` Johannes Thumshirn
  2 siblings, 0 replies; 16+ messages in thread
From: Dongjiang Zhu @ 2026-11-06  9:34 UTC (permalink / raw)
  To: Jochen Philipp; +Cc: Johannes Thumshirn, linux-btrfs, Naohiro Aota

在 2026/11/6 15:36, Jochen Philipp 写道:
> Hi Dongjiang,
> 
> thanks for reaching out - yes, I'm willing to give it a try.
> 
> Johannes asked me to keep the on-disk state untouched while he
> looks at the zone report, so I'd like to coordinate with him
> first: Johannes, are you fine with me testing Dongjiang's series
> on this fs, or do you need anything else from the current state
> before I do?
> 
> For testing I can set up a separate machine (bare metal, no
> out-of-tree modules), so my main system isn't affected and
> switching kernels is easy. I'd move the drive over there.
> 
> Two practical questions, since I've never built a patched kernel
> for testing:
> - Which base should I apply the series to (e.g. 7.3, or a
>   specific btrfs branch)?
> - Is there a git branch with the series applied that I could
>   use instead?

Base: in sync with btrfs/linux's for-next branch as of today:
https://github.com/pdzhu/btrfs-linux/tree/for-next

Testing branch: my v3 series rebased onto that base:
https://github.com/pdzhu/btrfs-linux/tree/zoned-fixes-testing

Thanks,
Dongjiang

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-06  7:36                               ` Jochen Philipp
  2026-11-06  9:26                                 ` Johannes Thumshirn
  2026-11-06  9:34                                 ` Dongjiang Zhu
@ 2026-11-09  9:09                                 ` Johannes Thumshirn
  2026-11-09 10:01                                   ` Jochen Philipp
  2 siblings, 1 reply; 16+ messages in thread
From: Johannes Thumshirn @ 2026-11-09  9:09 UTC (permalink / raw)
  To: Jochen Philipp; +Cc: Dongjiang Zhu, linux-btrfs, Naohiro Aota

On Fri, Nov 06, 2026 at 08:36:16AM +0100, Jochen Philipp wrote:
> Hi Dongjiang,
> 
> thanks for reaching out - yes, I'm willing to give it a try.
> 
> Johannes asked me to keep the on-disk state untouched while he
> looks at the zone report, so I'd like to coordinate with him
> first: Johannes, are you fine with me testing Dongjiang's series
> on this fs, or do you need anything else from the current state
> before I do?
> 
> For testing I can set up a separate machine (bare metal, no
> out-of-tree modules), so my main system isn't affected and
> switching kernels is easy. I'd move the drive over there.
> 
> Two practical questions, since I've never built a patched kernel
> for testing:
> - Which base should I apply the series to (e.g. 7.3, or a
>   specific btrfs branch)?
> - Is there a git branch with the series applied that I could
>   use instead?

I think I could re-create the issue and unfortunately Dongjiang's patch didn't
fix it for me (I've only applied patch 2 not the whole branch). What fixes it
for me is:


diff --git a/fs/btrfs/zoned.c b/fs/btrfs/zoned.c
index 3192b86669b9..3724cc0120d9 100644
--- a/fs/btrfs/zoned.c
+++ b/fs/btrfs/zoned.c
@@ -3115,8 +3115,12 @@ void btrfs_check_active_zone_reservation(struct btrfs_fs_info *fs_info)
 		      (BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_SYSTEM)))
 			continue;
 
-		for (int i = 0; i < map->num_stripes; i++)
-			map->stripes[i].dev->zone_info->reserved_active_zones--;
+		for (int i = 0; i < map->num_stripes; i++) {
+			struct btrfs_device *dev = map->stripes[i].dev;
+
+			if (btrfs_dev_is_sequential(dev, map->stripes[i].physical))
+				dev->zone_info->reserved_active_zones--;
+		}
 	}
 	spin_unlock(&fs_info->zone_active_bgs_lock);
 }


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-09  9:09                                 ` Johannes Thumshirn
@ 2026-11-09 10:01                                   ` Jochen Philipp
  2026-11-09 12:51                                     ` Johannes Thumshirn
  0 siblings, 1 reply; 16+ messages in thread
From: Jochen Philipp @ 2026-11-09 10:01 UTC (permalink / raw)
  To: Johannes Thumshirn; +Cc: Dongjiang Zhu, linux-btrfs, Naohiro Aota

Hi Johannes,

great news that you could reproduce it - thanks a lot!

My test machine needs a couple of days to get ready (new SSD and
thermal paste on the way), so no rush on my side. When it's
ready, which tree should I apply your fix to - Dongjiang's
for-next base, or plain 7.3? Or will you post it as a proper
patch / push it to a branch I could use?

Thanks,
Jochen

Am Mo., 9. Nov. 2026 um 10:09 Uhr schrieb Johannes Thumshirn
<johannes.thumshirn@wdc.com>:
>
> On Fri, Nov 06, 2026 at 08:36:16AM +0100, Jochen Philipp wrote:
> > Hi Dongjiang,
> >
> > thanks for reaching out - yes, I'm willing to give it a try.
> >
> > Johannes asked me to keep the on-disk state untouched while he
> > looks at the zone report, so I'd like to coordinate with him
> > first: Johannes, are you fine with me testing Dongjiang's series
> > on this fs, or do you need anything else from the current state
> > before I do?
> >
> > For testing I can set up a separate machine (bare metal, no
> > out-of-tree modules), so my main system isn't affected and
> > switching kernels is easy. I'd move the drive over there.
> >
> > Two practical questions, since I've never built a patched kernel
> > for testing:
> > - Which base should I apply the series to (e.g. 7.3, or a
> >   specific btrfs branch)?
> > - Is there a git branch with the series applied that I could
> >   use instead?
>
> I think I could re-create the issue and unfortunately Dongjiang's patch didn't
> fix it for me (I've only applied patch 2 not the whole branch). What fixes it
> for me is:
>
>
> diff --git a/fs/btrfs/zoned.c b/fs/btrfs/zoned.c
> index 3192b86669b9..3724cc0120d9 100644
> --- a/fs/btrfs/zoned.c
> +++ b/fs/btrfs/zoned.c
> @@ -3115,8 +3115,12 @@ void btrfs_check_active_zone_reservation(struct btrfs_fs_info *fs_info)
>                       (BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_SYSTEM)))
>                         continue;
>
> -               for (int i = 0; i < map->num_stripes; i++)
> -                       map->stripes[i].dev->zone_info->reserved_active_zones--;
> +               for (int i = 0; i < map->num_stripes; i++) {
> +                       struct btrfs_device *dev = map->stripes[i].dev;
> +
> +                       if (btrfs_dev_is_sequential(dev, map->stripes[i].physical))
> +                               dev->zone_info->reserved_active_zones--;
> +               }
>         }
>         spin_unlock(&fs_info->zone_active_bgs_lock);
>  }
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-09 10:01                                   ` Jochen Philipp
@ 2026-11-09 12:51                                     ` Johannes Thumshirn
  2026-11-09 13:10                                       ` Jochen Philipp
  0 siblings, 1 reply; 16+ messages in thread
From: Johannes Thumshirn @ 2026-11-09 12:51 UTC (permalink / raw)
  To: Jochen Philipp; +Cc: Dongjiang Zhu, linux-btrfs, Naohiro Aota

On 11/9/26 11:01 AM, Jochen Philipp wrote:
> Hi Johannes,
>
> great news that you could reproduce it - thanks a lot!
>
> My test machine needs a couple of days to get ready (new SSD and
> thermal paste on the way), so no rush on my side. When it's
> ready, which tree should I apply your fix to - Dongjiang's
> for-next base, or plain 7.3? Or will you post it as a proper
> patch / push it to a branch I could use?
I think it should apply to all but I can push a branch for you if you 
want. I'll send a proper patch and testcase for it ASAP as well.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only
  2026-11-09 12:51                                     ` Johannes Thumshirn
@ 2026-11-09 13:10                                       ` Jochen Philipp
  0 siblings, 0 replies; 16+ messages in thread
From: Jochen Philipp @ 2026-11-09 13:10 UTC (permalink / raw)
  To: Johannes Thumshirn; +Cc: Dongjiang Zhu, linux-btrfs, Naohiro Aota

Hi Johannes,

yes please, a branch would be great - that's the easiest way for
me. I'll test as soon as my test machine is ready and report back.

Thanks,
Jochen

Am Mo., 9. Nov. 2026 um 13:51 Uhr schrieb Johannes Thumshirn
<johannes.thumshirn@wdc.com>:
>
> On 11/9/26 11:01 AM, Jochen Philipp wrote:
> > Hi Johannes,
> >
> > great news that you could reproduce it - thanks a lot!
> >
> > My test machine needs a couple of days to get ready (new SSD and
> > thermal paste on the way), so no rush on my side. When it's
> > ready, which tree should I apply your fix to - Dongjiang's
> > for-next base, or plain 7.3? Or will you post it as a proper
> > patch / push it to a branch I could use?
> I think it should apply to all but I can push a branch for you if you
> want. I'll send a proper patch and testcase for it ASAP as well.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-11-09 13:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-19 14:31 Subject: zoned: transaction abort with -EAGAIN (-11) on host-managed SMR (WD HC670), fs forced read-only Jochen Philipp
2026-10-20  9:26 ` Johannes Thumshirn
     [not found]   ` <CAD=K2o_-NwLNpvNE+OreAmsvX+izzZnb2R1nCBV0gDf6fH=kmw@mail.gmail.com>
     [not found]     ` <904615c7-003a-4158-922d-c57dee9a3ecf@wdc.com>
     [not found]       ` <CAD=K2o_vLPSvm4Qzi8y4t5ay+Na9GNk2t5a3iMO3NYJvwodKDQ@mail.gmail.com>
     [not found]         ` <CAD=K2o8xFgYBHMim-KqMysV+Tec9LEUbo6jfD6R-GOAU8N8K4w@mail.gmail.com>
     [not found]           ` <CAD=K2o8kWgTRqBBw1sRfO2fopqQOLfdeX61h=OFPMST=Wdo+KQ@mail.gmail.com>
     [not found]             ` <30a6e871-8578-4d27-bb0a-679b94fb7f92@wdc.com>
2026-11-05 13:36               ` Jochen Philipp
     [not found]                 ` <CAD=K2o_MwSF_XS=iRu8GMPhH2Sn6t3bsKLm5BLOjZ34tV4aRvg@mail.gmail.com>
2026-11-05 13:48                   ` Jochen Philipp
2026-11-05 15:04                     ` Johannes Thumshirn
2026-11-05 15:19                       ` Jochen Philipp
2026-11-05 16:09                         ` Johannes Thumshirn
2026-11-05 16:30                           ` Jochen Philipp
2026-11-06  2:23                             ` Dongjiang Zhu
2026-11-06  7:36                               ` Jochen Philipp
2026-11-06  9:26                                 ` Johannes Thumshirn
2026-11-06  9:34                                 ` Dongjiang Zhu
2026-11-09  9:09                                 ` Johannes Thumshirn
2026-11-09 10:01                                   ` Jochen Philipp
2026-11-09 12:51                                     ` Johannes Thumshirn
2026-11-09 13:10                                       ` Jochen Philipp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.