Repository navigation
Commit e7c8f50
committed
ext3: Add replace-on-rename hueristics for data=writeback mode
In data=writeback mode, start an asynchronous flush when renaming a
file on top of an already-existing file. This lowers the probability
of data loss in the case of applications that attempt to replace a
file via using rename().
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>1 parent f7ab34e commit e7c8f50
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2265 | 2265 | | |
2266 | 2266 | | |
2267 | 2267 | | |
2268 | | - | |
| 2268 | + | |
2269 | 2269 | | |
2270 | 2270 | | |
2271 | 2271 | | |
| |||
2401 | 2401 | | |
2402 | 2402 | | |
2403 | 2403 | | |
| 2404 | + | |
| 2405 | + | |
2404 | 2406 | | |
2405 | 2407 | | |
2406 | 2408 | | |
| |||
2409 | 2411 | | |
2410 | 2412 | | |
2411 | 2413 | | |
| 2414 | + | |
| 2415 | + | |
2412 | 2416 | | |
2413 | 2417 | | |
2414 | 2418 | | |
| |||
0 commit comments