)]}'
{
  "commit": "f48b90756bd834dda852ff514f2690d3175b1f44",
  "tree": "071f502edbe6668f9451d676ae3a0f751da5e105",
  "parents": [
    "e3acc2a6850efff647f1c5458524eb3a8bcba20a"
  ],
  "author": {
    "name": "Josef Bacik",
    "email": "josef@redhat.com",
    "time": "Wed Jan 27 02:07:59 2010 +0000"
  },
  "committer": {
    "name": "Chris Mason",
    "email": "chris.mason@oracle.com",
    "time": "Thu Jan 28 16:20:39 2010 -0500"
  },
  "message": "Btrfs: do not mark the chunk as readonly if in degraded mode\n\nIf a RAID setup has chunks that span multiple disks, and one of those\ndisks has failed, btrfs_chunk_readonly will return 1 since one of the\ndisks in that chunk\u0027s stripes is dead and therefore not writeable.  So\ninstead if we are in degraded mode, return 0 so we can go ahead and\nallocate stuff.  Without this patch all of the block groups in a RAID1\nsetup will end up read-only, which will mean we can\u0027t add new disks to\nthe array since we won\u0027t be able to make allocations.\n\nSigned-off-by: Josef Bacik \u003cjosef@redhat.com\u003e\nSigned-off-by: Chris Mason \u003cchris.mason@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "220dad5db017fcd928e01eeaea010ed78300a235",
      "old_mode": 33188,
      "old_path": "fs/btrfs/volumes.c",
      "new_id": "66122bdf8bbf81ca50103e7a1dd54cb8fa294a91",
      "new_mode": 33188,
      "new_path": "fs/btrfs/volumes.c"
    }
  ]
}
