[lkml]   [2011]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 24/32] dlm: dlm workqueues aren't used in memory reclaim path
Hello again,

On Mon, Jan 03, 2011 at 02:21:29PM +0000, Steven Whitehouse wrote:
> > Ooh, I see. Hmmm... maybe I've asked this before but do you really
> > need WQ_MEM_RECLAIM there? Is dlm used during memory reclaim?
> Yes, it is in case of deallocation of inodes, so we have to be careful
> about that,

I see. I'm still slightly unsure about the WQ_MEM_RECLAIM rules when
it comes to distributed file systems and stuff related to them, but I
think it basically comes down to whether the code can be in the swap
path or not. e.g. for nfs backed write shared mapped files, nfs
definitely can be used during memory reclaim _but_ it's not guaranteed
to make forward progress under memory pressure and thus can't be
depended upon and shouldn't be used for swap. IOW, it may free memory
but it's not in the critical path which should guarantee forward
progress. Isn't dlm the same case?

Thank you.


 \ /
  Last update: 2011-01-03 15:29    [W:0.106 / U:0.720 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site