On Sun, Oct 04, 2009 at 07:20:23PM -0400, Chris Mason wrote: > What does everyone think of adding something like this: - duplicates too much of generic_file_aio_read. The patch should just change generic_file_aio_read to a small wrapper for an O_DIRECT and a buffered version, and btrfs would jsut use the buffered one directly. - the name. We use the term buffered for pagecache I/O, not cached, e.g. generic_file_buffered_write. - not sure if the invalidations around the core buffered helper are generic anough to put them into filemap.c. I'd just put them into btrfs for now, although that part isn't too important. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html