Project

General

Profile

Actions

Bug #43218

closed

kclient: when looking up the snap dirs sometime will hit WARN_ON

Added by Xiubo Li over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
kceph
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hit this twice in 30 minutes, the following are the warning:

76 <7>[ 3254.346712] ceph:  readdir fetching 10000000000.5 frag 0 offset '(null)'
77 <4>[ 3254.348053] ------------[ cut here ]------------
78 <4>[ 3254.348086] WARNING: CPU: 2 PID: 674 at fs/ceph/inode.c:1245 ceph_fill_trace+0x5f9/0xa80 [ceph]
79 <4>[ 3254.348087] Modules linked in: ceph(E) libceph fscache vsock_diag tcp_diag udp_diag raw_diag inet_diag unix_diag af_packet_diag netlink_diag ip6t_rpfilter ip6t_REJ ECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat iptable_mangle iptable_raw iptable_security nf conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables bnep vmw_vsock_vmci_transport vsock sunrpc snd_seq_midi snd seq_midi_event intel_rapl_msr intel_rapl_common crct10dif_pclmul crc32_pclmul snd_ens1371 ghash_clmulni_intel snd_ac97_codec ac97_bus snd_rawmidi snd_seq btusb btrtl snd _seq_device btbcm btintel bluetooth vmw_balloon snd_pcm intel_rapl_perf joydev pcspkr ecdh_generic snd_timer snd ecc soundcore rfkill vmw_vmci gameport i2c_piix4 xfs lib crc32c vmwgfx drm_kms_helper ttm drm crc32c_intel serio_raw mptspi e1000 scsi_transport_spi mptscsih ata_generic mptbase pata_acpi [last unloaded: ceph]
80 <4>[ 3254.348136] CPU: 2 PID: 674 Comm: kworker/2:5 Tainted: G E 5.4.0+ #7
81 <4>[ 3254.348137] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 05/19/2017
82 <4>[ 3254.348174] Workqueue: ceph-msgr ceph_con_workfn [libceph]
83 <4>[ 3254.348182] RIP: 0010:ceph_fill_trace+0x5f9/0xa80 [ceph]
84 <4>[ 3254.348183] Code: 00 45 31 ed 4d 85 c9 0f 84 73 04 00 00 4d 89 4e 38 48 8b 3c 24 e8 07 76 76 d4 49 8b 8e 58 01 00 00 0f b6 41 0e e9 c1 fa ff ff <0f> 0b 45 31 ed 84 c0 0f 84 4a fb ff ff e9 b9 fa ff ff 48 c7 c6 18
85 <4>[ 3254.348184] RSP: 0018:ffffb56e80383c70 EFLAGS: 00010246
86 <4>[ 3254.348185] RAX: 0000000000000000 RBX: ffff8b35e9b67a40 RCX: ffff8b35d5341c00
87 <4>[ 3254.348186] RDX: 0000000000000001 RSI: ffff8b35e087a800 RDI: ffff8b35db676000
88 <4>[ 3254.348186] RBP: 0000000000000000 R08: ffff8b35e087a898 R09: 0000000000000001
89 <4>[ 3254.348186] R10: 0000000000000000 R11: 000000000000000e R12: ffff8b35db671800
90 <4>[ 3254.348187] R13: ffff8b35e0314c00 R14: ffff8b35e087a800 R15: ffff8b35db676000
91 <4>[ 3254.348188] FS: 0000000000000000(0000) GS:ffff8b35eec80000(0000) knlGS:0000000000000000
92 <4>[ 3254.348189] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
93 <4>[ 3254.348189] CR2: 000056295cb00000 CR3: 0000000426c18005 CR4: 00000000003606e0
94 <4>[ 3254.348229] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
95 <4>[ 3254.348230] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
96 <4>[ 3254.348231] Call Trace:
97 <4>[ 3254.348241] ? ceph_update_snap_trace+0x473/0x4c0 [ceph]
98 <4>[ 3254.348249] dispatch+0x2ac/0x12b0 [ceph]
99 <4>[ 3254.348270] ceph_con_workfn+0xd40/0x27c0 [libceph]
100 <4>[ 3254.348274] ? __switch_to_asm+0x34/0x70
101 <4>[ 3254.348275] ? __switch_to_asm+0x40/0x70
102 <4>[ 3254.348276] ? __switch_to_asm+0x34/0x70
103 <4>[ 3254.348276] ? __switch_to_asm+0x40/0x70
104 <4>[ 3254.348277] ? __switch_to_asm+0x34/0x70
105 <4>[ 3254.348278] ? __switch_to_asm+0x34/0x70
106 <4>[ 3254.348280] ? __switch_to+0x80/0x440
107 <4>[ 3254.348281] ? __switch_to_asm+0x34/0x70
108 <4>[ 3254.348282] ? __schedule+0x2ce/0x710
109 <4>[ 3254.348284] process_one_work+0x1b0/0x350
110 <4>[ 3254.348286] worker_thread+0x50/0x3b0
111 <4>[ 3254.348288] kthread+0xfb/0x130
112 <4>[ 3254.348289] ? process_one_work+0x350/0x350
113 <4>[ 3254.348290] ? kthread_park+0x90/0x90
114 <4>[ 3254.348291] ret_from_fork+0x35/0x40
115 <4>[ 3254.348293] ---[ end trace 4b390b5029edc592 ]---
116 <7>[ 3254.348446] ceph: readdir 000000009f792a67 file 00000000d0529542 pos 2
117 <7>[ 3254.348448] ceph: readdir fetching 10000000000.5 frag 0 offset '(null)'
Actions #1

Updated by Xiubo Li over 4 years ago

  • Status changed from New to Rejected

This is not a bug and will close it.

commit 6c5e50fa614fea5325a2973be06f7ec6f1055316
Author: Sage Weil <sage@inktank.com>
Date:   Tue Aug 21 15:55:25 2012 -0700

    ceph: tolerate (and warn on) extraneous dentry from mds

    If the MDS gives us a dentry and we weren't prepared to handle it,
    WARN_ON_ONCE instead of crashing.

Actions

Also available in: Atom PDF