Re: [PATCH v2] fadvise: perform WILLNEED readahead asynchronously

2013-01-09 Thread Eric Wong
Simon Jeons wrote: > On Tue, 2012-12-25 at 02:22 +, Eric Wong wrote: > > Please add changelog. Changes since v1: * separate unbound workqueue for high-priority tasks * account for inflight readahead to avoid denial-of-service * limit concurrency for non-high-priority tasks (1 per CPU, sam

Re: [PATCH v2] fadvise: perform WILLNEED readahead asynchronously

2013-01-05 Thread Simon Jeons
On Tue, 2012-12-25 at 02:22 +, Eric Wong wrote: Please add changelog. > Using fadvise with POSIX_FADV_WILLNEED can be very slow and cause > user-visible latency. This hurts interactivity and encourages > userspace to resort to background threads for readahead (or avoid > POSIX_FADV_WILLNEED

Re: [PATCH v2] fadvise: perform WILLNEED readahead asynchronously

2012-12-26 Thread Zheng Liu
On Tue, Dec 25, 2012 at 02:22:51AM +, Eric Wong wrote: > Using fadvise with POSIX_FADV_WILLNEED can be very slow and cause > user-visible latency. This hurts interactivity and encourages > userspace to resort to background threads for readahead (or avoid > POSIX_FADV_WILLNEED entirely). > > "