Re: [PATCH] page cache readahead implemented?

From: Andrew Morton (akpm@digeo.com)
Date: Sun Jun 22 2003 - 13:41:59 EST


Hugh Dickins <hugh@veritas.com> wrote:
>
> do_mmap_pgoff's PROT_EXEC do_page_cache_readahead assumes that is
> implemented for all mappings, but not all filesystems provide ->readpage.

Which filesystems?

For tmpfs and other memory-backed filesystems we could perhaps just
rely on backing_dev_info.ra_pages being zero. For others, maybe
we should just say "thou shalt implement readpage".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:38 EST