4.0.4-alt77.M40.17

- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
  When scanning a large number of packages (with e.g. rpmquery), readahead
  might cause negative effects on the buffer cache.
This commit is contained in:
Alexey Tourbin 2009-05-10 23:34:49 +04:00
parent 66b17f5fd5
commit 29ab0634b1

View File

@ -4,7 +4,7 @@
Name: %rpm_name
Version: %rpm_version
Release: alt77.M40.16
Release: alt77.M40.17
%define ifdef() %if %{expand:%%{?%{1}:1}%%{!?%{1}:0}}
%define get_dep() %(rpm -q --qf '%%{NAME} >= %%|SERIAL?{%%{SERIAL}:}|%%{VERSION}-%%{RELEASE}' %1 2>/dev/null || echo '%1 >= unknown')
@ -509,6 +509,11 @@ fi
%endif #with contrib
%changelog
* Sun May 10 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt77.M40.17
- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
When scanning a large number of packages (with e.g. rpmquery), readahead
might cause negative effects on the buffer cache.
* Thu Apr 23 2009 Alexey Tourbin <at@altlinux.ru> 4.0.4-alt77.M40.16
- rpmdb: Removed db1 support.
- db3.c (db3close): Backported fix for double close (RH#138589).