diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 11:19:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 11:19:16 -0500 |
commit | 6035ccd8e9e40bb654fbfdef325902ab531679a5 (patch) | |
tree | c1810d8a4d4ef150cdf14af72e6087dfc3f4b6e0 /mm | |
parent | 23eb3b64b5e44680c867e165fe1cd18e57fba255 (diff) | |
parent | 878eaddd05d251cefa9632c2b8046833c5eead66 (diff) |
Merge branch 'for-2.6.33' of git://git.kernel.dk/linux-2.6-block
* 'for-2.6.33' of git://git.kernel.dk/linux-2.6-block: (113 commits)
cfq-iosched: Do not access cfqq after freeing it
block: include linux/err.h to use ERR_PTR
cfq-iosched: use call_rcu() instead of doing grace period stall on queue exit
blkio: Allow CFQ group IO scheduling even when CFQ is a module
blkio: Implement dynamic io controlling policy registration
blkio: Export some symbols from blkio as its user CFQ can be a module
block: Fix io_context leak after failure of clone with CLONE_IO
block: Fix io_context leak after clone with CLONE_IO
cfq-iosched: make nonrot check logic consistent
io controller: quick fix for blk-cgroup and modular CFQ
cfq-iosched: move IO controller declerations to a header file
cfq-iosched: fix compile problem with !CONFIG_CGROUP
blkio: Documentation
blkio: Wait on sync-noidle queue even if rq_noidle = 1
blkio: Implement group_isolation tunable
blkio: Determine async workload length based on total number of queues
blkio: Wait for cfq queue to get backlogged if group is empty
blkio: Propagate cgroup weight updation to cfq groups
blkio: Drop the reference to queue once the task changes cgroup
blkio: Provide some isolation between groups
...
Diffstat (limited to 'mm')
-rw-r--r-- | mm/backing-dev.c | 2 | ||||
-rw-r--r-- | mm/page-writeback.c | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 67a33a5a1a93..0e8ca0347707 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
@@ -609,7 +609,7 @@ static void bdi_wb_shutdown(struct backing_dev_info *bdi) | |||
609 | * it would never exet if it is currently stuck in the refrigerator. | 609 | * it would never exet if it is currently stuck in the refrigerator. |
610 | */ | 610 | */ |
611 | list_for_each_entry(wb, &bdi->wb_list, list) { | 611 | list_for_each_entry(wb, &bdi->wb_list, list) { |
612 | wb->task->flags &= ~PF_FROZEN; | 612 | thaw_process(wb->task); |
613 | kthread_stop(wb->task); | 613 | kthread_stop(wb->task); |
614 | } | 614 | } |
615 | } | 615 | } |
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 2c5d79236ead..0b19943ecf8b 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -821,7 +821,6 @@ int write_cache_pages(struct address_space *mapping, | |||
821 | struct writeback_control *wbc, writepage_t writepage, | 821 | struct writeback_control *wbc, writepage_t writepage, |
822 | void *data) | 822 | void *data) |
823 | { | 823 | { |
824 | struct backing_dev_info *bdi = mapping->backing_dev_info; | ||
825 | int ret = 0; | 824 | int ret = 0; |
826 | int done = 0; | 825 | int done = 0; |
827 | struct pagevec pvec; | 826 | struct pagevec pvec; |
@@ -834,11 +833,6 @@ int write_cache_pages(struct address_space *mapping, | |||
834 | int range_whole = 0; | 833 | int range_whole = 0; |
835 | long nr_to_write = wbc->nr_to_write; | 834 | long nr_to_write = wbc->nr_to_write; |
836 | 835 | ||
837 | if (wbc->nonblocking && bdi_write_congested(bdi)) { | ||
838 | wbc->encountered_congestion = 1; | ||
839 | return 0; | ||
840 | } | ||
841 | |||
842 | pagevec_init(&pvec, 0); | 836 | pagevec_init(&pvec, 0); |
843 | if (wbc->range_cyclic) { | 837 | if (wbc->range_cyclic) { |
844 | writeback_index = mapping->writeback_index; /* prev offset */ | 838 | writeback_index = mapping->writeback_index; /* prev offset */ |
@@ -957,12 +951,6 @@ continue_unlock: | |||
957 | break; | 951 | break; |
958 | } | 952 | } |
959 | } | 953 | } |
960 | |||
961 | if (wbc->nonblocking && bdi_write_congested(bdi)) { | ||
962 | wbc->encountered_congestion = 1; | ||
963 | done = 1; | ||
964 | break; | ||
965 | } | ||
966 | } | 954 | } |
967 | pagevec_release(&pvec); | 955 | pagevec_release(&pvec); |
968 | cond_resched(); | 956 | cond_resched(); |