Thread (36 messages) 36 messages, 8 authors, 2012-05-14

Re: [PATCH v2 01/16] FS: Added demand paging markers to filesystem

From: Arnd Bergmann <hidden>
Date: 2012-05-09 16:54:30
Also in: linux-fsdevel, linux-mmc, linux-omap, lkml

On Wednesday 09 May 2012, Christoph Hellwig wrote:
On Wed, May 09, 2012 at 01:59:40PM +0000, Arnd Bergmann wrote:
quoted
My feeling is that we should just treat every (REQ_SYNC | REQ_READ)
request the same and let them interrupt long-running writes,
independent of whether it's REQ_META or demand paging.
It's funny that the CFQ scheduler used to boost metadata reads that
have REQ_META set - in fact it still does for those filesystems using
the now split out REQ_PRIO.
That certainly sounds more sensible than the opposite.

Of course, this is somewhat unrelated to the question of prioritizing
reads over any writes that are already started. IMHO It would be
pointless to only stop the write in order to do a REQ_PRIO read but
not any other read.

	Arnd

--
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