diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-19 00:09:21 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2010-01-19 00:13:16 +0100 |
commit | a67bb3bff5dc51400294fdfb4c77c0827afd5d14 (patch) | |
tree | 4ac5f1a4272d0d95106634ef0e044eb6bffc787b /configure.ac | |
parent | 45835b734574264fcd45d9e6c1736061f6f7c200 (diff) | |
download | util-linux-old-a67bb3bff5dc51400294fdfb4c77c0827afd5d14.tar.gz |
libblkid: disable read-ahead when probing device files
Read-ahead doesn't work very well on device probing, and can hurt a lot
when we do essentially random accesses on very slow devices. So disable it
if possible.
[kzak@redhat.com: - add posix_fadvise() configure test]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5ddeaa5d..1fef9444 100644 --- a/configure.ac +++ b/configure.ac @@ -163,6 +163,7 @@ AC_CHECK_FUNCS( setresuid \ inotify_init \ prctl \ + posix_fadvise \ getmntinfo \ __secure_getenv \ rpmatch]) |