Thread (41 messages) 41 messages, 7 authors, 2011-12-23

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help