Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osd: FileStore: conditional collection of drive metadata #6956

Merged

Conversation

somnathr
Copy link

Originally this is part of pull request #6743 .Since that is waiting for Teuthology data , request from Intel came for expediting merge of this commit. Created this pull request so that it can be merged quicker into mainstream.

get_device_by_uuid->blkid_find_dev_with_tag() call from
FileStore::collect_metadata() is hanging for ~3min before returning
EINVAL in case the drive is visible but reserved for some other host.
This is probably is bug within blkid* calls. fdisk/lsblk call is coming
out immediately saying device is inaccessible. This call is now
protected by config option filestore_collect_device_partition_information

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
somnathr referenced this pull request in somnathr/ceph Dec 16, 2015
get_device_by_uuid->blkid_find_dev_with_tag() call from
FileStore::collect_metadata() is hanging for ~3min before returning
EINVAL in case the drive is visible but reserved for some other host.
This is probably is bug within blkid* calls. fdisk/lsblk call is coming
out immediately saying device is inaccessible. This call is now
protected by config option filestore_collect_device_partition_information

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
@xiaoxichen
Copy link
Contributor

@liewegas , we are en-counting this issue when the OSD reboot , which take around 7 minutes in the blkid_find*

As discussed in ML, seems we don't have much idea why this call block for that long with OSDs didn't prepared via ceph-disk, so a tunable is really necessary for our case.

liewegas added a commit that referenced this pull request Dec 17, 2015
…-collection

osd: FileStore: conditional collection of drive metadata

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 03f9c6f into ceph:master Dec 17, 2015
@ghost ghost changed the title FileStore: Conditional collection of drive metadata osd: FileStore: conditional collection of drive metadata Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants