)]}' { "commit": "78a587c608f9ef0b0f7bd0bb5f4165a61a782862", "tree": "1794c2c252418e30e25d3c8ef79c05396f92f81a", "parents": [ "25ee81e5462015d2ba3792d2ae0ea902a98ae8a4" ], "author": { "name": "Liu Bo", "email": "bo.li.liu@oracle.com", "time": "Thu Aug 25 18:08:27 2016 -0700" }, "committer": { "name": "Greg Kroah-Hartman", "email": "gregkh@linuxfoundation.org", "time": "Fri Jan 06 11:16:10 2017 +0100" }, "message": "Btrfs: bail out if block group has different mixed flag\n\ncommit 49303381f19ab16a371a061b67e783d3f570d56e upstream.\n\nCurrently we allow inconsistence about mixed flag\n (BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA).\n\nWe\u0027d get ENOSPC if block group has mixed flag and btrfs doesn\u0027t.\nIf that happens, we have one space_info with mixed flag and another\nspace_info only with BTRFS_BLOCK_GROUP_METADATA, and\nglobal_block_rsv.space_info points to the latter one, but all bytes\nfrom block_group contributes to the mixed space_info, thus all the\nallocation will fail with ENOSPC.\n\nThis adds a check for the above case.\n\nReported-by: Vegard Nossum \u003cvegard.nossum@oracle.com\u003e\nSigned-off-by: Liu Bo \u003cbo.li.liu@oracle.com\u003e\n[ updated message ]\nReviewed-by: David Sterba \u003cdsterba@suse.com\u003e\nSigned-off-by: David Sterba \u003cdsterba@suse.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n", "tree_diff": [ { "type": "modify", "old_id": "47cdc6f3390b2f72f0f861c3e6de157bf49c0046", "old_mode": 33188, "old_path": "fs/btrfs/extent-tree.c", "new_id": "431364ab9c0eaa3b8379834930ae3908c238be20", "new_mode": 33188, "new_path": "fs/btrfs/extent-tree.c" } ] }