]> git.ipfire.org Git - ipfire-2.x.git/commit
mountfs: Remove excessive sync-ing before umount
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Aug 2023 09:48:35 +0000 (09:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Aug 2023 09:48:35 +0000 (09:48 +0000)
commitd4a8484eb1805696b9147ef7cc873776d76f0c4e
tree9183b7a242a97b4e890046164e0d9997bce090d4
parent21d8c56c8a38d2622d13b0a60f14b6d41a5f355b
mountfs: Remove excessive sync-ing before umount

The system should perform all write operations when sync is called and
only return when the write queues are empty.

There is no additional benefit for calling sync again as the buffers
should be empty. If data is still being lost, then that is a bug in
either the storage device or driver.

As the (re-)boot process is already so slow, I would like to get rid of
any unnecessary delays.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/mountfs