diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
commit | 0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch) | |
tree | 41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /fs/fs-writeback.c | |
parent | aa877175e7a9982233ed8f10cb4bfddd78d82741 (diff) | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 4d09d4441e3e..05713a5da083 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -1949,6 +1949,12 @@ void wakeup_flusher_threads(long nr_pages, enum wb_reason reason) | |||
1949 | { | 1949 | { |
1950 | struct backing_dev_info *bdi; | 1950 | struct backing_dev_info *bdi; |
1951 | 1951 | ||
1952 | /* | ||
1953 | * If we are expecting writeback progress we must submit plugged IO. | ||
1954 | */ | ||
1955 | if (blk_needs_flush_plug(current)) | ||
1956 | blk_schedule_flush_plug(current); | ||
1957 | |||
1952 | if (!nr_pages) | 1958 | if (!nr_pages) |
1953 | nr_pages = get_nr_dirty_pages(); | 1959 | nr_pages = get_nr_dirty_pages(); |
1954 | 1960 | ||