From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by kanga.kvack.org (Postfix) with ESMTP id 9DDC86B0038 for ; Fri, 6 Mar 2015 10:15:15 -0500 (EST) Received: by pdbfl12 with SMTP id fl12so44581021pdb.5 for ; Fri, 06 Mar 2015 07:15:15 -0800 (PST) Received: from userp1040.oracle.com (userp1040.oracle.com. [156.151.31.81]) by mx.google.com with ESMTPS id cz8si14968712pdb.85.2015.03.06.07.15.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 06 Mar 2015 07:15:14 -0800 (PST) Date: Fri, 6 Mar 2015 10:14:26 -0500 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 0/4] cleancache: remove limit on the number of cleancache enabled filesystems Message-ID: <20150306151426.GB4808@l.oracle.com> References: <20150223161222.GD30733@l.oracle.com> <20150224103406.GF16138@esperanza> <20150304212230.GB18253@l.oracle.com> <20150305164636.GB4762@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150305164636.GB4762@esperanza> Sender: owner-linux-mm@kvack.org List-ID: To: Vladimir Davydov Cc: Andrew Morton , Boris Ostrovsky , David Vrabel , Mark Fasheh , Joel Becker , Stefan Hengelein , Florian Schmaus , Andor Daam , Dan Magenheimer , Bob Liu , linux-mm@kvack.org, linux-kernel@vger.kernel.org On Thu, Mar 05, 2015 at 07:46:36PM +0300, Vladimir Davydov wrote: > On Wed, Mar 04, 2015 at 04:22:30PM -0500, Konrad Rzeszutek Wilk wrote: > > On Tue, Feb 24, 2015 at 01:34:06PM +0300, Vladimir Davydov wrote: > > > On Mon, Feb 23, 2015 at 11:12:22AM -0500, Konrad Rzeszutek Wilk wrote: > > > > Thank you for posting these patches. I was wondering if you had > > > > run through some of the different combinations that you can > > > > load the filesystems/tmem drivers in random order? The #4 patch > > > > deleted a nice chunk of documentation that outlines the different > > > > combinations. > > > > > > Yeah, I admit the synchronization between cleancache_register_ops and > > > cleancache_init_fs is far not obvious. I should have updated the comment > > > instead of merely dropping it, sorry. What about the following patch > > > proving correctness of register_ops-vs-init_fs synchronization? It is > > > meant to be applied incrementally on top of patch #4. > > > > Just fold it in please. But more importantly - I was wondering if you > > had run throught the different combinations it outlines? > > Ah, you mean testing - I misunderstood you at first, sorry. > > Of course, I checked that a cleancache backend module works fine no > matter if it is loaded before or after a filesystem is mounted. However, > I used our own cleancache driver for testing (we are trying to use > cleancache for containers). > > To be 100% sure that I did not occasionally break anything, today I > installed XenServer on my test machine, enabled tmem both in dom0 and > domU, and ran through all possible sequences of tmem load vs fs > mount/use/unmount described in the old comment. Wow! Well then, I think this patchset is ready to go then! Would you be willing to fold in the description in the patch #4 and repost it? Andrew - are you OK picking it up or would you prefer me as the maintainer to feed it to Linus? [either option is fine with me] > > Thanks, > Vladimir -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org