Re: True fsync() in Linux (on IDE)

From: Hans Reiser
Date: Fri Mar 19 2004 - 15:06:41 EST


Chris Mason wrote:

On Fri, 2004-03-19 at 14:36, Hans Reiser wrote:



I hope I am totally off-base and not understanding you.... Please help me here.



Lets look at actual scope of the problem:

filesystem metadata
filesystem data (fsync, O_SYNC, O_DIRECT)
block device data (fsync, O_SYNC, O_DIRECT)

Multiply the cases above times each filesystem and also times md and
device mapper, since the barriers need to aggregate down to all the
drives.

In other words, just fixing fsync in 2.4 is not enough, and there is
still considerable development needed in 2.6. Maybe after all the 2.6
changes are done and accepted we can consider backporting parts of it to
2.4.

-chris






In 2.6 does fsync always insert a write barrier when the metadata journaling option is set for reiserfs?

--
Hans

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/