Project

General

Profile

Actions

Bug #47585

open

cache disk.get_devices return value

Added by Jan Fajerski over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

Some parts of the code do this already by saving the return value in a singleton named_tuple.
Calling disks.get_devices() repeatedly can cause unexpected behaviour. https://tracker.ceph.com/issues/47502 seems to eb caused by repeatedly calling disks.get_devices()
Move this caching into disk.get_devices() itself.


Related issues 1 (0 open1 closed)

Related to ceph-volume - Bug #47502: ceph-volume lvm batch race conditionResolved

Actions
Actions #1

Updated by Jan Fajerski over 3 years ago

  • Related to Bug #47502: ceph-volume lvm batch race condition added
Actions

Also available in: Atom PDF