[LU-14232] page dicarded with mapcount not zero (kernel BUG at mm/filemap.c:240!) Created: 17/Dec/20  Updated: 17/Dec/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Zhenyu Xu Assignee: Zhenyu Xu
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
Dec 14 12:46:07 p0271 kernel: ------------[ cut here ]------------
Dec 14 12:46:07 p0271 kernel: kernel BUG at mm/filemap.c:240!
Dec 14 12:46:07 p0271 kernel: invalid opcode: 0000 [#1] SMP 
Dec 14 12:46:07 p0271 kernel: Modules linked in: squashfs loop overlay(T) osc(OE) mgc(OE) lustre(OE) lmv(OE) fld(OE) mdc(OE) fid(OE) lov(OE) ptlrpc(OE) obdclass(OE) ko2iblnd(OE) netconsole lnet(OE) hpwdt nfsv3 libcfs(OE) ib_isert iscsi_ta
rget_mod ib_srpt target_core_mod crc_t10dif crct10dif_generic ib_srp scsi_transport_srp scsi_tgt mlx4_en sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_i
ntel iTCO_wdt ghash_clmulni_intel iTCO_vendor_support aesni_intel rpcrdma mgag200 lrw gf128mul glue_helper ablk_helper ttm cryptd rdma_ucm drm_kms_helper ib_iser syscopyarea sysfillrect sysimgblt fb_sys_fops rdma_cm iw_cm drm libiscsi pcs
pkr ib_umad serio_raw scsi_transport_iscsi lpc_ich i2c_i801 drm_panel_orientation_quirks hpilo ipmi_si ioatdma
Dec 14 12:46:07 p0271 kernel: ipmi_devintf ipmi_msghandler wmi acpi_power_meter binfmt_misc nfsd auth_rpcgss nfs_acl ip_tables ib_ipoib ib_cm mlx4_ib ib_uverbs ib_core mlx4_core devlink nfs lockd grace sunrpc fscache igb ptp pps_core i2c_
algo_bit dca
Dec 14 12:46:07 p0271 kernel: CPU: 6 PID: 6166 Comm: ptlrpcd_02_02 Tainted: G           OE  ------------ T 3.10.0-1160.6.1.el7.x86_64 #1
Dec 14 12:46:07 p0271 kernel: Hardware name: HP ProLiant XL730f Gen9/ProLiant XL730f Gen9, BIOS U18 05/21/2018
Dec 14 12:46:07 p0271 kernel: task: ffff9ecb8efac200 ti: ffff9edc32374000 task.ti: ffff9edc32374000
Dec 14 12:46:07 p0271 kernel: RIP: 0010:[<ffffffff903bf756>]  [<ffffffff903bf756>] __delete_from_page_cache+0x286/0x2a0
Dec 14 12:46:07 p0271 kernel: RSP: 0018:ffff9edc32377ad8  EFLAGS: 00010046
Dec 14 12:46:07 p0271 kernel: RAX: 0000000000000000 RBX: ffff9eda2daaa168 RCX: 00000000ffffffa6
Dec 14 12:46:07 p0271 kernel: RDX: 000000000001fe22 RSI: 000000000000000a RDI: ffff9edbbffda000
Dec 14 12:46:07 p0271 kernel: RBP: ffff9edc32377b10 R08: 000000000000005a R09: 0000000000000046
Dec 14 12:46:07 p0271 kernel: R10: 0000000000000230 R11: ffff9eda18ca7800 R12: ffffed549cd62ec0
Dec 14 12:46:07 p0271 kernel: R13: ffff9eda2daaa160 R14: 0000000000000000 R15: ffff9ed41bfa1f38
Dec 14 12:46:07 p0271 kernel: FS:  0000000000000000(0000) GS:ffff9edb9fc00000(0000) knlGS:0000000000000000
Dec 14 12:46:07 p0271 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 14 12:46:07 p0271 kernel: CR2: 00002b94d0eab000 CR3: 0000001157e10000 CR4: 00000000001607e0
Dec 14 12:46:07 p0271 kernel: Call Trace:
Dec 14 12:46:07 p0271 kernel: [<ffffffff903bf7ab>] delete_from_page_cache+0x3b/0x80
Dec 14 12:46:07 p0271 kernel: [<ffffffffc114dc22>] vvp_page_discard+0xa2/0x160 [lustre]
Dec 14 12:46:07 p0271 kernel: [<ffffffffc0d62c8b>] cl_page_discard+0x4b/0x70 [obdclass]
Dec 14 12:46:07 p0271 kernel: [<ffffffffc11c9580>] discard_pagevec+0x60/0xd0 [osc]
Dec 14 12:46:07 p0271 kernel: [<ffffffffc11ca769>] osc_lru_shrink+0x6a9/0x720 [osc]
Dec 14 12:46:07 p0271 kernel: [<ffffffff902e441c>] ? update_curr+0x14c/0x1e0
Dec 14 12:46:07 p0271 kernel: [<ffffffffc11cb39c>] lru_queue_work+0x4c/0x230 [osc]
Dec 14 12:46:07 p0271 kernel: [<ffffffffc0f303fa>] work_interpreter+0x3a/0xf0 [ptlrpc]
Dec 14 12:46:07 p0271 kernel: [<ffffffffc0f2cffb>] ptlrpc_check_set.part.23+0x44b/0x1db0 [ptlrpc]
Dec 14 12:46:07 p0271 kernel: [<ffffffff9022b59e>] ? __switch_to+0xce/0x580
Dec 14 12:46:07 p0271 kernel: [<ffffffffc0f2e9bb>] ptlrpc_check_set+0x5b/0xe0 [ptlrpc]
Dec 14 12:46:07 p0271 kernel: [<ffffffffc0f5af4b>] ptlrpcd_check+0x4cb/0x5e0 [ptlrpc]
Dec 14 12:46:07 p0271 kernel: [<ffffffffc0f5b370>] ptlrpcd+0x310/0x570 [ptlrpc]
Dec 14 12:46:07 p0271 kernel: [<ffffffff902daf40>] ? wake_up_state+0x20/0x20
Dec 14 12:46:07 p0271 kernel: [<ffffffffc0f5b060>] ? ptlrpcd_check+0x5e0/0x5e0 [ptlrpc]
Dec 14 12:46:07 p0271 kernel: [<ffffffff902c5c21>] kthread+0xd1/0xe0
Dec 14 12:46:07 p0271 kernel: [<ffffffff902c5b50>] ? insert_kthread_work+0x40/0x40
Dec 14 12:46:07 p0271 kernel: [<ffffffff90994df7>] ret_from_fork_nospec_begin+0x21/0x21
Dec 14 12:46:07 p0271 kernel: [<ffffffff902c5b50>] ? insert_kthread_work+0x40/0x40
Dec 14 12:46:07 p0271 kernel: Code: 07 fe ff ff 90 45 31 f6 e9 46 fe ff ff 48 8b 75 c8 48 89 df e8 0c db 1c 00 84 c0 0f 85 79 fe ff ff e9 5d fe ff ff e8 2a b8 ed ff <0f> 0b 0f 1f 84 00 00 00 00 00 e8 25 c5 5b 00 90 66 2e 0f 1f 84 
Dec 14 12:46:07 p0271 kernel: RIP  [<ffffffff903bf756>] __delete_from_page_cache+0x286/0x2a0
Dec 14 12:46:07 p0271 kernel: RSP <ffff9edc32377ad8>
Dec 14 12:49:55 p0271 kernel: Initializing cgroup subsys cpuset 
__delete_from_page_cache
                         
 238         if (PageSwapBacked(page))                                               
 239                 __dec_zone_page_state(page, NR_SHMEM);                          
 240         BUG_ON(page_mapped(page));                                              
 241                                                              

Generated at Sat Feb 10 03:07:59 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.