WARNING at fs/btrfs/disk-io.c:275 during xfstests run(4k block)

Sachin Sant sachinp at linux.ibm.com
Tue May 30 14:40:16 AEST 2023


While running xfstests against btrfs (with 4k block size) on IBM Power server
booted with 6.4.0-rc3-next-20230525, following warning is seen. This warning
Is seen several times during the test run.

This problem was first seen with 6.4.0-rc2-next-20230516

[ 365.885258] run fstests btrfs/001 at 2023-05-29 14:40:10
[ 366.070754] BTRFS: device fsid 07324444-a1c0-452c-8409-4fa8f9b69e51 devid 1 transid 6 /dev/sdb2 scanned by mkfs.btrfs (27139)
[ 366.076267] BTRFS info (device sdb2): using crc32c (crc32c-generic) checksum algorithm
[ 366.076286] BTRFS info (device sdb2): using free space tree
[ 366.076292] BTRFS warning (device sdb2): read-write for sector size 4096 with page size 65536 is experimental
[ 366.078153] BTRFS info (device sdb2): enabling ssd optimizations
[ 366.078319] BTRFS info (device sdb2): checking UUID tree
[ 366.084911] ------------[ cut here ]------------
[ 366.084923] WARNING: CPU: 16 PID: 27174 at fs/btrfs/disk-io.c:275 btree_csum_one_bio+0xdc/0x310 [btrfs]
[ 366.084962] Modules linked in: dm_mod nft_fib_inet nft_fib_ipv4 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 bonding rfkill tls ip_set nf_tables nfnetlink sunrpc btrfs blake2b_generic xor raid6_pq zstd_compress nd_pmem libcrc32c nd_btt dax_pmem pseries_rng papr_scm libnvdimm vmx_crypto aes_gcm_p10_crypto ext4 mbcache jbd2 sd_mod t10_pi crc64_rocksoft crc64 sg ibmvscsi ibmveth scsi_transport_srp fuse
[ 366.085003] CPU: 16 PID: 27174 Comm: btrfs Tainted: G W 6.4.0-rc3-next-20230525 #1
[ 366.085009] Hardware name: IBM,9080-HEX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1030.00 (NH1030_026) hv:phyp pSeries
[ 366.085014] NIP: c008000001a2eed4 LR: c008000001b1b5a4 CTR: 0000000000000000
[ 366.085018] REGS: c00000001a3bb030 TRAP: 0700 Tainted: G W (6.4.0-rc3-next-20230525)
[ 366.085023] MSR: 800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE> CR: 24002882 XER: 20040000
[ 366.085033] CFAR: c008000001a2ee78 IRQMASK: 0 
[ 366.085033] GPR00: c008000001b1b5a4 c00000001a3bb2d0 c00800000165a700 c0000000d18cca80 
[ 366.085033] GPR04: c0000001029da290 0000000000000000 0000000000004000 0000000001d44000 
[ 366.085033] GPR08: c00c00000021fd40 0000000000000000 0000000000000000 c00000000a19d890 
[ 366.085033] GPR12: 0000000084002482 c000000aa7cf6f00 0000000000000000 0000000000000001 
[ 366.085033] GPR16: c00000001a3bb790 0000000000000000 c00000001a3bb770 0000000000000000 
[ 366.085033] GPR20: c00000001a3bb558 0000000001d40000 0000000000000000 c00000001a3bb558 
[ 366.085033] GPR24: c0000000879ed000 c0000000d18cca80 c0000000fd947a80 c0000000879ed000 
[ 366.085033] GPR28: c0000000d18ccb30 0000000000004000 c000000002c67490 c0000000d1a0c558 
[ 366.085078] NIP [c008000001a2eed4] btree_csum_one_bio+0xdc/0x310 [btrfs]
[ 366.085110] LR [c008000001b1b5a4] btrfs_bio_csum+0x4c/0x70 [btrfs]
[ 366.085139] Call Trace:
[ 366.085141] [c00000001a3bb2d0] [0000000000000006] 0x6 (unreliable)
[ 366.085146] [c00000001a3bb380] [0000000001d44000] 0x1d44000
[ 366.085150] [c00000001a3bb3a0] [c008000001b1c554] btrfs_submit_chunk+0x51c/0x560 [btrfs]
[ 366.085179] [c00000001a3bb440] [c008000001b1c67c] btrfs_submit_bio+0x44/0x70 [btrfs]
[ 366.085207] [c00000001a3bb470] [c008000001a74ec0] write_one_eb+0x2f8/0x3c0 [btrfs]
[ 366.085242] [c00000001a3bb4d0] [c008000001a75460] btree_write_cache_pages+0x4d8/0x7b0 [btrfs]
[ 366.085276] [c00000001a3bb660] [c008000001a2d04c] btree_writepages+0x94/0xe0 [btrfs]
[ 366.085308] [c00000001a3bb690] [c00000000044df24] do_writepages+0x114/0x290
[ 366.085316] [c00000001a3bb710] [c000000000436f58] filemap_fdatawrite_wbc+0xb8/0x140
[ 366.085322] [c00000001a3bb750] [c00000000043df60] __filemap_fdatawrite_range+0x80/0xc0
[ 366.085327] [c00000001a3bb800] [c008000001a37dc0] btrfs_write_marked_extents+0x78/0x1b0 [btrfs]
[ 366.085360] [c00000001a3bb870] [c008000001a37f60] btrfs_write_and_wait_transaction.isra.22+0x68/0x140 [btrfs]
[ 366.085393] [c00000001a3bb8e0] [c008000001a3a2d8] btrfs_commit_transaction+0x610/0x11f0 [btrfs]
[ 366.085425] [c00000001a3bb9d0] [c008000001a8ccf0] btrfs_mksubvol.isra.36+0x4e8/0x5b0 [btrfs]
[ 366.085460] [c00000001a3bbab0] [c008000001a8ce8c] btrfs_mksnapshot+0xd4/0x140 [btrfs]
[ 366.085493] [c00000001a3bbb20] [c008000001a8d110] __btrfs_ioctl_snap_create+0x218/0x260 [btrfs]
[ 366.085526] [c00000001a3bbbd0] [c008000001a8d3fc] btrfs_ioctl_snap_create_v2+0x1a4/0x1f0 [btrfs]
[ 366.085559] [c00000001a3bbc30] [c008000001a910a4] btrfs_ioctl+0x1dac/0x3180 [btrfs]
[ 366.085592] [c00000001a3bbdc0] [c0000000005a7098] sys_ioctl+0xf8/0x190
[ 366.085598] [c00000001a3bbe10] [c0000000000374b0] system_call_exception+0x140/0x350
[ 366.085604] [c00000001a3bbe50] [c00000000000d6a0] system_call_common+0x160/0x2e4
[ 366.085610] --- interrupt: c00 at 0x7fffa5f29b70
[ 366.085614] NIP: 00007fffa5f29b70 LR: 000000001007a968 CTR: 0000000000000000
[ 366.085618] REGS: c00000001a3bbe80 TRAP: 0c00 Tainted: G W (6.4.0-rc3-next-20230525)
[ 366.085625] MSR: 800000000000f033 <SF,EE,PR,FP,ME,IR,DR,RI,LE> CR: 24000444 XER: 00000000
[ 366.085644] IRQMASK: 0 
[ 366.085644] GPR00: 0000000000000036 00007ffff654b320 00007fffa6007300 0000000000000003 
[ 366.085644] GPR04: 0000000090009417 00007ffff654b3a0 0000000000000001 000000000000001a 
[ 366.085644] GPR08: 0000000000000003 0000000000000000 0000000000000000 0000000000000000 
[ 366.085644] GPR12: 0000000000000000 00007fffa65ef7a0 0000000000000000 0000000000000000 
[ 366.085644] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[ 366.085644] GPR20: 0000000000000000 0000000000000000 0000000000000000 000000001a0902cd 
[ 366.085644] GPR24: 00007ffff654de6e 000000001a0902e0 0000000000000000 000000001a0902c0 
[ 366.085644] GPR28: 0000000000000000 000000001a0902e0 0000000000000004 0000000000000003 
[ 366.085725] NIP [00007fffa5f29b70] 0x7fffa5f29b70
[ 366.085731] LR [000000001007a968] 0x1007a968
[ 366.085737] --- interrupt: c00
[ 366.085742] Code: ebe1fff8 4e800020 60000000 7fa74840 409e016c e9280008 712a0001 3929ffff 7d08489e e9280000 71290004 40820020 <0fe00000> 7c0802a6 fb810090 fba10098 
[ 366.085768] ---[ end trace 0000000000000000 ]---
[ 366.086029] BTRFS: error (device sdb2) in btrfs_commit_transaction:2478: errno=-5 IO failure (Error while writing out transaction)
[ 366.086043] BTRFS info (device sdb2: state E): forced readonly

- Sachin


More information about the Linuxppc-dev mailing list