commit | 448d640b668dae3928591e83f2bf4ca9f4c06e52 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Tue Nov 27 07:52:01 2007 -0800 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:58 2008 -0400 |
tree | e2cb5deb84444257ad6ed4412a9ec8469df8e935 | |
parent | 8790bad7fb5ac4929dcd52c5dd8d6b81f8c05be8 [diff] [blame] |
Btrfs: Fine tune the btree writeback exclusion some more Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 8a74f90..de05525 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c
@@ -214,6 +214,10 @@ u64 num_dirty; u64 start = 0; unsigned long thresh = 96 * 1024 * 1024; + + if (wbc->for_kupdate) + return 0; + num_dirty = count_range_bits(tree, &start, thresh, EXTENT_DIRTY); if (num_dirty < thresh) { return 0;