[Rpm-maint] [PATCH v2 0/3] find-debuginfo.sh speedup
Michal Marek
mmarek at suse.com
Mon Jul 4 05:29:57 UTC 2016
Hi,
this series allows find-debuginfo.sh to run in parallel. It also makes the
duplicate build-id links predictable.
Changes in v2: I found that using a named pipe is racy, because a
process might open it too late, after the main process has written all
the ids into it and the other processes have read them. This version
uses a regular pipe, which gives EOF as soon as the last writer has
closed it. Also, I fixed a bug with packages that do not contain any
ELF files.
Michal
Michal Marek (3):
find-debuginfo.sh: Split directory traversal and debuginfo extraction
find-debuginfo.sh: Make the duplicate id links deterministic
find-debuginfo.sh: Process files in parallel
macros.in | 2 +-
scripts/find-debuginfo.sh | 112 +++++++++++++++++++++++++++++++++++++---------
2 files changed, 91 insertions(+), 23 deletions(-)
--
2.6.2
More information about the Rpm-maint
mailing list