Project

General

Profile

Actions

Bug #13219

closed

get_device_by_uuid->blkid_find_dev_with_tag() may hang for 3 min

Added by Sage Weil over 8 years ago. Updated over 8 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Date: Wed, 23 Sep 2015 22:48:07 +0000
From: Somnath Roy <>
To: "Samuel Just ()" <>,
"Sage Weil ()" <>
Cc: ceph-devel <>
Subject: RE: Very slow recovery/peering with latest master

Sam/Sage,
I debugged it down and found out that the
get_device_by_uuid->blkid_find_dev_with_tag() call within
FileStore::collect_metadata() is hanging for ~3 mins before returning a EINVAL.
I saw this portion is newly added after hammer.
Commenting it out resolves the issue. BTW, I saw this value is stored as
metadata but not used anywhere , am I missing anything ?
Here is my Linux details..

root@emsnode5:~/wip-write-path-optimization/src# uname -a
Linux emsnode5 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux

root@emsnode5:~/wip-write-path-optimization/src# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

Actions

Also available in: Atom PDF