Message134253
| Author |
neologix |
| Recipients |
nadeem.vawda, neologix, pitrou, ronaldoussoren, santoso.wijaya, sdaoden, vstinner |
| Date |
2011年04月21日.21:24:19 |
| SpamBayes Score |
0.00033071538 |
| Marked as misclassified |
No |
| Message-id |
<BANLkTin_c2hfwV0Vn+BNGA_2yf=byX-=oQ@mail.gmail.com> |
| In-reply-to |
<20110421202659.GA82546@sherwood.local> |
| Content |
> and it seems - as far as i understand what i read - that you're
> still right; and, furthermore, that fsync() does everything
> anyway. (But here an idiot is talking about *very* complicated
> stuff.)
>
I just double-checked, and indeed, fsync does flush the disk cache
when barriers are enabled on several FS, while sync_file_range does
not. So sync_file_range should definitely not be used on Linux. |
|