Eric Bollengier wrote: > Le mardi 10 novembre 2009 08:54:50, Eric Bollengier a écrit : >> Hello, >> >> I've already think about this optimization, the only problem is that the >> posix_fadvise argument isn't a bitwise flag. So you can't mix them like >> that. >> >> Perhaps you can call this function multiple times, but the documentation is >> unclear about this subject. >> >> If you have more information on that subject, it is welcome. > > An other point is that posix_fadvise is already used foreach file with the > POSIX_FADV_WILLNEED attrib, and when closing the file with > POSIX_FADV_DONTNEED.
Oh, nice.. wonder why my grep didn't find that.. Looks correct, sorry for the noise. -- Jesper ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
