DescriptionLet sqlite use fdatasync() on Linux-based systems
fdatasync() should be faster than fsync().
From sqlite3.c:
/*
** We do not trust systems to provide a working fdatasync(). Some do.
** Others do no. To be safe, we will stick with the (slightly slower)
** fsync(). If you know that your system does support fdatasync() correctly,
** then simply compile with -Dfdatasync=fdatasync
*/
BUG=469071
Committed: https://crrev.com/195310ab0b38de5704b9fa7ec9a804d68d3cdb88
Cr-Commit-Position: refs/heads/master@{#322679}
Patch Set 1 #
Total comments: 5
Messages
Total messages: 13 (2 generated)
|