Re: [PATCH v2 0/9] btrfs: Replace the btrfs_workers with kernel workqueue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux