Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965100AbcCPAaX (ORCPT ); Tue, 15 Mar 2016 20:30:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52428 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751368AbcCPAaT (ORCPT ); Tue, 15 Mar 2016 20:30:19 -0400 Reply-To: sandeen@redhat.com Subject: Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks References: <20160311223047.GZ30721@dastard> <20160312003556.GF32214@thunk.org> <20160313233049.GA30721@dastard> <56E69398.7030508@redhat.com> <20160314144603.GO29218@thunk.org> <20160315201431.GG30721@dastard> <20160315223313.GH30721@dastard> <20160315235216.GI30721@dastard> To: Linus Torvalds , Dave Chinner Cc: "Theodore Ts'o" , Ric Wheeler , Andy Lutomirski , One Thousand Gnomes , Gregory Farnum , "Martin K. Petersen" , Christoph Hellwig , "Darrick J. Wong" , Jens Axboe , Andrew Morton , Linux API , Linux Kernel Mailing List , shane.seymour@hpe.com, Bruce Fields , linux-fsdevel , Jeff Layton From: Eric Sandeen Message-ID: <56E8A916.8050702@redhat.com> Date: Tue, 15 Mar 2016 19:30:14 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 26 On 3/15/16 7:06 PM, Linus Torvalds wrote: > On Tue, Mar 15, 2016 at 4:52 PM, Dave Chinner wrote: >> > >> > It is pretty clear that the onus is on the patch submitter to >> > provide justification for inclusion, not for the reviewer/Maintainer >> > to have to prove that the solution is unworkable. > I agree, but quite frankly, performance is a good justification. > > So if Ted can give performance numbers, that's justification enough. > We've certainly taken changes with less. I've been away from ext4 for a while, so I'm really not on top of the mechanics of the underlying problem at the moment. But I would say that in addition to numbers showing that ext4 has trouble with unwritten extent conversion, we should have an explanation of why it can't be solved in a way that doesn't open up these concerns. XFS certainly has different mechanisms, but is the demonstrated workload problematic on XFS (or btrfs) as well? If not, can ext4 adopt any of the solutions that make the workload perform better on other filesystems? Adding the risk and complexity of the stale data exposure should be considered as a last resort, after the above questions have been answered. -Eric