]> git.karo-electronics.de Git - linux-beck.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)
commit3e10b793fc40dfdbe51762e0d084bd6f2c8acaaa
treedf233a1038dc50358baf2e7dcd6d30bfbaf21ebb
parent06a70305812c3973c66824f26223656283c59b27
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