[Bug 10191] dd with conv=fsync after dba0dc1999bb1e8bfe64607e2a9385cda361fcb7 no longer works as expected

bugzilla at busybox.net bugzilla at busybox.net
Tue Aug 8 21:53:15 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=10191

--- Comment #1 from Neil MacLeod <busybox at nmacleod.com> ---
In LibreELEC I've reverted this change:
https://github.com/LibreELEC/LibreELEC.tv/pull/1862

The reason being that during a system update we dd the new image to the SD card
using "bs=1M conv=fsync" and give the user progress feedback during the
transfer (ie. a percentage complete indicator, 0-100%) by monitoring the new
file size using a second thread.

Now, with 1.27.0 and the change to dd conv=fsync, the file size of the new file
doesn't change **during** the transfer (as there is no fsync) so the user
progress feedback is inaccurate. Instead of a steady progression of 1%, 2%, 3%
etc. as data is transferred and synced to the file system, there is now a long
delay where there is no progress, then large jumps to 50% and 100% as the data
is finally synced at the end of dd.

If anyone wanted to achieve what this dba0dc19 change has achieved then they'd
simply not use "conv=fsync" at all, and perform a sync after the dd command.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list