X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p3LHuBaQ168042 for ; Thu, 21 Apr 2011 12:56:11 -0500 X-ASG-Debug-ID: 1303408778-7e1300810000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from idcmail-mo1so.shaw.ca (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 35AA41510DA7 for ; Thu, 21 Apr 2011 10:59:38 -0700 (PDT) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by cuda.sgi.com with ESMTP id RFDwyGMWqcTpjVOY for ; Thu, 21 Apr 2011 10:59:38 -0700 (PDT) Received: from pd2ml1so-ssvc.prod.shaw.ca ([10.0.141.139]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 21 Apr 2011 11:59:38 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=6EkEX6JM2LCztCEhkE317K9SpBSN4cB8nbuuHVfFIzI= c=1 sm=1 a=f1ny_raOuFIA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=c23vf5CSMVc0QQz9B4a6RA==:17 a=YX1-CUk1mjPoJ4cTZl4A:9 a=IxJHfa1nG5tVtdo1Y7AA:7 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO [192.168.10.101]) ([68.147.195.121]) by pd2ml1so-dmz.prod.shaw.ca with ESMTP; 21 Apr 2011 11:59:38 -0600 X-ASG-Orig-Subj: Re: buffered writeback torture program Subject: Re: buffered writeback torture program Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Andreas Dilger In-Reply-To: <20110421174120.GA7267@infradead.org> Date: Thu, 21 Apr 2011 11:59:37 -0600 Cc: Chris Mason , linux-fsdevel , linux-ext4 , xfs , jack , axboe , dchinner Content-Transfer-Encoding: quoted-printable Message-Id: <93CB867E-B908-4B38-A146-A9DC958ACF64@dilger.ca> References: <1303322378-sup-1722@think> <20110421083258.GA26784@infradead.org> <1303407205-sup-6141@think> <20110421174120.GA7267@infradead.org> To: Christoph Hellwig X-Mailer: Apple Mail (2.1082) X-Barracuda-Connect: idcmail-mo1so.shaw.ca[24.71.223.10] X-Barracuda-Start-Time: 1303408779 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.61523 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On 2011-04-21, at 11:41 AM, Christoph Hellwig wrote: > On Thu, Apr 21, 2011 at 01:34:44PM -0400, Chris Mason wrote: >> Sorry, this doesn't do it. I think that given what a strange special >> case this is, we're best off waiting for the IO-less throttling, and >> maybe changing the code in xfs/ext4 to be a little more seek aware. = Or >> maybe not, it has to get written eventually either way. >=20 > I'm not sure what you mean with seek aware. XFS only clusters > additional pages that are in the same extent, and in fact only does > so for asynchrononous writeback. Not sure how this should be more > seek aware. But doesn't XFS have potentially very large extents, especially in the = case of files that were fallocate()'d or linearly written? If there is = a single 8GB extent, and then random writes within that extent (seems = very database like) grouping the all of the writes in the extent doesn't = seem so great. Cheers, Andreas