mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
bitbake: runqueue: Avoid save_unitaskhashes
The save comes with an IO overhead which can slow down the rehash loop in bitbake a lot. We only needed to do this when recipes were doing unihash cache copying. Now they aren't doing that, drop this IO pain point. (Bitbake rev: dfc15ef99302dea22a051c9eb8398ffd5cf1fc20) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2550,9 +2550,6 @@ class RunQueueExecute:
|
|||||||
self.rqdata.runtaskentries[hashtid].unihash = unihash
|
self.rqdata.runtaskentries[hashtid].unihash = unihash
|
||||||
bb.parse.siggen.set_unihash(hashtid, unihash)
|
bb.parse.siggen.set_unihash(hashtid, unihash)
|
||||||
toprocess.add(hashtid)
|
toprocess.add(hashtid)
|
||||||
if torehash:
|
|
||||||
# Need to save after set_unihash above
|
|
||||||
bb.parse.siggen.save_unitaskhashes()
|
|
||||||
|
|
||||||
# Work out all tasks which depend upon these
|
# Work out all tasks which depend upon these
|
||||||
total = set()
|
total = set()
|
||||||
|
|||||||
Reference in New Issue
Block a user