On Wednesday 09 May 2012, Christoph Hellwig wrote: > On Wed, May 09, 2012 at 01:59:40PM +0000, Arnd Bergmann wrote: > > 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 from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html