Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-dm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-dm
  • Repository
Switch branch/tag
  • linux-dm
  • drivers
  • nvdimm
  • region_devs.c
Find file BlameHistoryPermalink
  • Aneesh Kumar K.V's avatar
    libnvdimm/region: Enable MAP_SYNC for volatile regions · 4c806b89
    Aneesh Kumar K.V authored Sep 24, 2019
    
    
    Some environments want to use a host tmpfs/ramdisk to back guest pmem.
    While the data is not persisted relative to the host it *is* persisted
    relative to guest crashes / reboots. The guest is free to use dax and
    MAP_SYNC to keep filesystem metadata consistent with dax accesses
    without requiring guest fsync(). The guest can also observe that the
    region is volatile and skip cache flushing as global visibility is
    enough to "persist" data relative to the host staying alive over guest
    reset events.
    Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
    Reviewed-by: default avatarPankaj Gupta <pagupta@redhat.com>
    Link: https://lore.kernel.org/r/20190924114327.14700-1-aneesh.kumar@linux.ibm.com
    
    
    [djbw: reword the changelog]
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    4c806b89