diff options
| author | Jan Kara <[email protected]> | 2009-10-16 17:26:15 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2009-11-11 14:22:49 +0000 |
| commit | fe8bc91c4c30122b357d197117705cfd4fabaf28 (patch) | |
| tree | 33e2895847d812204209444db4093af9a2c3623d /fs/proc/array.c | |
| parent | ext3: retry failed direct IO allocations (diff) | |
| download | kernel-fe8bc91c4c30122b357d197117705cfd4fabaf28.tar.gz kernel-fe8bc91c4c30122b357d197117705cfd4fabaf28.zip | |
ext3: Wait for proper transaction commit on fsync
We cannot rely on buffer dirty bits during fsync because pdflush can come
before fsync is called and clear dirty bits without forcing a transaction
commit. What we do is that we track which transaction has last changed
the inode and which transaction last changed allocation and force it to
disk on fsync.
Signed-off-by: Jan Kara <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
