)]}'
{
  "commit": "39c99f12f15c8bf8257985d9b2a2548a03d18c00",
  "tree": "38f09ce41f6cbfd3a73b1dc66098ba3bf05e2d6a",
  "parents": [
    "388c4bcb4e63e88fb1f312a2f5f9eb2623afcf5b"
  ],
  "author": {
    "name": "Tristan Ye",
    "email": "tristan.ye@oracle.com",
    "time": "Tue Dec 07 14:35:07 2010 +0800"
  },
  "committer": {
    "name": "Joel Becker",
    "email": "joel.becker@oracle.com",
    "time": "Thu Dec 09 15:36:48 2010 -0800"
  },
  "message": "Ocfs2: Teach \u0027coherency\u003dfull\u0027 O_DIRECT writes to correctly up_read i_alloc_sem.\n\nDue to newly-introduced \u0027coherency\u003dfull\u0027 O_DIRECT writes also takes the EX\nrw_lock like buffered writes did(rw_level \u003d\u003d 1), it turns out messing the\nusage of \u0027level\u0027 in ocfs2_dio_end_io() up, which caused i_alloc_sem being\nfailed to get up_read\u0027d correctly.\n\nThis patch tries to teach ocfs2_dio_end_io to understand well on all locking\nstuffs by explicitly introducing a new bit for i_alloc_sem in iocb\u0027s private\ndata, just like what we did for rw_lock.\n\nSigned-off-by: Tristan Ye \u003ctristan.ye@oracle.com\u003e\nSigned-off-by: Joel Becker \u003cjoel.becker@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f1e962cb3b73084699a182933b7760926c36880e",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/aops.c",
      "new_id": "0d7c5540ad669a55d4def39f21bbe7b42bfb83cc",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/aops.c"
    },
    {
      "type": "modify",
      "old_id": "76bfdfda691a03b1790ac9670a8bb79d042e7584",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/aops.h",
      "new_id": "eceb456037c11c7a2e68cc2d510908ef781cfdbf",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/aops.h"
    },
    {
      "type": "modify",
      "old_id": "77b4c04a2809831e7209d1be3f8e860a0ba7edc8",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/file.c",
      "new_id": "f6cba566429d314fe82f9f433889d1e22111462a",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/file.c"
    }
  ]
}
