Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #61731

Bug#900442: linux-image-4.16.0-2-amd64: LVM2 COW snapshots fail as of 4.16

Path csiph.com!eternal-september.org!feeder.eternal-september.org!weretis.net!feeder4.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#900442: linux-image-4.16.0-2-amd64: LVM2 COW snapshots fail as of 4.16
Date Sun, 05 Aug 2018 17:00:01 +0200
Message-ID <wjsFH-7iM-9@gated-at.bofh.it> (permalink)
References <vVgw1-4Ya-9@gated-at.bofh.it> <witNv-3Ws-1@gated-at.bofh.it> <vVgw1-4Ya-9@gated-at.bofh.it> <witNv-3Ws-1@gated-at.bofh.it>
X-Original-To WGH <wgh@torlan.ru>, 900442@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Aug 5 14:57:19 2018
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.19
Reply-To Salvatore Bonaccorso <carnil@debian.org>, 900442@bugs.debian.org
Original-Sender Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 900442
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 22; hammy, 150; neutral, 37; spammy, 0. spammytokens: hammytokens:0.000-+--H*F:U*carnil, 0.000-+--Hx-spam-relays-external:sk:salvato, 0.000-+--UD:kernel.org, 0.000-+--Hx-spam-relays-external:eldamar, 0.000-+--H*rp:U*salvatore.bonaccorso
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UlqoeMRFqYWVL1me06O8Pixe9wyzEGFsQNVYU8cDUJ0=; b=GM8ffPQCed4SBz6xzGJiR7AxBM8hxqrp01WBkh8pWUtaq1fVZX1+zs8O3I3CtLgooX POYczHmYNtUUFeq02RjZyz5pSCbgS+OOpmqKAsBRse7oOVNDUohzUSpn2mjG30wGvbXL tXSCFaMk0H8Nmdf3bLFZ41RgiF8TI+I/yLoXFjc0DGy3ji1CWzJXkVi9GqdaQk67j9Qh 0ceSmVomLLHkryv82CCbMYJVwIOsr3EDHYJSr17r+m+QvTOTrRlTTub02kPS/UlHrFvu 6niGmP80e+PzfcCm6rKI3Hmu9P88t/vaH76p7Lf/nEJUAo595JfwGlUXsNBBYfH34i+l AzIQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=UlqoeMRFqYWVL1me06O8Pixe9wyzEGFsQNVYU8cDUJ0=; b=npNDMJHFLl+Ne7altZZJcG3syPQKuFx/81IpnLarD7WfaGsx8hP1+SfkLR2J6OEkPg +4kD28gzd6kmMlhMwYRMGhQ/zR4PyTLJ29uiEDo/BuxAMYL6kg+3jXG38lsZkKbkUb6e n/46iUhRg8Y9hXrQFB9EiuVwkGVtsr366fzxED0pI4T90dQFafxIe9Y6YLxpeFl7Of// zb5uXxGbeeoPkYgPIi4il315Qd5nN0P3Gk/eI7CUKQvbAT2QqfQm2zt5R5qVjCsazneP UYRzShdfuHrcrAImAxDu+AJLbHe/cL1HVkdHovTTI05TIURLLQFygczj/J7Ico5D4cRt 3kkQ==
X-Gm-Message-State AOUpUlFSnWipUbjhB6EbkUQqjyiytGLmil3m4cjVPly7oYaSSIXQ6kHS mAr0IZYZXQP4g6iTZ30i08X4aAigFPc=
X-Google-SMTP-Source AA+uWPyJoQb7YjfOPOk1UU3miQlajOOMo3gsEpHcpXYcq5xqcSFtE4fhBT7EIy7uHhhB/RkWz0s52w==
X-Received by 2002:a1c:2e93:: with SMTP id u141-v6mr591418wmu.92.1533480859094; Sun, 05 Aug 2018 07:54:19 -0700 (PDT)
Sender robomod@news.nic.it
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.10.1 (2018-07-13)
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1477272
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
X-Original-Cc lvm2@packages.debian.org
X-Original-Date Sun, 5 Aug 2018 16:54:17 +0200
X-Original-Message-ID <20180805145417.GA24244@eldamar.local>
X-Original-References <152771363902.16841.12976258769809752405.reportbug@ghostwheel.internal.ucko.debian.net> <2515f639-4274-9a34-b849-b35b35fc3635@torlan.ru> <152771363902.16841.12976258769809752405.reportbug@ghostwheel.internal.ucko.debian.net> <2515f639-4274-9a34-b849-b35b35fc3635@torlan.ru>
X-Original-Sender Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Xref csiph.com linux.debian.bugs.dist:911393 linux.debian.kernel:61731

Cross-posted to 2 groups.

Show key headers only | View raw


Control: forwarded -1 https://www.spinics.net/lists/linux-block/msg29103.html
Control: tags -1 + upstream fixed-upstream confirmed
Control: clone -1 -2
Control: reassign -2 src:lvm2 2.02.176-4.1
Control: retitle -2 lvm2: Ensure COW device is writable even for read-only thick snapshots

Hi,

On Fri, Aug 03, 2018 at 12:44:23AM +0300, WGH wrote:
> This problem is being discussed in kernel mailing list right now:
> https://www.spinics.net/lists/linux-block/msg29103.html (its cause is
> more or less known now)

The upstream fix reverts partially "block: fail op_is_write() requests
to read-only partitions".

https://git.kernel.org/linus/a32e236eb93e62a0f692e79b7c3c9636689559b9

On the lvm2 side, the following commit can be applied:

https://sourceware.org/git/?p=lvm2.git;a=commit;h=a6fdb9d9d70f51c49ad11a87ab4243344e6701a3

(thus cloning the bug as well to src:lvm2 to include this commit or
update to 2.02.178 once released).

Regards,
Salvatore

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#900442: linux-image-4.16.0-2-amd64: LVM2 COW snapshots fail as of 4.16 "Aaron M. Ucko" <ucko@debian.org> - 2018-05-30 23:10 +0200
  Bug#900442: workaround for snapshot failure Roman Mäder <maeder+deb@mathconsult.ch> - 2018-06-05 09:20 +0200
  Bug#900442: other source of error David Garfield <divad27182@gmx.com> - 2018-06-19 20:40 +0200
  Bug#900442: linux-image-4.16.0-2-amd64: LVM2 COW snapshots fail as of 4.16 WGH <wgh@torlan.ru> - 2018-08-03 00:00 +0200
    Bug#900442: linux-image-4.16.0-2-amd64: LVM2 COW snapshots fail as of 4.16 Salvatore Bonaccorso <carnil@debian.org> - 2018-08-05 17:00 +0200
  Processed: Re: Bug#900442: linux-image-4.16.0-2-amd64: LVM2 COW  snapshots fail as of 4.16 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-08-05 17:00 +0200

csiph-web