On Tue, 1 Oct 2013 16:50:50 +0200, David Sterba wrote:
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.
Thanks for your explain.
I understand now, and will remove the WQ_MEM_RECLAIM flagsin the recent
V3 patches.
--
-----------------------------------------------------
Qu Wenruo
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8526
COINS: 7998-8526
FAX: +86+25-83317685
MAIL: quwenruo@xxxxxxxxxxxxxx
-----------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html