Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp472308imm; Fri, 3 Aug 2018 06:32:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcnbfHPeBp5V3ryCRw8TX4wETO7EVrxC9DyII4i+77a+ghqu0hAIEBVBKBdsAyL7iN9cucq X-Received: by 2002:a62:dc1d:: with SMTP id t29-v6mr4575027pfg.244.1533303127219; Fri, 03 Aug 2018 06:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533303127; cv=none; d=google.com; s=arc-20160816; b=BK9lh1L9vKj8HDZqbObavE4Hmpma21mRuO2ku0lKx5lUkIwMKsEoxasJPzhgDMe0sd Vi8YSlnWugMW0W9s6FnFeoGwwG8mQFSSXvjBBAhU8Pug4lrZx9gj3hlG6F6Q/9/oeuoo T20MBcylbN3o4LwLf8L6PFEalhtlb1Akhv89MV0gJ9OIiCKIWhDzysqbuW5dxf/0ZLxa UV8NYAuB4tZ3MbW7j9QbuTP6FxJYzcD52goGa7mgWf+D+Rn3vRbVFF2SwERGGwzD7NEg 4/YNboag+6yp1bkjqVo5bef64mUhhbRa+EWGQMw9STYNMgNlzsTod63Edq+gEeWUSSgQ 9PSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=oMOD7Vjb/BJRKsoTHVjYuqtUNPnzFm/Nt3ag2SvoFdY=; b=uVKk7AEPhoAcsyI5j0EDpaflzdiIcwJzdqrzTOd6uXqOGL2DJDyaP/6uh84EE3G2k5 ccTBsnXiHPycNlG6xF5qXfoUg6gwlUaS45BCYpnX72EKfFmkpNpEs6/W865dNkKC52xi kDYlp10TH6/fv5DbWXbxLCEfs+NPgjCnkqi3S/bnJkbs92Bx6zf+ikE01WXJQ4cZ4RAg PCDE1tfjrEIRgJjx8rWaFnT5qWvgSYtiCrqB7e8CYP5n7kUjnuyl4L3tvjtnZJMsg0Am 85lWd1/hNf21hH3f2aXevx4dXf6eBv5PNClcmj8Adhu6ljuYIHEB/XQl3bJNKGAYlQVA poWA== 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 x128-v6si5550713pgx.156.2018.08.03.06.31.52; Fri, 03 Aug 2018 06:32:07 -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 S1732206AbeHCP10 (ORCPT + 99 others); Fri, 3 Aug 2018 11:27:26 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:41924 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729630AbeHCP10 (ORCPT ); Fri, 3 Aug 2018 11:27:26 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 30C6140216F9; Fri, 3 Aug 2018 13:31:04 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A07E620389E0; Fri, 3 Aug 2018 13:31:03 +0000 (UTC) Date: Fri, 3 Aug 2018 09:31:03 -0400 From: Mike Snitzer To: Linus Torvalds Cc: wgh@torlan.ru, Ilya Dryomov , Jens Axboe , linux-block , Linux Kernel Mailing List , Sagi Grimberg , dm-devel@redhat.com Subject: Re: LVM snapshot broke between 4.14 and 4.16 Message-ID: <20180803133102.GA3092@redhat.com> References: <226835ba-2197-b850-6e5b-8ba14f7fd016@torlan.ru> <93bff248-6897-4867-841b-2dace11597de@torlan.ru> <1ec0a220-d5b0-1c27-e63b-c4d3f4ce9d77@torlan.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 03 Aug 2018 13:31:04 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 03 Aug 2018 13:31:04 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'msnitzer@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 02 2018 at 5:52pm -0400, Linus Torvalds wrote: > On Thu, Aug 2, 2018 at 2:39 PM WGH wrote: > > > > I've just found one public report of this bug, though: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900442 > > Yeah, it does sound like we should fix this issue. Debian is notorious for having a stale and/or custom lvm2. Generally speaking, it is recommended that lvm2 not be older than the kernel (but the opposite is fine). Given the narrow scope of users impacted (read-only snapshot creation is very niche, certainly not the default): I don't think it is worth making fiddly changes in dm-snapshot to warn the user and override the permissions for the cow device. Mike