]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: tune the chunk allocation to 5% of the FS as metadata
authorChris Mason <chris.mason@oracle.com>
Tue, 26 Oct 2010 17:37:56 +0000 (13:37 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 29 Oct 2010 15:25:35 +0000 (11:25 -0400)
commitb6499f12abf9309bec1be9466228745eda72a5ad
treed4b79f61f2ff236b080583345b4dfd617b0fca07
parent79e544fe942750e965a8b5fce12a65d17cd870bf
Btrfs: tune the chunk allocation to 5% of the FS as metadata

An earlier commit tried to keep us from allocating too many
empty metadata chunks.  It was somewhat too restrictive and could
lead to ENOSPC errors on empty filesystems.

This increases the limits to about 5% of the FS size, allowing more
metadata chunks to be preallocated.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c