]> wimlib.net Git - wimlib/commit
Fix slow progress updating for wimsplit
authorEric Biggers <ebiggers3@gmail.com>
Fri, 2 Apr 2021 04:07:53 +0000 (21:07 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 2 Apr 2021 04:07:53 +0000 (21:07 -0700)
commit63fb6b74b714d58286823e54a4555b7d85d49163
tree72f8f695d18fbff74ea558b62765f280342d0d8b
parent19bae757e5b20b8699036d66c6543b8aabdbc8ae
Fix slow progress updating for wimsplit

wimsplit only prints a progress message when starting each WIM part.
That could be very infrequently since each part could be gigabytes.

Fix it to update the progress regularly as data is written, like the
other wimlib-imagex commands do.

This required changing the library to report
WIMLIB_PROGRESS_MSG_WRITE_STREAMS messages from wimlib_split() and
include the completed compressed size in them.

Reported at https://www.reddit.com/r/pcmasterrace/comments/hagu4k/wimlibimagex_split_stuck_at_0
include/wimlib.h
programs/imagex.c
src/split.c
src/write.c