Messages in this thread | | | Date | Thu, 5 Jul 2001 16:37:16 +0200 | From | Andrea Arcangeli <> | Subject | Re: O_DIRECT please; Sybase 12.5 |
| |
On Fri, Jul 06, 2001 at 12:28:15AM +1000, Andrew Morton wrote: > ext3 journals data. That's unique and it breaks things (or rather, > things break it). It'd be trivial to support O_DIRECT in ext3's > writeback mode (metadata-only), but nobody uses that.
I thought everybody uses metadata-only to avoid killing data-write performance. So I thought it was ok to at first support O_DIRECT only for metadata journaling, doing that should be a three liner as you said and that is what I expected.
> >From a quick look it seems that we'll need fs-private implementations > of generic_direct_IO() and brw_kiovec() at least.
brw_kiovec is called by generic_direct_IO, so yes, all you need is a private generic_direct_IO implementation to deal with the journaled data writes.
> I'll take a closer look.
OK, thanks!
Andrea - 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/
| |