sync() starves other reader/writers
Posted Mar 27, 2014 19:44 UTC (Thu) by seanyoung (subscriber, #28711)
1) write the journal before you do anything (requires repeating the operations twice)
2) Before modifying a database page, ensure that any scheduled i/o has completed. If not either copy the page or move on to other pending work.
So ideally you want completion information on page level for non-fsync writes.
Posted Mar 27, 2014 20:05 UTC (Thu) by dlang (subscriber, #313)
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds