Received: by 10.223.164.202 with SMTP id h10csp5096227wrb; Tue, 21 Nov 2017 04:45:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMYyCfTDcdxEWklVYiWOuB/x+zuy+g2KxJzZw+cAR0wgQ+vk3UpDV3HPL9zZTf0KUeqlUh4J X-Received: by 10.159.216.131 with SMTP id s3mr17157788plp.252.1511268323223; Tue, 21 Nov 2017 04:45:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511268323; cv=none; d=google.com; s=arc-20160816; b=uNHqdDu7FTwb+gox7xFL12rp4rXoX+tYq1YwAGfvwtmACzrzbBlXYetJkP6V6j33AG 6Qkdz94uczCdg56F1SKJiwRhGWmAN3HxyCoADKJgpHK9tIOZKpIHJ+5+1l016KsMygaA g5Mmexcq/epBn0Oybcij6wtYHpkpM5aBRUmf8E3PS0UVZy+YXWPoLYd+5aX7jC7GCpQC C/NPsn0OFcz5RUPpWFWTYwGti3QwOXFiJ/LOa953MWq9GEh7JAzjBMOm2hEGXjoavoHb QfB3qupYpzb1oLofkOD8csa+C34ZWz9luM/6vOAZCNnfuWnrJyAaSAW1N4CZmnfEkQTt DvSg== 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=EqqxqcHBDxHIWnrLmloEzPIuBuMvXii+aqW5gs4MQeo=; b=jUQreO+2lgTwjZmM9r6Oq6XAVtWpRfKyah4M6HrtlRpajFv7o6KwRpQy0sS5SmmhRA Ddp65ayTRCi+WSksH8uUNuTzzRG1or0qZ0qHZ4D2rDIhV6rsx0JzURyQm/ALP4dDTNkZ xo/y73FRG4Anhh+dqTKRep5W439wpBHxZXLYJv/T/KErxIX8bsz2gv8198ljC5YyDYhs VMhbJo9J0eqzdxZ39mKXGmseVmVMj5K6QuZkAorCLdyff7GxLfGGivjkfozO5ilbJzpt 8pjwvGFP8I6+GL5brh6OFQRU9DWH8gw1wfqBR5JVCkfX7aGonjf8mhU3jVYNpkAbdAhd ii/w== 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 g1si10822602plb.25.2017.11.21.04.45.11; Tue, 21 Nov 2017 04:45:23 -0800 (PST) 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 S1752325AbdKUMnQ (ORCPT + 76 others); Tue, 21 Nov 2017 07:43:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56358 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752158AbdKUMnO (ORCPT ); Tue, 21 Nov 2017 07:43:14 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 36633356D4; Tue, 21 Nov 2017 12:43:14 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EAAF46C407; Tue, 21 Nov 2017 12:43:12 +0000 (UTC) Date: Tue, 21 Nov 2017 07:43:12 -0500 From: Mike Snitzer To: NeilBrown Cc: Jens Axboe , linux-block@vger.kernel.org, device-mapper development , "linux-kernel@vger.kernel.org" , Zdenek Kabelac Subject: Re: [PATCH 00/13] block: assorted cleanup for bio splitting and cloning. Message-ID: <20171121124311.GA17243@redhat.com> References: <149776047907.23258.8058071140236879834.stgit@noble> <20170618184143.GA10920@kernel.dk> <87poe13rmm.fsf@notabene.neil.brown.name> <87a7zg31vx.fsf@notabene.neil.brown.name> <20171121013533.GA14520@redhat.com> <20171121121049.GA17014@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171121121049.GA17014@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 21 Nov 2017 12:43:14 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 21 2017 at 7:10am -0500, Mike Snitzer wrote: > On Mon, Nov 20 2017 at 8:35pm -0500, > Mike Snitzer wrote: > > > On Mon, Nov 20 2017 at 7:34pm -0500, > > NeilBrown wrote: > > > > > Please see > > > https://www.redhat.com/archives/dm-devel/2017-August/msg00310.html > > I'll very likely pick these up for 4.16 shortly. But hope to work > through complete removal of DM's use of BIOSET_NEED_RESCUER for 4.16 as > well. > > > > and > > > https://www.redhat.com/archives/dm-devel/2017-August/msg00315.html > > This one [1] needs a lot of review and testing. Particularly against this > test case that Mikulas created to reproduce the snapshot deadlock (same > deadlock that motivated commit dbba42d8): > https://www.redhat.com/archives/dm-devel/2017-January/msg00064.html ... > Short of that, how would you like to proceed? > > > > That would then just leave bcache.... I find it a bit of a challenge to > > > reason about the code in bcache, but if we can remove > > > BIOSET_NEED_RESCUER from dm, that will be an extra incentive for me to learn :-) > > > > I'm all for properly removing BIOSET_NEED_RESCUER from DM. > > Should we work to make [1] (above) sure it fixes Mikulas' test case? > > I'll set in on reviewing and playing with [1] now. Decided it a better use of my time to review and then hopefully use the block-core's bio splitting infrastructure in DM. Been meaning to do that for quite a while anyway. This mail from you just made it all the more clear that needs doing: https://www.redhat.com/archives/dm-devel/2017-September/msg00098.html So I will start here on this patch you proposed: https://www.redhat.com/archives/dm-devel/2017-September/msg00091.html (of note, this patch slipped through the cracks because I was recovering from injury when it originally came through). Once DM is using q->bio_split I'll come back to this patch (aka "[1]") as a starting point for the follow-on work to remove DM's use of BIOSET_NEED_RESCUER: https://www.redhat.com/archives/dm-devel/2017-August/msg00315.html Mike From 1584677588932660518@xxx Tue Nov 21 12:11:56 +0000 2017 X-GM-THRID: 1584604171498468833 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread