)]}'
{
  "commit": "eb68d0e2fc5a4e5c06324ea5f485fccbae626d05",
  "tree": "2615b7518bebee73f197efbf32df9b4b21f9969e",
  "parents": [
    "e963bb1de415ab06693357336c1bec664753e1e2"
  ],
  "author": {
    "name": "Zheng Liu",
    "email": "wenqing.lz@taobao.com",
    "time": "Mon Sep 01 22:26:49 2014 -0400"
  },
  "committer": {
    "name": "Theodore Ts\u0027o",
    "email": "tytso@mit.edu",
    "time": "Mon Sep 01 22:26:49 2014 -0400"
  },
  "message": "ext4: track extent status tree shrinker delay statictics\n\nThis commit adds some statictics in extent status tree shrinker.  The\npurpose to add these is that we want to collect more details when we\nencounter a stall caused by extent status tree shrinker.  Here we count\nthe following statictics:\n  stats:\n    the number of all objects on all extent status trees\n    the number of reclaimable objects on lru list\n    cache hits/misses\n    the last sorted interval\n    the number of inodes on lru list\n  average:\n    scan time for shrinking some objects\n    the number of shrunk objects\n  maximum:\n    the inode that has max nr. of objects on lru list\n    the maximum scan time for shrinking some objects\n\nThe output looks like below:\n  $ cat /proc/fs/ext4/sda1/es_shrinker_info\n  stats:\n    28228 objects\n    6341 reclaimable objects\n    5281/631 cache hits/misses\n    586 ms last sorted interval\n    250 inodes on lru list\n  average:\n    153 us scan time\n    128 shrunk objects\n  maximum:\n    255 inode (255 objects, 198 reclaimable)\n    125723 us max scan time\n\nIf the lru list has never been sorted, the following line will not be\nprinted:\n    586ms last sorted interval\nIf there is an empty lru list, the following lines also will not be\nprinted:\n    250 inodes on lru list\n  ...\n  maximum:\n    255 inode (255 objects, 198 reclaimable)\n    0 us max scan time\n\nMeanwhile in this commit a new trace point is defined to print some\ndetails in __ext4_es_shrink().\n\nCc: Andreas Dilger \u003cadilger.kernel@dilger.ca\u003e\nCc: Jan Kara \u003cjack@suse.cz\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nSigned-off-by: Zheng Liu \u003cwenqing.lz@taobao.com\u003e\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c07f43f8eb939f610725478406b122b8c84bd634",
      "old_mode": 33188,
      "old_path": "fs/ext4/ext4.h",
      "new_id": "00fd822ac6e4562ddf267fb56b31d5d8dec2f8e0",
      "new_mode": 33188,
      "new_path": "fs/ext4/ext4.h"
    },
    {
      "type": "modify",
      "old_id": "95da65c60d834a81fbe3ca099eb54258a16c78e8",
      "old_mode": 33188,
      "old_path": "fs/ext4/extents_status.c",
      "new_id": "09fd5766726223fbd8ae30caa67cc80c9041fe8c",
      "new_mode": 33188,
      "new_path": "fs/ext4/extents_status.c"
    },
    {
      "type": "modify",
      "old_id": "f1b62a41992059f3cbebd16ee6caaf25ee156283",
      "old_mode": 33188,
      "old_path": "fs/ext4/extents_status.h",
      "new_id": "efd5f970b5013085dec20e421b8ff3ced53246c2",
      "new_mode": 33188,
      "new_path": "fs/ext4/extents_status.h"
    },
    {
      "type": "modify",
      "old_id": "7194a51eb2174ee5867eebc01162aec42b9b4cf1",
      "old_mode": 33188,
      "old_path": "fs/ext4/super.c",
      "new_id": "487c65b8cff0e79d5600da441c2ba12e8eb8c516",
      "new_mode": 33188,
      "new_path": "fs/ext4/super.c"
    },
    {
      "type": "modify",
      "old_id": "849aaba75dc884d42f40e47103513d1dabe9fc97",
      "old_mode": 33188,
      "old_path": "include/trace/events/ext4.h",
      "new_id": "ff4bd1b35246a33482b997d2093dbedbe6079357",
      "new_mode": 33188,
      "new_path": "include/trace/events/ext4.h"
    }
  ]
}
