]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: budget for extent tree splits when adding refcount flag
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 Nov 2016 22:13:11 +0000 (14:13 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 10 Dec 2016 20:39:45 +0000 (12:39 -0800)
commit1a798b3fc1dd55019d270b236c49b511b2771c68
treedf233a1038dc50358baf2e7dcd6d30bfbaf21ebb
parent83aece6143cb08c24a657e4affa19052d79d7444
ocfs2: budget for extent tree splits when adding refcount flag

When we're adding the refcount flag to an extent, we have to budget
enough space to handle a full extent btree split in addition to
whatever modifications have to be made to the refcount btree.  We
don't currently do this, with the result that generic/186 crashes
when we need an extent split but not a refcount split because meta_ac
never gets allocated.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/ocfs2/refcounttree.c