Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1357888imm; Sat, 4 Aug 2018 01:38:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdv3qL+WTDMUGEdBmf2c0bjxRwq9iQAeuUwQ21bdFAS4f5fl1KWdU4PMXscOYldvr9v9kr6 X-Received: by 2002:a63:380d:: with SMTP id f13-v6mr6926330pga.124.1533371928141; Sat, 04 Aug 2018 01:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533371928; cv=none; d=google.com; s=arc-20160816; b=WmRjPKivGhDDdtaLHw5lX1n0vJRLtsuDvSp3YzEu01Dgfpp40i3kz8V+E+VkZ+SpVj 2Kjw6UeL6rpjdMigzpM8/T7gnXAO4LdOmxqYnIS37hBygokEwfjzVsp+6DLZyX3QfJ6b gMf8wphsbIlBWpOBIiyKqQlZbC7PtbZ/O6NoFFYr+6tPZ1IM5G6rSWu0SmXqlq/uu/Lt xnRIRheDB99Pj7jQbkcWA6+Fd3iQkYNsrGnv/iRrBxFouH2+f2dVymdp8XGN+ssyjXPi 0yJhmOiu8aNlnAizdjQUVIHcrLP4EjXbFRt6IafzRRENL68LgyYsfR4dF9eDyRDx55qY rvOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:to:subject :arc-authentication-results; bh=LwVMaIkl9wJmKZHTjKaC7TEok/ovA9smSUmlshrrZYM=; b=HzG1SJ1aPwYJBKIcGFFv63xbJL/gxpoGleNARlvmqmwj33aa0XIZqF93vO2TjTRvNM cjdb9Jmt/9UDo/hNtnaRNIK+8G/T45Drao93kbrgfxHOqiyFbqao7u4tSD5EjfhFqboe lC8RoAUPaTEpqnDjDtQyL5p9Rn69uW0K/WaAstXZZvGvSSylTV6I8/yUewzhiklwlV5S h+MNHA/XZLC7xVi01bOs/aDrP+yenxzq02bTF7xiQ10XxRLFHBq1MQCkjD1z+attUoNN xLRZxGjcHFx3vRak7U0OqZHZ75zMOA0BUPZCEk47JDdvFoFb0QfakM5oziXCQdSViL+J v95g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t190-v6si7439159pfb.216.2018.08.04.01.38.20; Sat, 04 Aug 2018 01:38:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726754AbeHDKgw (ORCPT + 99 others); Sat, 4 Aug 2018 06:36:52 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59968 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726448AbeHDKgw (ORCPT ); Sat, 4 Aug 2018 06:36:52 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 06FBA87A87; Sat, 4 Aug 2018 08:36:58 +0000 (UTC) Received: from [10.40.204.63] (ovpn-204-63.brq.redhat.com [10.40.204.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 17C94112D172; Sat, 4 Aug 2018 08:36:50 +0000 (UTC) Subject: Re: [dm-devel] LVM snapshot broke between 4.14 and 4.16 To: "Theodore Y. Ts'o" , Mike Snitzer , Linus Torvalds , Jens Axboe , Sagi Grimberg , Linux Kernel Mailing List , linux-block , dm-devel@redhat.com, Ilya Dryomov , wgh@torlan.ru References: <1ec0a220-d5b0-1c27-e63b-c4d3f4ce9d77@torlan.ru> <20180803185431.GB3258@redhat.com> <20180803193037.GA4581@redhat.com> <20180804052033.GA4461@thunk.org> From: Zdenek Kabelac Organization: Red Hat Message-ID: <102c2d75-f768-a649-52c3-bac6f0ca738d@redhat.com> Date: Sat, 4 Aug 2018 10:36:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180804052033.GA4461@thunk.org> Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Sat, 04 Aug 2018 08:36:58 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Sat, 04 Aug 2018 08:36:58 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'zkabelac@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dne 4.8.2018 v 07:20 Theodore Y. Ts'o napsal(a): > On Fri, Aug 03, 2018 at 03:30:37PM -0400, Mike Snitzer wrote: >> >> I was trying to give context for the "best to update lvm2 anyway" >> disclaimer that was used. Yeah, it was specious. > > Well, it seemed to indicate a certain attitude that both Linus and I > are concerned about. I tried to use more of a "pursuading" style to > impress why that attitude was not ideal/correct. Linus used a much > more assertive style (e.g., "Hell, no!"). My whole point was - when someone has 'enough time' to compile fresh new kernel, spending couple seconds to build also recent lvm2 should have be no issue. Bugs are continually fixed, new feature from newer kernel are being used, known problems are being addressed - that's all what it means. Bug are fixed not just in kernel, but also in user-space. > >> And yeah, that isn't a good excuse to ignore it but: dm-snapshot is a >> steaming pile as compared to dm thin-provisioning... > > On a side note, this is the first that I've heard the assertion that > dm-thin was better than dm-snapshot. My impression was that > dm-snapshot was a proven code base, that only did one thing and (as > far as I could tell) did it well. In contrast, dm-thin is much newer > code, **far** more complex, with functionality and corner cases > approaching that of a file system --- and just to be even more > exciting, it doesn't have an fsck/repair tool to deal with corrupted > metadata. > > In your opinion, is it because you disagree with the assumption that > dm-thin is scary? Or is the argument that dm-snapshot is even > scarier? dm-snapshost has really outdated design - it's been useful in the old age where megabyte was hell lot of space. Nowadays, when users do need to handle snapshots in multi gigabyte sizes and moreover have number of snapshots from the same volume taken over the time, want to take snapshot of snapshot of snapshot, the old snapshot simple kills all the performance, uses tons of resources and becomes serious bottleneck of your system and has lots of usability limitation. That's where thin provisioning will shine.... However if you still need to take short-living smallish snapshot and you want to use non-provisioned origin device, there the snapshot will still work as proven technology - just no one can expect it will scale for the recent device size explosion... Regards Zdenek