)]}'
{
  "commit": "bb91bc7bacb906c9f3a9b22744c53fa7564b51ba",
  "tree": "8acd6ee46ab5a557afcd1c491b55a68830252301",
  "parents": [
    "286f367dad40beb3234a18c17391d03ba939a7f3"
  ],
  "author": {
    "name": "Mikulas Patocka",
    "email": "mpatocka@redhat.com",
    "time": "Tue Aug 02 12:32:01 2011 +0100"
  },
  "committer": {
    "name": "Alasdair G Kergon",
    "email": "agk@redhat.com",
    "time": "Tue Aug 02 12:32:01 2011 +0100"
  },
  "message": "dm io: flush cpu cache with vmapped io\n\nFor normal kernel pages, CPU cache is synchronized by the dma layer.\nHowever, this is not done for pages allocated with vmalloc. If we do I/O\nto/from vmallocated pages, we must synchronize CPU cache explicitly.\n\nPrior to doing I/O on vmallocated page we must call\nflush_kernel_vmap_range to flush dirty cache on the virtual address.\nAfter finished read we must call invalidate_kernel_vmap_range to\ninvalidate cache on the virtual address, so that accesses to the virtual\naddress return newly read data and not stale data from CPU cache.\n\nThis patch fixes metadata corruption on dm-snapshots on PA-RISC and\npossibly other architectures with caches indexed by virtual address.\n\nCc: stable \u003cstable@kernel.org\u003e\nSigned-off-by: Mikulas Patocka \u003cmpatocka@redhat.com\u003e\nSigned-off-by: Alasdair G Kergon \u003cagk@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2067288f61f9b5e868da28c6c7c9694b9a5269cf",
      "old_mode": 33188,
      "old_path": "drivers/md/dm-io.c",
      "new_id": "ad2eba40e3190e700eab3136b8af5dd150cbf208",
      "new_mode": 33188,
      "new_path": "drivers/md/dm-io.c"
    }
  ]
}
