Of course, this presupposes a concept of "after", and I don't believe there's any guarantee that disk writes occur in a linear, time-increasing fashion without intentionally forcing the writes to occur
Anyway, from
http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html, which quotes the CHANGES file for ext3:
Quote:
"mount -o data=writeback"
Only journals metadata changes, and data updates are entirely
left to the normal "sync" process. After a crash, files will
may contain stale data blocks from old files: this mode is
exactly equivalent to running ext2 with a very fast fsck on reboot.
So it sounds like it is no worse than ext2, but is no better (safety-wise) than it, either.
"man mount" states that "ordered" is the default, but from a check of /proc/mounts, I think you're on to something:
Code:
Ubuntu 10.04 desktop:
/dev/mapper/witte-root / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
Ubuntu 10.04 server, upgraded from 8.10 incrementally:
/dev/mapper/hennepin-root / ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
Ubuntu 11.04 netbook:
/dev/disk/by-uuid/9f1f6d4f-ecf1-47f0-ac14-da83dcfbfe0d / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
Ubuntu 8.04 Linode:
/dev/root / ext3 rw,noatime,errors=remount-ro,barrier=0,data=writeback 0 0
Ubuntu 10.04 Linode (upgraded from 8.04):
/dev/root / ext3 rw,relatime,errors=remount-ro,barrier=0,data=writeback 0 0
Ubuntu 10.04 Rackspace Cloud Server:
/dev/sda1 / ext3 rw,noatime,errors=remount-ro,barrier=0,data=writeback 0 0
_________________
Code:
/* TODO: need to add signature to posts */