AmeriCanAndroid/desire_kernel_35 — comment on commit 5f9fb8efc626ac608532999be12762042652156e
File:  line 0
By dorimanx:

Hi,

When you reverted the ext patch...
you didnt removed the second part of the patch:

+ {

+ done = 1;

break;

+ }

}

pagevec_release(&pvec);

}

@@ -2976,9 +2979,12 @@ static int ext4_da_writepages(struct address_space *mapping,

* sbi->max_writeback_mb_bump whichever is smaller.

*/

max_pages = sbi->s_max_writeback_mb_bump << (20 - PAGE_CACHE_SHIFT);

- if (!range_cyclic && range_whole)

- desired_nr_to_write = wbc->nr_to_write * 8;

- else

+ if (!range_cyclic && range_whole) {

+ if (wbc->nr_to_write == LLONG_MAX)

+ desired_nr_to_write = wbc->nr_to_write;

+ else

+ desired_nr_to_write = wbc->nr_to_write * 8;

+ } else

=======
Why ole the :

- {

- done = 1;

break;

- }

is this better?

Thanks :)