)]}'
{
  "commit": "c4c1663be46b2ab94e59d3e0c583a8f6b188ff0c",
  "tree": "2e0b6b51c0a55c5f9edad2c832a66c9949ef496d",
  "parents": [
    "cbe47ec559c33a68b5ee002051b848d1531a8adb"
  ],
  "author": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Tue Jul 26 11:34:20 2011 +1000"
  },
  "committer": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Tue Jul 26 11:34:20 2011 +1000"
  },
  "message": "md/raid5: replace sh-\u003elock with an \u0027active\u0027 flag.\n\nsh-\u003elock is now mainly used to ensure that two threads aren\u0027t running\nin the locked part of handle_stripe[56] at the same time.\n\nThat can more neatly be achieved with an \u0027active\u0027 flag which we set\nwhile running handle_stripe.  If we find the flag is set, we simply\nrequeue the stripe for later by setting STRIPE_HANDLE.\n\nFor safety we take -\u003edevice_lock while examining the state of the\nstripe and creating a summary in \u0027stripe_head_state / r6_state\u0027.\nThis possibly isn\u0027t needed but as shared fields like -\u003etoread,\n-\u003etowrite are checked it is safer for now at least.\n\nWe leave the label after the old \u0027unlock\u0027 called \"unlock\" because it\nwill disappear in a few patches, so renaming seems pointless.\n\nThis leaves the stripe \u0027locked\u0027 for longer as we clear STRIPE_ACTIVE\nlater, but that is not a problem.\n\nSigned-off-by: NeilBrown \u003cneilb@suse.de\u003e\nReviewed-by: Namhyung Kim \u003cnamhyung@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9985138f4c04465f8a3414091bc0a8c9ba24f1df",
      "old_mode": 33188,
      "old_path": "drivers/md/raid5.c",
      "new_id": "f8275b5a6fbef149f3fab4106d48e54dc01bebf4",
      "new_mode": 33188,
      "new_path": "drivers/md/raid5.c"
    },
    {
      "type": "modify",
      "old_id": "a33001137bf8dac95cf68fe61c074d1d2fb2c7f1",
      "old_mode": 33188,
      "old_path": "drivers/md/raid5.h",
      "new_id": "bb246d9e05473e6348f494cceb4e83674fbdfd80",
      "new_mode": 33188,
      "new_path": "drivers/md/raid5.h"
    }
  ]
}
