It says > readahead() blocks until the specified data has been read. but reading the kernel source code, it simply calls force_page_cache_readahead (the same called by fadvise/madvise), that just post a prefetch, and it may block only when the I/O queue is full. posix_fadvise (with POSIX_FADV_WILLNEED flag) description says, instead: POSIX_FADV_WILLNEED initiates a non-blocking read of the specified region into the page cache. The amount of data read may be decreased by the kernel depending on virtual memory load. (A few megabytes will usually be fully satisfied, and more is rarely useful.) -- __________________________________________________________________________ dott. Corrado Zoccolo mailto:czoccolo@xxxxxxxxx PhD - Department of Computer Science - University of Pisa, Italy -------------------------------------------------------------------------- -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html