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

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.