Skip to content
Snippets Groups Projects
Commit caae99e5 authored by Georgy Kirichenko's avatar Georgy Kirichenko Committed by Roman Tsisyk
Browse files

Refactor xlog writer

* Write xlog via fd instead of fiob with FILE * interface

* Remove O_DIRECT mode, use fdatasync(2)/sync_file_range(2) with
  posix_fadvise(2) to free the page cache. Disk cache polution
  on snapshot was tested with `vmtouch` utility and fadvise()
  provides similar result to O_DIRECT.

* Remove fiob.c implementation (unused)
parent 4e9d7513
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment