summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode-map.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2012-02-01 05:19:02 +0400
committerChris Mason <chris.mason@oracle.com>2012-03-29 04:34:10 +0400
commit7ca4be45a0255ac8f08c05491c6add2dd87dd4f8 (patch)
treeaca39ca7f1d210138733cb3be54c408a2acf302b /fs/btrfs/inode-map.c
parent3c4bb26b213e618473e486776483a5bad15ba6da (diff)
downloadlinux-7ca4be45a0255ac8f08c05491c6add2dd87dd4f8.tar.xz
Btrfs: don't use crc items bigger than 4KB
With the big metadata blocks, we can have crc items that are much bigger than a page. There are a few places that we try to kmalloc memory to hold the items during a split. Items bigger than 4KB don't really have a huge benefit in efficiency, but they do trigger larger order allocations. This commits changes the csums to make sure they stay under 4KB. This is not a format change, just a #define to limit huge items. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode-map.c')
0 files changed, 0 insertions, 0 deletions