)]}'
{
  "commit": "c6563a8c38fde3c1c7fc925a10bde3ca20799301",
  "tree": "3916ae8247149a9dcf39ee1ca262f97be39071eb",
  "parents": [
    "2c810cddc44d6f95cef75df3f07fc0850ff92417"
  ],
  "author": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Mon May 21 09:27:00 2012 +1000"
  },
  "committer": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Mon May 21 09:27:00 2012 +1000"
  },
  "message": "md: add possibility to change data-offset for devices.\n\nWhen reshaping we can avoid costly intermediate backup by\nchanging the \u0027start\u0027 address of the array on the device\n(if there is enough room).\n\nSo as a first step, allow such a change to be requested\nthrough sysfs, and recorded in v1.x metadata.\n\n(As we didn\u0027t previous check that all \u0027pad\u0027 fields were zero,\n we need a new FEATURE flag for this.\n A (belatedly) check that all remaining \u0027pad\u0027 fields are\n zero to avoid a repeat of this)\n\nThe new data offset must be requested separately for each device.\nThis allows each to have a different change in the data offset.\nThis is not likely to be used often but as data_offset can be\nset per-device, new_data_offset should be too.\n\nThis patch also removes the \u0027acknowledged\u0027 arg to rdev_set_badblocks as\nit is never used and never will be.  At the same time we add a new\narg (\u0027in_new\u0027) which is currently always zero but will be used more\nsoon.\n\nWhen a reshape finishes we will need to update the data_offset\nand rdev-\u003esectors.  So provide an exported function to do that.\n\nSigned-off-by: NeilBrown \u003cneilb@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44bb1d52dd4ce1b4dc22cdd25cba107645e879ae",
      "old_mode": 33188,
      "old_path": "drivers/md/md.c",
      "new_id": "9fa98fc74b058dc2685f0449f2e2b8cde2a9d305",
      "new_mode": 33188,
      "new_path": "drivers/md/md.c"
    },
    {
      "type": "modify",
      "old_id": "d51c0ca37777e536b3a63adf68616c7d78d76161",
      "old_mode": 33188,
      "old_path": "drivers/md/md.h",
      "new_id": "98913e8dac1a36e8cf40902235b12201eb09d15e",
      "new_mode": 33188,
      "new_path": "drivers/md/md.h"
    },
    {
      "type": "modify",
      "old_id": "15dd59b84e94442c50ae164cb2ec1c130a74bc52",
      "old_mode": 33188,
      "old_path": "drivers/md/raid1.c",
      "new_id": "71a7dc038a82316525609fa285e5416f324d43b5",
      "new_mode": 33188,
      "new_path": "drivers/md/raid1.c"
    },
    {
      "type": "modify",
      "old_id": "3f91c2e1dfe765e79b916e18b74f22f23da14e04",
      "old_mode": 33188,
      "old_path": "drivers/md/raid10.c",
      "new_id": "832fb4d5665778d42eeaacd1245cebd9e5c8df32",
      "new_mode": 33188,
      "new_path": "drivers/md/raid10.c"
    },
    {
      "type": "modify",
      "old_id": "0abbd3447cfb9e9c466dcb627af1d6e8285bbdd9",
      "old_mode": 33188,
      "old_path": "drivers/md/raid5.c",
      "new_id": "3705585d756700739866350cdf498138b3902f33",
      "new_mode": 33188,
      "new_path": "drivers/md/raid5.c"
    },
    {
      "type": "modify",
      "old_id": "07e05f92d050759e2262f2ca15cecf9d7d693d38",
      "old_mode": 33188,
      "old_path": "include/linux/raid/md_p.h",
      "new_id": "ee753536ab7088350a147e1743805985a6b01ac0",
      "new_mode": 33188,
      "new_path": "include/linux/raid/md_p.h"
    }
  ]
}
