Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217488
b: refs/heads/master
c: 74ce002
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Oct 26, 2010
1 parent 4a6b862 commit adfdb91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16b56cf4b8a0fa9acc21bd2ad19839b917999b96
refs/heads/master: 74ce002d9aee23031b4967e1dd1c1966ddc60749
4 changes: 4 additions & 0 deletions trunk/fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,10 @@ static long wb_check_old_data_flush(struct bdi_writeback *wb)
return 0;

wb->last_old_flush = jiffies;
/*
* Add in the number of potentially dirty inodes, because each inode
* write can dirty pagecache in the underlying blockdev.
*/
nr_pages = global_page_state(NR_FILE_DIRTY) +
global_page_state(NR_UNSTABLE_NFS) +
(inodes_stat.nr_inodes - inodes_stat.nr_unused);
Expand Down

0 comments on commit adfdb91

Please sign in to comment.