diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-06 22:02:23 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-06 22:02:23 -0500 |
| commit | 208bca0860406d16398145ddd950036a737c3c9d (patch) | |
| tree | 7797a16c17d8bd155120126fa7976727fc6de013 /fs/sync.c | |
| parent | 6aad3738f6a79fd0ca480eaceefe064cc471f6eb (diff) | |
| parent | 0e175a1835ffc979e55787774e58ec79e41957d7 (diff) | |
Merge branch 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux
* 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux:
writeback: Add a 'reason' to wb_writeback_work
writeback: send work item to queue_io, move_expired_inodes
writeback: trace event balance_dirty_pages
writeback: trace event bdi_dirty_ratelimit
writeback: fix ppc compile warnings on do_div(long long, unsigned long)
writeback: per-bdi background threshold
writeback: dirty position control - bdi reserve area
writeback: control dirty pause time
writeback: limit max dirty pause time
writeback: IO-less balance_dirty_pages()
writeback: per task dirty rate limit
writeback: stabilize bdi->dirty_ratelimit
writeback: dirty rate control
writeback: add bg_threshold parameter to __bdi_update_bandwidth()
writeback: dirty position control
writeback: account per-bdi accumulated dirtied pages
Diffstat (limited to 'fs/sync.c')
| -rw-r--r-- | fs/sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -43,7 +43,7 @@ static int __sync_filesystem(struct super_block *sb, int wait) | |||
| 43 | if (wait) | 43 | if (wait) |
| 44 | sync_inodes_sb(sb); | 44 | sync_inodes_sb(sb); |
| 45 | else | 45 | else |
| 46 | writeback_inodes_sb(sb); | 46 | writeback_inodes_sb(sb, WB_REASON_SYNC); |
| 47 | 47 | ||
| 48 | if (sb->s_op->sync_fs) | 48 | if (sb->s_op->sync_fs) |
| 49 | sb->s_op->sync_fs(sb, wait); | 49 | sb->s_op->sync_fs(sb, wait); |
| @@ -98,7 +98,7 @@ static void sync_filesystems(int wait) | |||
| 98 | */ | 98 | */ |
| 99 | SYSCALL_DEFINE0(sync) | 99 | SYSCALL_DEFINE0(sync) |
| 100 | { | 100 | { |
| 101 | wakeup_flusher_threads(0); | 101 | wakeup_flusher_threads(0, WB_REASON_SYNC); |
| 102 | sync_filesystems(0); | 102 | sync_filesystems(0); |
| 103 | sync_filesystems(1); | 103 | sync_filesystems(1); |
| 104 | if (unlikely(laptop_mode)) | 104 | if (unlikely(laptop_mode)) |
