)]}'
{
  "commit": "a87dd18ce24dee5da1e9eb44bf8d8d48e0957efd",
  "tree": "f05a1b28fc0ee8a26007a7da20805b3f643f4923",
  "parents": [
    "55f252c9f50e998f6bc3aadc7806f049f7443d21"
  ],
  "author": {
    "name": "Lukas Czerner",
    "email": "lczerner@redhat.com",
    "time": "Mon May 27 23:32:35 2013 -0400"
  },
  "committer": {
    "name": "Theodore Ts\u0027o",
    "email": "tytso@mit.edu",
    "time": "Mon May 27 23:32:35 2013 -0400"
  },
  "message": "ext4: use ext4_zero_partial_blocks in punch_hole\n\nWe\u0027re doing to get rid of ext4_discard_partial_page_buffers() since it is\nduplicating some code and also partially duplicating work of\ntruncate_pagecache_range(), moreover the old implementation was much\nclearer.\n\nNow when the truncate_inode_pages_range() can handle truncating non page\naligned regions we can use this to invalidate and zero out block aligned\nregion of the punched out range and then use ext4_block_truncate_page()\nto zero the unaligned blocks on the start and end of the range. This\nwill greatly simplify the punch hole code. Moreover after this commit we\ncan get rid of the ext4_discard_partial_page_buffers() completely.\n\nWe also introduce function ext4_prepare_punch_hole() to do come common\noperations before we attempt to do the actual punch hole on\nindirect or extent file which saves us some code duplication.\n\nThis has been tested on ppc64 with 1k block size with fsx and xfstests\nwithout any problems.\n\nSigned-off-by: Lukas Czerner \u003clczerner@redhat.com\u003e\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9f9719f08490b4ffb3b12a96f8250d9748198a87",
      "old_mode": 33188,
      "old_path": "fs/ext4/ext4.h",
      "new_id": "2d4b0aa74859a7743adcf6c02f3d0a2c9e3e9e04",
      "new_mode": 33188,
      "new_path": "fs/ext4/ext4.h"
    },
    {
      "type": "modify",
      "old_id": "a7f6b319446760b8510d78a36a53f82ebe1c5386",
      "old_mode": 33188,
      "old_path": "fs/ext4/inode.c",
      "new_id": "3acf353493d466d01aeebe50b119fb74ed5439f0",
      "new_mode": 33188,
      "new_path": "fs/ext4/inode.c"
    }
  ]
}
