)]}'
{
  "commit": "03c7c84f3c923921ab617a59c599835ecd0b9933",
  "tree": "420eddf465c43193b921ecab06e9211d6400b4bb",
  "parents": [
    "b32a30ad91e075d30dcc63398fb23c7a8c3a2152"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Mon Jun 22 18:02:59 2020 +0300"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Mon Jun 22 18:02:59 2020 +0300"
  },
  "message": "Too large st_blocks values are now ignored (ticket #157).\n\nWith XFS, using \"allocsize\u003d64m\" mount option results in large preallocation\nbeing reported in the st_blocks as returned by fstat() till the file is\nclosed.  This in turn results in incorrect cache size calculations and\nwrong clearing based on max_size.\n\nTo avoid too aggressive cache clearing on such volumes, st_blocks values\nwhich result in sizes larger than st_size and eight blocks (an arbitrary\nlimit) are no longer trusted, and we use st_size instead.\n\nThe ngx_de_fs_size() counterpart is intentionally not modified, as\nit is used on closed files and hence not affected by this problem.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "383e38e65c7d48f61f527ee692561dca1a8b937f",
      "old_mode": 33188,
      "old_path": "src/os/unix/ngx_files.h",
      "new_id": "3e36984b998ee858fa373019bf535a192130cbdd",
      "new_mode": 33188,
      "new_path": "src/os/unix/ngx_files.h"
    }
  ]
}
