WARNING from fs/xfs/xfs_aops.c:851 xfs_do_writepage+0x34a/0x570 [xfs]
Issue
Shortly after system start a WARNING message
WARNING: CPU: 4 PID: 5535 at fs/xfs/xfs_aops.c:851 xfs_do_writepage+0x34a/0x570 [xfs]
appears on the console accompanied by dumping the kernel stack to help identify the origin of the warning.
Example:
[ 34.570316] WARNING: CPU: 4 PID: 5535 at fs/xfs/xfs_aops.c:851 xfs_do_writepage+0x34a/0x570 [xfs]
[ 34.570322] Modules linked in: mmfs26(OE) mmfslinux(OE) tracedev(OE) xt_CHECKSUM ipt_MASQUERADE xt_conntrack ipt_REJECT nft_counter nf_nat_tftp nft_objref nf_conntrack_tftp nf_tables_set nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct tun bridge 8021q garp mrp stp llc bonding nft_chain_nat_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nft_chain_route_ipv6 nft_chain_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nft_chain_route_ipv4 nf_conntrack ip6_tables nft_compat ip_set nf_tables nfnetlink kvm sunrpc qeth_l3 ghash_s390 prng xts aes_s390 des_s390 des_generic sha512_s390 binfmt_misc ip_tables xfs libcrc32c scm_block eadm_sch qeth_l2 dasd_eckd_mod dasd_mod qeth qdio ccwgroup dm_mirror dm_region_hash dm_log dm_mod pkey
[ 34.570362] zcrypt
[ 34.570366] CPU: 4 PID: 5535 Comm: mmfsd Kdump: loaded Tainted: G OE --------- - - 4.18.0-147.3.1.el8_1.s390x #1
[ 34.570368] Hardware name: IBM 3906 M03 714 (LPAR)
[ 34.570370] Krnl PSW : 0704d00180000000 001fffff802bfeda (xfs_do_writepage+0x34a/0x570 [xfs])
[ 34.570390] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:1 PM:0 RI:0 EA:3
[ 34.570393] Krnl GPRS: 0000000000000001 0000000100400840 0000400000000800 0000000000000800
[ 34.570395] 00000000c3597cc8 00000001ed2ea000 000000013b81a800 0000000000000000
[ 34.570397] 00000000c3597cc8 000000011fde8538 000040000474ddc0 000000011fde8538
[ 34.570398] 000040000474ddc0 000000000080d020 00000000c3597b18 00000000c3597a78
[ 34.570437] Krnl Code: 001fffff802bfeca: c02b00020800 nilf %r2,133120
001fffff802bfed0: ec23fe906076 crj %r2,%r3,6,1fffff802bfbf0
#001fffff802bfed6: a7f40001 brc 15,1fffff802bfed8
>001fffff802bfeda: b904003a lgr %r3,%r10
001fffff802bfede: e320f0b00004 lg %r2,176(%r15)
001fffff802bfee4: a7690000 lghi %r6,0
001fffff802bfee8: c0e5fffcdcc2 brasl %r14,1fffff8025b86c
001fffff802bfeee: b904002a lgr %r2,%r10
[ 34.570458] Call Trace:
[ 34.570462] ([<0000000124d90400>] 0x124d90400)
[ 34.570468] [<00000000002cc298>] write_cache_pages+0x248/0x4a0
[ 34.570515] [<001fffff802bf3e8>] xfs_vm_writepages+0x88/0xc8 [xfs]
[ 34.570517] [<00000000002ced60>] do_writepages+0x48/0xe8
[ 34.570522] [<00000000002bbfcc>] __filemap_fdatawrite_range+0xd4/0x130
[ 34.570524] [<00000000002bc266>] file_write_and_wait_range+0x6e/0xc8
[ 34.570546] [<001fffff802cca94>] xfs_file_fsync+0x6c/0x208 [xfs]
[ 34.570550] [<00000000003aab5e>] do_fsync+0x5e/0xa0
[ 34.570552] [<00000000003aaf12>] sys_fsync+0x32/0x40
[ 34.570557] [<00000000007e91fe>] system_call+0x2aa/0x2c8
[ 34.570558] Last Breaking-Event-Address:
[ 34.570577] [<001fffff802bfed6>] xfs_do_writepage+0x346/0x570 [xfs]
[ 34.570579] ---[ end trace 0321c71a49d4df04 ]---
Environment
- Red Hat Enterprise Linux 8
Problem detected on s390x platform (IBM Z Series, mainframe) with
kernel 4.18.0-147.3.1.el8_1.s390x
but it exists on all supported platforms
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.