projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793955b
)
Btrfs: Only limit btree writeback for pdflush
author
Chris Mason
<chris.mason@oracle.com>
Tue, 27 Nov 2007 00:47:05 +0000
(19:47 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:58 +0000
(11:03 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/disk-io.c
b/fs/btrfs/disk-io.c
index 28e9ef8a3253db0e8443d26cb0c752577b380625..8a74f9027d6504459c827fec113fc51211df671c 100644
(file)
--- a/
fs/btrfs/disk-io.c
+++ b/
fs/btrfs/disk-io.c
@@
-210,7
+210,7
@@
static int btree_writepages(struct address_space *mapping,
{
struct extent_map_tree *tree;
tree = &BTRFS_I(mapping->host)->extent_tree;
- if (wbc->sync_mode == WB_SYNC_NONE) {
+ if (wbc->sync_mode == WB_SYNC_NONE
&& current_is_pdflush()
) {
u64 num_dirty;
u64 start = 0;
unsigned long thresh = 96 * 1024 * 1024;