Message134179
| Author |
sdaoden |
| Recipients |
nadeem.vawda, neologix, pitrou, ronaldoussoren, sdaoden, vstinner |
| Date |
2011年04月20日.20:38:00 |
| SpamBayes Score |
6.3155895e-08 |
| Marked as misclassified |
No |
| Message-id |
<20110420203749.GA55302@sherwood.local> |
| In-reply-to |
| Content |
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.) |
|