Project

General

Profile

Actions

Bug #47294

closed

client: thread hang in Client::_setxattr_maybe_wait_for_osdmap

Added by Patrick Donnelly over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

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

Description

2020-09-03T04:15:44.868+0000 7feae3457700  3 client.19878 _do_setxattr(0x10000000002, "ceph.dir.subvolume") = 0
2020-09-03T04:15:44.868+0000 7feae3457700  1 -- 172.21.15.71:0/3974804240 --> [v2:172.21.15.71:3300/0,v1:172.21.15.71:6789/0] -- mon_get_version(what=osdmap handle=2) v1 -- 0x558a28064420 con 0x558a2d0a9800
2020-09-03T04:15:44.868+0000 7fea98a01700  1 -- 172.21.15.71:0/3974804240 <== mon.0 v2:172.21.15.71:3300/0 8 ==== mon_get_version_reply(handle=2 version=618) v2 ==== 24+0+0 (secure 0 0 0) 0x558a28064420 con 0x558a2d0a9800

From : /ceph/teuthology-archive/pdonnell-2020-09-03_02:04:14-fs-wip-pdonnell-testing-20200903.000442-distro-basic-smithi/5401496/remote/smithi071/log/ceph-mgr.x.log.gz

At that point, 7feae3457700 is planning to do another setxattr with an invalid pool name. That waits for the latest osdmap but the CompletionToken does not get called:

https://github.com/ceph/ceph/blob/e4a37f6338cf39e76228492897c1f2165e294dba/src/client/Client.cc#L11995


Related issues 1 (0 open1 closed)

Related to CephFS - Bug #47293: client: osdmap wait not protected by mounted mutexResolvedXiubo Li

Actions
Actions

Also available in: Atom PDF