From: Mark Fasheh Date: Wed, 24 Dec 2008 17:05:44 -0800 Subject: [Ocfs2-devel] [PATCH 19/56] mm: Export pdflush_operation() In-Reply-To: <20081222160104.6633cd77.akpm@linux-foundation.org> References: <1229982517-3455-1-git-send-email-mfasheh@suse.com> <1229982517-3455-20-git-send-email-mfasheh@suse.com> <20081222160104.6633cd77.akpm@linux-foundation.org> Message-ID: <20081225010544.GB17410@wotan.suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Morton Cc: linux-kernel@vger.kernel.org, ocfs2-devel@oss.oracle.com, joel.becker@oracle.com, jack@suse.cz On Mon, Dec 22, 2008 at 04:01:04PM -0800, Andrew Morton wrote: > On Mon, 22 Dec 2008 13:48:00 -0800 > Mark Fasheh wrote: > > > OCSF2 will need to queue up work for periodic syncing of quotas > > among nodes in the cluster. pdflush() is good thread for this so > > export it's controlling function so that OCFS2 can use it. > > I trust that nothing will explode if pdflush_operation() fails > to do anything and returns -1? Hmm, Jan do you have any opinion here? I'm wondering if we just need our own thread for this after all... --Mark -- Mark Fasheh