Skip to content
Snippets Groups Projects
Select Git revision
  • fixes
  • master default
  • gfs2-inherit-jdata protected
3 results

728

  • Andreas Gruenbacher's avatar
    8c37de03
    generic/728: Add mmap + DIO write test · 8c37de03
    Andreas Gruenbacher authored
    This is the same as generic/647, but with an additional test that writes
    a memory-mapped page onto itself using direct I/O.
    
    For direct I/O writes, the kernel will invalidate the page cache before
    and after carrying out the write.  This puts filesystems that fault in
    pages on demand and then carry out the write with page faults disabled
    into a position in which they will not be able to make any progress.
    8c37de03
    History
    generic/728: Add mmap + DIO write test
    Andreas Gruenbacher authored
    This is the same as generic/647, but with an additional test that writes
    a memory-mapped page onto itself using direct I/O.
    
    For direct I/O writes, the kernel will invalidate the page cache before
    and after carrying out the write.  This puts filesystems that fault in
    pages on demand and then carry out the write with page faults disabled
    into a position in which they will not be able to make any progress.