Re: [PATCH] break out of ext4_num_dirty_pages() when we hit max_pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 09, 2010 at 02:00:58PM -0500, Eric Sandeen wrote:
> ext4_num_dirty_pages() will continue scanning after we accumulate
> max_pages, possibly for a very long time without doing anything
> useful at all.  When we hit max_pages, we should set done=1
> so that the break will release the pagevec, exit the loop, and
> return from the function.
> 
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>

Added to the ext4 tree, thanks.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux