• Jan Lindström's avatar
    Fixed issues with atomic writes and compressed pages. · e80f2468
    Jan Lindström authored
    Temporal solution: In directFS using atomic writes
    we must use posix_fallocate to extend the file because
    pwrite past end of file fails but when compression is
    used the file pages must be physically initialized with
    zeroes, thus after file extend with posix_fallocate
    we still write empty pages to file.
    e80f2468
os0file.cc 157 KB