On Fri, Sep 20, 2013 at 02:13:08PM +0800, Qu Wenruo wrote: > >* WQ_MEM_RECLAIM for the scrub thread does not seem right > I think scrub_workers,scrub_wr_completion_workers still need WQ_MEM_RECLAIM. > However scrub_nocow_workers does not need WQ_MEM_RECLAIM flags. > > Did you mean this? > > If you didn't mean this, would you please tell me why the WQ_MEM_RECLAIM is > not > needed?
Documentation says that threads that might be used in the memory reclaim path must use this flag, but I don't see how this applies to scrub threads. They're not writing out dirty data, though they may issue a write, but that's not their main purpose. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html