Message134179
Ronald Oussoren wrote:
> Adding the F_FULLSYNC option to os.fsync would be fine though
To show you that i'm not unteachable i'll attach a patch which
does that.
This approach can be heavily extended, then, e.g. by using
sync_file_range(all_the_flags) on Linux if the "full_fsync"
argument is true?! (And then there is sync_file_range2() on
PowerPC and nice ARM...)
(The first time that i use PyArg_xy plus plus - please review.
test_os is ok and using "os.fsync(xy, True)" makes test_zlib
succeed on unpatched hg checkout.
os.rst change is really ugly.) |
|
| Date |
User |
Action |
Args |
| 2011-04-20 20:38:01 | sdaoden | set | recipients:
+ sdaoden, ronaldoussoren, pitrou, vstinner, nadeem.vawda, neologix |
| 2011-04-20 20:38:00 | sdaoden | link | issue11877 messages |
| 2011-04-20 20:38:00 | sdaoden | create | |
|