linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BTRFS: Transaction aborted (error -24)
@ 2020-06-11 10:29 Greed Rong
  2020-06-11 11:20 ` David Sterba
  0 siblings, 1 reply; 13+ messages in thread
From: Greed Rong @ 2020-06-11 10:29 UTC (permalink / raw)
  To: linux-btrfs

Hi,
I have got this error several times. Are there any suggestions to avoid this?

# dmesg
[7142286.563596] ------------[ cut here ]------------
[7142286.564499] BTRFS: Transaction aborted (error -24)
[7142286.565053] WARNING: CPU: 17 PID: 17041 at
fs/btrfs/transaction.c:1576 create_pending_snapshot+0xbc4/0xd10
[btrfs]
[7142286.565482] Modules linked in: vhost_net vhost tap xt_CHECKSUM
iptable_mangle ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat
xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ipt_REJECT
nf_reject_ipv4 xt_tcpudp ebtable_filter ebtables ip6table_filter
ip6_tables iptable_filter bpfilter iscsi_target_mod target_core_mod
overlay 8021q garp mrp bonding bridge stp llc ipmi_ssif nls_iso8859_1
intel_rapl sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp
dcdbas kvm_intel kvm joydev input_leds irqbypass intel_cstate
intel_rapl_perf lpc_ich mei_me mei ipmi_si ipmi_devintf
ipmi_msghandler acpi_power_meter mac_hid sch_fq_codel ib_iser rdma_cm
iw_cm ib_cm iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi
ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456
async_raid6_recov async_memcpy async_pq async_xor async_tx xor
raid6_pq libcrc32c raid1 raid0 multipath linear mlx4_ib ib_uverbs
mlx4_en ib_core hid_generic usbhid hid crct10dif_pclmul crc32_pclmul
mgag200 i2c_algo_bit
[7142286.565508]  ghash_clmulni_intel ttm drm_kms_helper aesni_intel
syscopyarea sysfillrect mxm_wmi aes_x86_64 sysimgblt crypto_simd
fb_sys_fops cryptd glue_helper ahci drm mlx4_core tg3 libahci
megaraid_sas devlink wmi
[7142286.570322] CPU: 17 PID: 17041 Comm: btrfs Tainted: G      D
     5.0.10-050010-generic #201904270832
[7142286.570893] Hardware name: Dell Inc. PowerEdge R730xd/0H21J3,
BIOS 2.10.5 07/25/2019
[7142286.571479] RIP: 0010:create_pending_snapshot+0xbc4/0xd10 [btrfs]
[7142286.572063] Code: f0 48 0f ba aa 40 ce 00 00 02 72 27 83 f8 fb 0f
84 54 8d 08 00 89 c6 48 c7 c7 10 41 95 c0 48 89 85 60 ff ff ff e8 6e
17 3e f3 <0f> 0b 48 8b 85 60 ff ff ff 89 c1 ba 28 06 00 00 48 c7 c6 b0
7e 94
[7142286.573357] RSP: 0018:ffffac950ff0fa10 EFLAGS: 00010282
[7142286.573981] RAX: 0000000000000000 RBX: ffff9ec1602e2e38 RCX:
0000000000000006
[7142286.574615] RDX: 0000000000000007 RSI: 0000000000000082 RDI:
ffff9eefbf816440
[7142286.575247] RBP: ffffac950ff0fb00 R08: 0000000000000000 R09:
0000000000002595
[7142286.575888] R10: 0000000000010101 R11: ffff9ebfab630c90 R12:
ffff9ebf8998c3c0
[7142286.576561] R13: 00000000ffffffe8 R14: ffff9e92f1bde000 R15:
ffff9e9701297e00
[7142286.577251] FS:  00007fbcad9e18c0(0000) GS:ffff9eefbf800000(0000)
knlGS:0000000000000000
[7142286.577910] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[7142286.578569] CR2: 00007fbcac82e100 CR3: 00000030ad800004 CR4:
00000000001626e0
[7142286.579240] Call Trace:
[7142286.579915]  create_pending_snapshots+0x82/0xa0 [btrfs]
[7142286.580627]  ? create_pending_snapshots+0x82/0xa0 [btrfs]
[7142286.581350]  btrfs_commit_transaction+0x275/0x8c0 [btrfs]
[7142286.582049]  ? btrfs_subvolume_reserve_metadata+0x41/0x180 [btrfs]
[7142286.582750]  btrfs_mksubvol+0x4b9/0x500 [btrfs]
[7142286.583447]  ? security_capable+0x3c/0x60
[7142286.584144]  btrfs_ioctl_snap_create_transid+0x174/0x180 [btrfs]
[7142286.584928]  btrfs_ioctl_snap_create_v2+0x11c/0x180 [btrfs]
[7142286.585646]  btrfs_ioctl+0x11a4/0x2da0 [btrfs]
[7142286.586346]  ? filemap_map_pages+0x1ae/0x380
[7142286.587047]  do_vfs_ioctl+0xa9/0x640
[7142286.587739]  ? do_vfs_ioctl+0xa9/0x640
[7142286.588441]  ksys_ioctl+0x67/0x90
[7142286.589202]  __x64_sys_ioctl+0x1a/0x20
[7142286.589899]  do_syscall_64+0x5a/0x110
[7142286.590604]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[7142286.591308] RIP: 0033:0x7fbcac7c75d7
[7142286.592011] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00
00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00
00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89
01 48
[7142286.593558] RSP: 002b:00007fff93db05c8 EFLAGS: 00000206 ORIG_RAX:
0000000000000010
[7142286.594296] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007fbcac7c75d7
[7142286.595034] RDX: 00007fff93db0610 RSI: 0000000050009417 RDI:
0000000000000003
[7142286.595765] RBP: 0000000000000003 R08: 0000000000000000 R09:
000000000000000d
[7142286.596492] R10: 00000000fffffff3 R11: 0000000000000206 R12:
000056203917f260
[7142286.597241] R13: 00007fff93db1e46 R14: 00007fff93db0610 R15:
0000000000000004
[7142286.597926] ---[ end trace 33f2f83f3d5250e9 ]---
[7142286.598635] BTRFS: error (device sda1) in
create_pending_snapshot:1576: errno=-24 unknown
[7142286.599388] BTRFS info (device sda1): forced readonly
[7142286.600037] BTRFS warning (device sda1): Skipping commit of
aborted transaction.
[7142286.600731] BTRFS: error (device sda1) in
cleanup_transaction:1831: errno=-24 unknown

# lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:    18.04
Codename:    bionic

# uname -a
Linux gz-cached-10 5.0.10-050010-generic #201904270832 SMP Sat Apr 27
08:34:43 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

# btrfs --version
btrfs-progs v4.20.2

# btrfs fi show
Label: none  uuid: 209cc44a-3e68-46bd-ad69-184228c73ece
    Total devices 1 FS bytes used 4.31TiB
    devid    1 size 8.73TiB used 5.00TiB path /dev/sda1

# btrfs fi df /snapshot/
Data, single: total=4.92TiB, used=4.28TiB
System, DUP: total=8.00MiB, used=544.00KiB
Metadata, DUP: total=45.00GiB, used=24.60GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

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

end of thread, other threads:[~2020-06-19  4:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 10:29 BTRFS: Transaction aborted (error -24) Greed Rong
2020-06-11 11:20 ` David Sterba
2020-06-11 12:37   ` Qu Wenruo
2020-06-11 13:52     ` David Sterba
2020-06-12  3:15       ` Greed Rong
2020-06-12  6:41         ` Qu Wenruo
2020-06-12 17:13         ` David Sterba
2020-06-15 12:50           ` Greed Rong
2020-06-16  0:38             ` Qu Wenruo
2020-06-18 12:34             ` David Sterba
2020-06-19  4:04               ` Greed Rong
2020-06-19  4:41                 ` Qu Wenruo
2020-06-12  5:38       ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).