public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Jorge Bastos <jorge.mrbastos@gmail.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Btrfs with zoned devices
Date: Mon, 23 Feb 2026 14:55:17 +0000	[thread overview]
Message-ID: <CAHzMYBSfK7Ms9W9rc1mzsyP0aRkXg=3G6VXuur15jm7OE2JoCA@mail.gmail.com> (raw)

Hi,

I'm using a zoned device for the first time; it's a 27TB WD Ultrastar
HC680, formatted with single data and DUP metadata.

This will be used for non-critical WORM media data, but during the
initial data load, using a single rsync thread, the filesystem crashed
twice, 1st time after copying around 1.25T, 2nd time around 2.5T
total.

I'm now using some mount options suggested by LLMs, and it hasn't
crashed so far, but it's not been long; currently at 3.58T used.

mount -o rw,noatime,commit=60,flushoncommit,discard=async

My question is, are these mount options good for HM-SMR or do you
recommend different ones, and could they help with the crashing?


These were the crashes I saw, they look similar to me, and after
unmounting and remounting, it worked again:

Kernel 6.18.9
btrfs-progs v6.17.1

1st one:

Feb 22 21:35:56 Tower7 kernel: BTRFS: error (device sdb) in
btrfs_commit_transaction:2536: errno=-11 unknown (Error while writing
out transaction)
Feb 22 21:35:56 Tower7 kernel: BTRFS info (device sdb state E): forced readonly
Feb 22 21:35:56 Tower7 kernel: BTRFS warning (device sdb state E):
Skipping commit of aborted transaction.
Feb 22 21:35:56 Tower7 kernel: ------------[ cut here ]------------
Feb 22 21:35:56 Tower7 kernel: BTRFS: Transaction aborted (error -11)
Feb 22 21:35:56 Tower7 kernel: WARNING: CPU: 8 PID: 109946 at
fs/btrfs/transaction.c:2021 btrfs_commit_transaction+0x994/0xb20
Feb 22 21:35:56 Tower7 kernel: Modules linked in: md_mod br_netfilter
nft_compat af_packet veth nf_conntrack_netlink xt_nat iptable_raw
xt_conntrack bridge stp llc xfrm_user xfrm_algo xt_set ip_set
xt_addrtype xt_MASQUERADE xt_tcpudp xt_mark tun nf_tables nfnetlink
ip6table_nat iptable_nat nf_nat nf_conntrack nf_defrag_ipv6
nf_defrag_ipv4 ipmi_devintf ip6table_filter ip6_tables iptable_filter
ip_tables x_tables macvtap macvlan tap mlx5_core mlxfw tls igb
intel_rapl_msr amd64_edac edac_mce_amd edac_core intel_rapl_common
kvm_amd ast kvm drm_shmem_helper drm_client_lib drm_kms_helper
ipmi_ssif ghash_clmulni_intel aesni_intel drm rapl acpi_cpufreq
backlight i2c_algo_bit input_leds joydev led_class ccp i2c_piix4
i2c_smbus acpi_ipmi ses enclosure i2c_core k10temp ipmi_si button
zfs(PO) spl(O) [last unloaded: md_mod]
Feb 22 21:35:56 Tower7 kernel: CPU: 8 UID: 0 PID: 109946 Comm:
btrfs-transacti Tainted: P        W  O        6.18.9-Unraid #4
PREEMPT(voluntary)
Feb 22 21:35:56 Tower7 kernel: Tainted: [P]=PROPRIETARY_MODULE,
[W]=WARN, [O]=OOT_MODULE
Feb 22 21:35:56 Tower7 kernel: Hardware name: Supermicro Super
Server/H11SSL-i, BIOS 2.4 12/27/2021
Feb 22 21:35:56 Tower7 kernel: RIP: 0010:btrfs_commit_transaction+0x994/0xb20
Feb 22 21:35:56 Tower7 kernel: Code: ba ff 49 8b 7c 24 60 89 da 48 c7
c6 2a 81 57 82 e8 81 14 a9 ff e8 2c ef ba ff eb 10 89 de 48 c7 c7 4b
81 57 82 e8 6c d5 b1 ff <0f> 0b 41 b0 01 41 83 e0 01 89 d9 ba e5 07 00
00 4c 89 e7 48 c7 c6
Feb 22 21:35:56 Tower7 kernel: RSP: 0018:ffffc9003cac7de0 EFLAGS: 00010282
Feb 22 21:35:56 Tower7 kernel: RAX: 0000000000000000 RBX:
00000000fffffff5 RCX: 0000000000000002
Feb 22 21:35:56 Tower7 kernel: RDX: 0000000000000027 RSI:
ffffffff825f9e70 RDI: 00000000ffffffff
Feb 22 21:35:56 Tower7 kernel: RBP: ffff88826a27d000 R08:
0000000000000000 R09: 0000000000000000
Feb 22 21:35:56 Tower7 kernel: R10: 0000000000000000 R11:
00000000312d2072 R12: ffff888290a1b7e0
Feb 22 21:35:56 Tower7 kernel: R13: ffff888249304c00 R14:
ffff88826a27d000 R15: ffff888100ec6300
Feb 22 21:35:56 Tower7 kernel: FS:  0000000000000000(0000)
GS:ffff88a04997c000(0000) knlGS:0000000000000000
Feb 22 21:35:56 Tower7 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 22 21:35:56 Tower7 kernel: CR2: 00007ffcad620af8 CR3:
00000001f5915000 CR4: 0000000000350ef0
Feb 22 21:35:56 Tower7 kernel: Call Trace:
Feb 22 21:35:56 Tower7 kernel: <TASK>
Feb 22 21:35:56 Tower7 kernel: ? srso_return_thunk+0x5/0x5f
Feb 22 21:35:56 Tower7 kernel: ? start_transaction+0x46e/0x5e0
Feb 22 21:35:56 Tower7 kernel: ? hrtimer_nanosleep_restart+0x50/0x60
Feb 22 21:35:56 Tower7 kernel: transaction_kthread+0xf0/0x170
Feb 22 21:35:56 Tower7 kernel: ? __pfx_transaction_kthread+0x10/0x10
Feb 22 21:35:56 Tower7 kernel: kthread+0x1ce/0x1e0
Feb 22 21:35:56 Tower7 kernel: ? srso_return_thunk+0x5/0x5f
Feb 22 21:35:56 Tower7 kernel: ? srso_return_thunk+0x5/0x5f
Feb 22 21:35:56 Tower7 kernel: ? finish_task_switch.isra.0+0x139/0x210
Feb 22 21:35:56 Tower7 kernel: ? __pfx_kthread+0x10/0x10
Feb 22 21:35:56 Tower7 kernel: ? __pfx_kthread+0x10/0x10
Feb 22 21:35:56 Tower7 kernel: ret_from_fork+0x24/0x130
Feb 22 21:35:56 Tower7 kernel: ? __pfx_kthread+0x10/0x10
Feb 22 21:35:56 Tower7 kernel: ret_from_fork_asm+0x1a/0x30
Feb 22 21:35:56 Tower7 kernel: </TASK>
Feb 22 21:35:56 Tower7 kernel: ---[ end trace 0000000000000000 ]---
Feb 22 21:35:56 Tower7 kernel: BTRFS: error (device sdb state EA) in
cleanup_transaction:2021: errno=-11 unknown

