)]}'
{
  "commit": "ff4e8d9a9f46e3a7f89d14ade52fe5d53a82c022",
  "tree": "e15fc4d8af0045a3947e3a25844773c6ee50289a",
  "parents": [
    "0b8c9de05c2a860fe6b02fedcb48763bcee648b3"
  ],
  "author": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Mon Jul 10 04:44:16 2006 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Mon Jul 10 13:24:16 2006 -0700"
  },
  "message": "[PATCH] md: fix resync speed calculation for restarted resyncs\n\nWe introduced \u0027io_sectors\u0027 recently so we could count the sectors that causes\nio during resync separate from sectors which didn\u0027t cause IO - there can be a\ndifference if a bitmap is being used to accelerate resync.\n\nHowever when a speed is reported, we find the number of sectors processed\nrecently by subtracting an oldish io_sectors count from a current\n\u0027curr_resync\u0027 count.  This is wrong because curr_resync counts all sectors,\nnot just io sectors.\n\nSo, add a field to mddev to store the curren io_sectors separately from\ncurr_resync, and use that in the calculations.\n\nSigned-off-by: Neil Brown \u003cneilb@suse.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fb50e5642c63055cb8dde4631e07ef648f8577f1",
      "old_mode": 33188,
      "old_path": "drivers/md/md.c",
      "new_id": "4bd3ccf363bdbb5c6f5fa3cdfcbf7580ab1c0ba9",
      "new_mode": 33188,
      "new_path": "drivers/md/md.c"
    },
    {
      "type": "modify",
      "old_id": "a02f35f1a796b6d9e53dca671c248279fd9b4698",
      "old_mode": 33188,
      "old_path": "drivers/md/raid5.c",
      "new_id": "dd0d00108a31a1eb8c502795839eda3108c6988e",
      "new_mode": 33188,
      "new_path": "drivers/md/raid5.c"
    },
    {
      "type": "modify",
      "old_id": "c1e0ac55bab5c37956117280af7d2c428da063a2",
      "old_mode": 33188,
      "old_path": "include/linux/raid/md_k.h",
      "new_id": "d28890295852ce4f9be9f6bf0c6529f7b81041e6",
      "new_mode": 33188,
      "new_path": "include/linux/raid/md_k.h"
    }
  ]
}
