diff options
| author | Lachlan McIlroy <[email protected]> | 2007-09-14 15:22:08 +1000 |
|---|---|---|
| committer | Tim Shimmin <[email protected]> | 2007-10-16 12:18:38 +1000 |
| commit | 5903c4956f7b429f515ba107d9c04bbbe7ce8f9d (patch) | |
| tree | 4d7d4199632f43082fbf29525c3af8a7632bbb71 /scripts/patch-kernel | |
| parent | cc92e7ac8d96418d99f0c31a9a132e9fccc54553 (diff) | |
[XFS] ensure file size is logged on synchronous writes
Synchronous writes currently log inode changes before syncing pages to
disk. Since the file size is updated on I/O completion we wont be writing
out the updated file size and if we crash the file will have the wrong
size. This change moves the logging after the syncing of the pages to
ensure we log the correct file size.
SGI-PV: 970334
SGI-Modid: xfs-linux-melb:xfs-kern:29649a
Signed-off-by: Lachlan McIlroy <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Tim Shimmin <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions