Date: Mon, 03 Mar 2008 14:53:10 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: readahead(2) - Linux Message-ID: <fqgvlb$s11$1@ger.gmane.org> In-Reply-To: <20080303081021.GC80576@hoeg.nl> References: <200803022218.32873.cneirabustos@gmail.com> <20080303081021.GC80576@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3B672D1F0D8EEE3D23418196 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ed Schouten wrote: > * carlos neira <cneirabustos@gmail.com> wrote: >> is there an equivalent of readahead syscall in linux , for freebsd ?= =2E >> i was looking at http://preload.sourceforge.net/ , and it needs this= . >=20 > Maybe a mmap(), followed by a madvise()? Or an open() followed by a read() loop? :) If the goal is to preload the files, this one is certainly going to do it :) --------------enig3B672D1F0D8EEE3D23418196 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHzALGldnAQVacBcgRAv+TAKC4fCFIvoblvjrDOnXCAEuty4dHwgCghLNN i8LydGGXnqMjoz6sRAOEWsg= =IHmO -----END PGP SIGNATURE----- --------------enig3B672D1F0D8EEE3D23418196--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fqgvlb$s11$1>