Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #59452 > unrolled thread
| Started by | Jukka Tastula <poltsy@gmail.com> |
|---|---|
| First post | 2017-11-22 00:10 +0100 |
| Last post | 2017-11-22 00:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.kernel
Bug#882380: initramfs-tools: Update-initramfs can take an unnecessarily long time if other disk activity is ongoing Jukka Tastula <poltsy@gmail.com> - 2017-11-22 00:10 +0100
| From | Jukka Tastula <poltsy@gmail.com> |
|---|---|
| Date | 2017-11-22 00:10 +0100 |
| Subject | Bug#882380: initramfs-tools: Update-initramfs can take an unnecessarily long time if other disk activity is ongoing |
| Message-ID | <uOpPX-or-7@gated-at.bofh.it> |
Package: initramfs-tools
Version: 0.130
Severity: wishlist
Tags: patch
Hi.
After generating an initrd update-initramfs calls sync unconditinally. This
can take a very long time to return if other disk activity, like perhaps a
long backup job, is running simultaneously. Suggest only syncing the
filesystem the initrd is actually placed on instead.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.12.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.130
ii linux-base 4.5
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4.3
-- no debconf information
*** /home/pollo/ir.diff
--- update-initramfs~ 2017-03-07 00:42:55.000000000 +0200
+++ update-initramfs 2017-11-22 00:16:29.149530813 +0200
@@ -158,7 +158,7 @@
mv -f "${initramfs}.new" "${initramfs}"
set_sha1
# Guard against an unclean shutdown
- sync
+ sync -f "${initramfs}"
else
mkinitramfs_return="$?"
remove_initramfs_bak
Back to top | Article view | linux.debian.kernel
csiph-web