]> err.no Git - util-linux/commit
libblkid: disable read-ahead when probing device files
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 18 Jan 2010 23:09:21 +0000 (00:09 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Feb 2010 08:58:56 +0000 (09:58 +0100)
commit07684fc3b1802e092ea60786418c9b75d99cb435
tree48ade664439d29ea4e30f1bffaaa84feb181234b
parent2f9e93973a3d8f90950c605a936ac362be78ed4c
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>
configure.ac
shlibs/blkid/src/probe.c