Menu

#6 read-only mapped file not coherent

v1.2.0
open
Filesystem (49)
3
2008-05-24
2002-08-28
No

If an O_RDONLY open file is mapped PROT_READ, it will
not be coherent relative to writable mappings on other
nodes. This is related to base linux code that turns
off VM_SHARED if the file block is in FMODE_WRITE when
doing the mmap.

Discussion

  • David Zafman

    David Zafman - 2004-03-23
    • priority: 5 --> 3
     
  • David Zafman

    David Zafman - 2004-12-11
    • assigned_to: dzafman --> jlbyrne
     
  • Roger Tsang

    Roger Tsang - 2008-05-24

    Logged In: YES
    user_id=1246761
    Originator: NO

    This must be a 2.4 problem. If I read correctly 2.6.11-ssi base code doesn't turn off VM_SHARED when file is FMODE_WRITE.

     
  • Roger Tsang

    Roger Tsang - 2008-05-24
    • milestone: --> v1.2.0
     

Log in to post a comment.