]> sourceware.org Git - lvm2.git/commit
dev-cache: optimize dir scanning
authorZdenek Kabelac <zkabelac@redhat.com>
Sat, 27 Feb 2021 16:09:38 +0000 (17:09 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 2 Mar 2021 21:54:40 +0000 (22:54 +0100)
commitfa64c51428ca20e860bbe21338d916329b8aaf25
tree3382c5473b3cf82f6f4b3555c693bdd66ae38eff
parent9dd759c6b1c0e25e785485f823b09c59ef5b2583
dev-cache: optimize dir scanning

Use 'C' for alphasort - there is no need to use localized and slower
sorting for internal directory scanning.

Ensure on all code paths allocated dirent entries are released.

Optimize full path construction.
lib/device/dev-cache.c
This page took 0.039906 seconds and 5 git commands to generate.