Bug #13219
closedget_device_by_uuid->blkid_find_dev_with_tag() may hang for 3 min
0%
Description
Date: Wed, 23 Sep 2015 22:48:07 +0000
From: Somnath Roy <Somnath.Roy@sandisk.com>
To: "Samuel Just (sam.just@inktank.com)" <sam.just@inktank.com>,
"Sage Weil (sage@newdream.net)" <sage@newdream.net>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
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