commit | 5a303d5d4b8055d2e5a03e92d04745bfc5881a22 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.yan@oracle.com> | Thu Nov 12 09:34:52 2009 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Dec 17 12:33:33 2009 -0500 |
tree | b3a46e3ebc9ac2618e295b94658ddb1402577b6c | |
parent | 2e4bfab97055aa6acdd0637913bd705c2d6506d6 [diff] |
Btrfs: Make fallocate(2) more ENOSPC friendly 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>