Re: [PATCH 2/9] readahead: snap readahead request to EOF
From: Wu Fengguang <hidden>
Date: 2011-11-30 12:06:08
Also in:
linux-fsdevel, lkml
From: Wu Fengguang <hidden>
Date: 2011-11-30 12:06:08
Also in:
linux-fsdevel, lkml
quoted
+ /* snap to EOF */ + size += min(size, ra->ra_pages / 4);I'd probably choose: size += min(size / 2, ra->ra_pages / 4); to increase current window only to 3/2 and not twice but I don't have a
OK it looks good on large ra_pages. I'll use this form.
strong opinion. Otherwise I think the code is fine now so you can add: Acked-by: Jan Kara [off-list ref]
Thanks! Fengguang -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>