summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-07-07 16:51:48 +0200
committerChris Mason <chris.mason@oracle.com>2010-07-19 22:14:50 +0200
commit99d8f83c98930100cd70437b0c81a935e7a14b0b (patch)
treedb4ea3e51c5cc33b903c498368dc7b14e2a07125 /fs/jfs
parentBtrfs: The file argument for fsync() is never null (diff)
downloadlinux-99d8f83c98930100cd70437b0c81a935e7a14b0b.tar.xz
linux-99d8f83c98930100cd70437b0c81a935e7a14b0b.zip
Btrfs: fix split_leaf double split corner case
split_leaf was not properly balancing leaves when it was forced to split a leaf twice. This commit adds an extra push left and right before forcing the double split in hopes of getting the slot where we want to insert at either the start or end of the leaf. If the extra pushes do work, then we are able to avoid splitting twice and we keep the tree properly balanced. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions