Re: [PATCH] Speed up test suite by avoiding fsync

2013-11-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.11.2013 11:13, Colin Watson wrote: > Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into > no-ops, and use it in programs that copy files but do not need to take > special care to sync writes (grub-mknetdir, grub-rescue, > grub-mkstandalone). > Go ahead. > On my laptop,

[PATCH] Speed up test suite by avoiding fsync

2013-11-27 Thread Colin Watson
Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into no-ops, and use it in programs that copy files but do not need to take special care to sync writes (grub-mknetdir, grub-rescue, grub-mkstandalone). On my laptop, this reduces partmap_test's runtime from 1236 seconds to 204 se