projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] zoned vm counters: conversion of nr_dirty to per zone counter
[deliverable/linux.git]
/
fs
/
fs-writeback.c
diff --git
a/fs/fs-writeback.c
b/fs/fs-writeback.c
index 031b27a4bc9a170a9436f73353e10864fe78d5d1..e5ad1075684894b901c1799bcf29ffc90ce4465f 100644
(file)
--- a/
fs/fs-writeback.c
+++ b/
fs/fs-writeback.c
@@
-464,7
+464,7
@@
void sync_inodes_sb(struct super_block *sb, int wait)
.range_start = 0,
.range_end = LLONG_MAX,
};
.range_start = 0,
.range_end = LLONG_MAX,
};
- unsigned long nr_dirty =
read_page_state(nr_dirty
);
+ unsigned long nr_dirty =
global_page_state(NR_FILE_DIRTY
);
unsigned long nr_unstable = read_page_state(nr_unstable);
wbc.nr_to_write = nr_dirty + nr_unstable +
unsigned long nr_unstable = read_page_state(nr_unstable);
wbc.nr_to_write = nr_dirty + nr_unstable +
This page took
0.035464 seconds
and
5
git commands to generate.