Description[sql] Use memory-mapped I/O for sql::Connection.
sql::Connection::Open*() uses PRAGMA mmap_size to enable SQLite's
memory-mapped I/O. Additionally instrument to flush dirty pages from
the page cache after writes.
BUG=489784, 533682, 537681, 537636
[Relands https://crrev.com/9a1948a4d6d4 (#350362),
reverted at https://crrev.com/55c3216b15ce (#350386),
relanded at https://crrev.com/5c2f4e50d96d (#351344),
reverted at https://crrev.com/745e18c52384 (#351596).
May the waterfall have mercy on my CL.]
Committed: https://crrev.com/7dbd4dee4702e30efb24c81898ae45dd0d502c41
Cr-Commit-Position: refs/heads/master@{#352631}
Patch Set 1 #Patch Set 2 : Disable mmap test under mojo. #Patch Set 3 : Fix uninit vars in Connection. #Patch Set 4 : Check for open db before releasing cache. #
Total comments: 1
Messages
Total messages: 14 (2 generated)
|