lkml.org 
[lkml]   [2011]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] writeback: elevate queue_io() into wb_writeback()
>  	return 1;
> }
>
> -void writeback_inodes_wb(struct bdi_writeback *wb,
> - struct writeback_control *wbc)
> +static void __writeback_inodes_wb(struct bdi_writeback *wb,
> + struct writeback_control *wbc)
> {
> int ret = 0;
>
> if (!wbc->wb_start)
> wbc->wb_start = jiffies; /* livelock avoidance */

This should move to writeback_inodes_wb and be unconditional as
wb_writeback already always initializes it.



\
 
 \ /
  Last update: 2011-05-04 13:11    [W:0.142 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site