[patch] O_SYNC patch 1/3: Fix fdatasync

2000-11-22 Thread Stephen C. Tweedie
Hi, This is the first patch out of 3 to fix O_SYNC and fdatasync for 2.4.0-test11. The patch below fixes fdatasync (at least for ext2) so that it does not flush the inode to disk for purely timestamp updates. It splits I_DIRTY into two bits, one bit (I_DIRTY_DATASYNC) which is set only for

[patch] O_SYNC patch 1/3: Fix fdatasync

2000-11-22 Thread Stephen C. Tweedie
Hi, This is the first patch out of 3 to fix O_SYNC and fdatasync for 2.4.0-test11. The patch below fixes fdatasync (at least for ext2) so that it does not flush the inode to disk for purely timestamp updates. It splits I_DIRTY into two bits, one bit (I_DIRTY_DATASYNC) which is set only for