Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2011 10:21:01 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        freebsd-hackers@freebsd.org, Lev Serebryakov <lev@FreeBSD.org>
Subject:   Re: Does FreeBSD have replacement for posix_fadvice() or fcntl(F_RDADVISE)?
Message-ID:  <829202538.20110513102101@serebryakov.spb.ru>
In-Reply-To: <20110512230327.GA82602@stack.nl>
References:  <1649118429.20110512113812@serebryakov.spb.ru> <20110512230327.GA82602@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Jilles.
You wrote 13 =EC=E0=FF 2011 =E3., 3:03:27:

>>    It is like madvise(2) but for file descriptors.
> An effect like POSIX_FADV_SEQUENTIAL can be obtained with the
> F_READAHEAD or F_RDAHEAD fcntl(2) requests. The implementation is
> divided between the generic VFS layer and various filesystems (cd9660,
> ext2fs, msdosfs, nfs, xfs and ufs appear to use the information to some
> degree).
 Does read ahead turned on by default (for UFS), as here is vfs.read_max? Or
vfs.read_max is only "upper bound" for F_READAHEAD and it is turned
off by default completely?


--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?829202538.20110513102101>