[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ubuntu dpkg 1.18.10ubuntu2



This e-mail has been sent due to an upload to Ubuntu that contains Ubuntu
changes.  It contains the difference between the new version and the
previous version of the same source package in Ubuntu.
Format: 1.8
Date: Mon, 10 Apr 2017 04:08:19 -0600
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source
Version: 1.18.10ubuntu2
Distribution: zesty
Urgency: medium
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Changed-By: Adam Conrad <adconrad@ubuntu.com>
Description: 
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
 libdpkg-dev - Debian package management static library
 libdpkg-perl - Dpkg perl modules
Launchpad-Bugs-Fixed: 1663749
Changes: 
 dpkg (1.18.10ubuntu2) zesty; urgency=medium
 .
   * Cherry-pick patch from git to limit preallocation to files over
     16KiB, fixing installation performance regression (LP: #1663749)
Checksums-Sha1: 
 d0554c5619e2816add5e73fae96f033dfdf2eb95 2119 dpkg_1.18.10ubuntu2.dsc
 8bfccf420e203ebc38264c8c906e20adcd57fa84 4590800 dpkg_1.18.10ubuntu2.tar.xz
Checksums-Sha256: 
 76b2c0868b7558f2557b60939bbf63fa0bb17b5588cdbd85a83435da92f3ff98 2119 dpkg_1.18.10ubuntu2.dsc
 c0e164393ead892d81fb60d055d8f03d81bc4a0997f9459e0f85833552a9518d 4590800 dpkg_1.18.10ubuntu2.tar.xz
Files: 
 aa079e764f1adfeb465a82d28e21c054 2119 admin required dpkg_1.18.10ubuntu2.dsc
 b5583e49bcf1351dbc628445318a476b 4590800 admin required dpkg_1.18.10ubuntu2.tar.xz
Original-Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
diff -pruN 1.18.10ubuntu1/debian/changelog 1.18.10ubuntu2/debian/changelog
--- 1.18.10ubuntu1/debian/changelog	2016-08-12 17:39:00.000000000 +0000
+++ 1.18.10ubuntu2/debian/changelog	2017-04-10 10:08:19.000000000 +0000
@@ -1,3 +1,10 @@
+dpkg (1.18.10ubuntu2) zesty; urgency=medium
+
+  * Cherry-pick patch from git to limit preallocation to files over
+    16KiB, fixing installation performance regression (LP: #1663749)
+
+ -- Adam Conrad <adconrad@ubuntu.com>  Mon, 10 Apr 2017 04:08:19 -0600
+
 dpkg (1.18.10ubuntu1) yakkety; urgency=medium
 
   * Merge from Debian testing; remaining Ubuntu changes:
diff -pruN 1.18.10ubuntu1/lib/dpkg/fdio.c 1.18.10ubuntu2/lib/dpkg/fdio.c
--- 1.18.10ubuntu1/lib/dpkg/fdio.c	2016-04-25 21:17:27.000000000 +0000
+++ 1.18.10ubuntu2/lib/dpkg/fdio.c	2017-04-10 10:08:19.000000000 +0000
@@ -102,7 +102,9 @@ fd_allocate_size(int fd, off_t offset, o
 {
 	int rc;
 
-	if (len == 0)
+	/* Do not preallocate on very small files as that degrades performance
+	 * on some filesystems. */
+	if (len < (4 * 4096) - 1)
 		return 0;
 
 #if defined(HAVE_F_PREALLOCATE)

Reply to: