Btrfs: Make fallocate(2) more ENOSPC friendly
authorYan, Zheng <zheng.yan@oracle.com>
Thu, 12 Nov 2009 09:34:52 +0000 (09:34 +0000)
committerChris Mason <chris.mason@oracle.com>
Thu, 17 Dec 2009 17:33:33 +0000 (12:33 -0500)
fallocate(2) may allocate large number of file extents, so it's not
good to do it in a single transaction. This patch make fallocate(2)
start a new transaction for each file extents it allocates.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found