bitbake: persist_data: Avoid fsync() calls
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 May 2014 10:18:33 +0000 (11:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 May 2014 10:24:48 +0000 (11:24 +0100)
commitcecfa97a4c3a665d08cdedb78dae6da7f2ff13c3
tree8c5af109eb2632845e09e842e92c2c4685871f6f
parentb4be3f311b51c2f27a1aa4f8371fde301dd43a17
bitbake: persist_data: Avoid fsync() calls

If the power were to fail, it doesn't matter to us much if the data
makes it to disk or not, we'd have other problems. However an fsync()
call on a multi build autobuilder is painful so lets avoid them.

This is particularly true in this case if a timeout causes a reconnect
during a build.

(Bitbake rev: ec28256ac2a30f047585e8f61200d764bc295ded)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/persist_data.py