2nd one:

Feb 23 06:50:21 Tower7 kernel: BTRFS: error (device sdb) in
btrfs_commit_transaction:2536: errno=-11 unknown (Error while writing
out transaction)
Feb 23 06:50:21 Tower7 kernel: BTRFS info (device sdb state E): forced readonly
Feb 23 06:50:21 Tower7 kernel: BTRFS warning (device sdb state E):
Skipping commit of aborted transaction.
Feb 23 06:50:21 Tower7 kernel: ------------[ cut here ]------------
Feb 23 06:50:21 Tower7 kernel: BTRFS: Transaction aborted (error -11)
Feb 23 06:50:21 Tower7 kernel: WARNING: CPU: 8 PID: 2604334 at
fs/btrfs/transaction.c:2021 btrfs_commit_transaction+0x994/0xb20
Feb 23 06:50:21 Tower7 kernel: Modules linked in: md_mod br_netfilter
nft_compat af_packet veth nf_conntrack_netlink xt_nat iptable_raw
xt_conntrack bridge stp llc xfrm_user xfrm_algo xt_set ip_set
xt_addrtype xt_MASQUERADE xt_tcpudp xt_mark tun nf_tables nfnetlink
ip6table_nat iptable_nat nf_nat nf_conntrack nf_defrag_ipv6
nf_defrag_ipv4 ipmi_devintf ip6table_filter ip6_tables iptable_filter
ip_tables x_tables macvtap macvlan tap mlx5_core mlxfw tls igb
intel_rapl_msr amd64_edac edac_mce_amd edac_core intel_rapl_common
kvm_amd ast kvm drm_shmem_helper drm_client_lib drm_kms_helper
ipmi_ssif ghash_clmulni_intel aesni_intel drm rapl acpi_cpufreq
backlight i2c_algo_bit input_leds joydev led_class ccp i2c_piix4
i2c_smbus acpi_ipmi ses enclosure i2c_core k10temp ipmi_si button
zfs(PO) spl(O) [last unloaded: md_mod]
Feb 23 06:50:21 Tower7 kernel: CPU: 8 UID: 0 PID: 2604334 Comm:
btrfs-transacti Tainted: P        W  O        6.18.9-Unraid #4
PREEMPT(voluntary)
Feb 23 06:50:21 Tower7 kernel: Tainted: [P]=PROPRIETARY_MODULE,
[W]=WARN, [O]=OOT_MODULE
Feb 23 06:50:21 Tower7 kernel: Hardware name: Supermicro Super
Server/H11SSL-i, BIOS 2.4 12/27/2021
Feb 23 06:50:21 Tower7 kernel: RIP: 0010:btrfs_commit_transaction+0x994/0xb20
Feb 23 06:50:21 Tower7 kernel: Code: ba ff 49 8b 7c 24 60 89 da 48 c7
c6 2a 81 57 82 e8 81 14 a9 ff e8 2c ef ba ff eb 10 89 de 48 c7 c7 4b
81 57 82 e8 6c d5 b1 ff <0f> 0b 41 b0 01 41 83 e0 01 89 d9 ba e5 07 00
00 4c 89 e7 48 c7 c6
Feb 23 06:50:21 Tower7 kernel: RSP: 0018:ffffc9000e6f7de0 EFLAGS: 00010282
Feb 23 06:50:21 Tower7 kernel: RAX: 0000000000000000 RBX:
00000000fffffff5 RCX: 0000000000000002
Feb 23 06:50:21 Tower7 kernel: RDX: 0000000000000c21 RSI:
ffffffff828b5a88 RDI: 00000000ffffffff
Feb 23 06:50:21 Tower7 kernel: RBP: ffff88814a3f5000 R08:
0000000000000000 R09: 0000000000000000
Feb 23 06:50:21 Tower7 kernel: R10: 0000000000000000 R11:
00000000312d2072 R12: ffff888227266690
Feb 23 06:50:21 Tower7 kernel: R13: ffff8882e753b400 R14:
ffff88814a3f5000 R15: ffff8882190ae300
Feb 23 06:50:21 Tower7 kernel: FS:  0000000000000000(0000)
GS:ffff88a04997c000(0000) knlGS:0000000000000000
Feb 23 06:50:21 Tower7 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 23 06:50:21 Tower7 kernel: CR2: 0000148aabc77d74 CR3:
00000001f5915000 CR4: 0000000000350ef0
Feb 23 06:50:21 Tower7 kernel: Call Trace:
Feb 23 06:50:21 Tower7 kernel: <TASK>
Feb 23 06:50:21 Tower7 kernel: ? srso_return_thunk+0x5/0x5f
Feb 23 06:50:21 Tower7 kernel: ? start_transaction+0x46e/0x5e0
Feb 23 06:50:21 Tower7 kernel: ? hrtimer_nanosleep_restart+0x50/0x60
Feb 23 06:50:21 Tower7 kernel: transaction_kthread+0xf0/0x170
Feb 23 06:50:21 Tower7 kernel: ? __pfx_transaction_kthread+0x10/0x10
Feb 23 06:50:21 Tower7 kernel: kthread+0x1ce/0x1e0
Feb 23 06:50:21 Tower7 kernel: ? srso_return_thunk+0x5/0x5f
Feb 23 06:50:21 Tower7 kernel: ? srso_return_thunk+0x5/0x5f
Feb 23 06:50:21 Tower7 kernel: ? finish_task_switch.isra.0+0x139/0x210
Feb 23 06:50:21 Tower7 kernel: ? __pfx_kthread+0x10/0x10
Feb 23 06:50:21 Tower7 kernel: ? __pfx_kthread+0x10/0x10
Feb 23 06:50:21 Tower7 kernel: ret_from_fork+0x24/0x130
Feb 23 06:50:21 Tower7 kernel: ? __pfx_kthread+0x10/0x10
Feb 23 06:50:21 Tower7 kernel: ret_from_fork_asm+0x1a/0x30
Feb 23 06:50:21 Tower7 kernel: </TASK>
Feb 23 06:50:21 Tower7 kernel: ---[ end trace 0000000000000000 ]---
Feb 23 06:50:21 Tower7 kernel: BTRFS: error (device sdb state EA) in
cleanup_transaction:2021: errno=-11 unknown

Thanks,
Jorge

             reply	other threads:[~2026-02-23 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 14:55 Jorge Bastos [this message]
2026-02-23 15:15 ` Btrfs with zoned devices Johannes Thumshirn
2026-02-23 16:03   ` Jorge Bastos
2026-02-24  7:01     ` Naohiro Aota
2026-02-24  9:03       ` Jorge Bastos
2026-02-25 10:09         ` Jorge Bastos
2026-02-25 10:11         ` Jorge Bastos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHzMYBSfK7Ms9W9rc1mzsyP0aRkXg=3G6VXuur15jm7OE2JoCA@mail.gmail.com' \
    --to=jorge.mrbastos@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox