[Kimchi-devel] Doubt Bug 121401 - LTCTest: Build36: Takes time to list "Device path" for logical pool creation
Aline Manera
alinefm at linux.vnet.ibm.com
Fri Feb 6 13:32:07 UTC 2015
On 05/02/2015 15:54, Ramon Medeiros wrote:
> Hi Team,
>
> i was debugging this bug and found that this query is taking so much
> time:
>
> pvs = subprocess.Popen(
> ["pvs", "--unbuffered", "--nameprefixes", "--noheadings",
> "-o", "vg_name", devNodePath],
>
> devNodePath is a partition or a disk (e.g. /dev/sdc or /dev/mpathe1)
>
> The goal in this command is search the volume group that this
> partition belongs to. On machines that has inconsistent volume groups,
> it takes a long time to retrieve the information.
>
> Can i cache this information before querying all partitions? Or there
> is other way to query this info faster?
What do you mean by "cache this information"?
>
>
More information about the Kimchi-devel
mailing list