lkml.org 
[lkml]   [2003]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] O_DIRECT for ext3 (2.4.21)
From
Date
Hi,

On Tue, 2003-06-17 at 21:19, Andrew Morton wrote:

> It works out OK in 2.5, and we should do it this way in 2.4 too:
>
> - dentry_open() checks for inode->i_mapping->a_ops->direct_IO
>
> - setfl() checks for inode->i_mapping->a_ops->direct_IO
>
> - the a_ops for data-journalled inodes have a null ->direct_IO.

That's what the -aa patches do, and I've got those queued in my local
O_DIRECT stuff already. ext3 will just expose a different a_ops for
data-journaled files.

Cheers,
Stephen

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.050 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site