From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BE907C433F5 for ; Thu, 27 Jan 2022 17:11:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643303514; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=pgIH+eQ1aWtao6gpD79OZzfs3+eFBN8EajStjfTqS4s=; b=M8fGjUajpuIjes/MYe2kYDC/wMlzOYiiI/S/1GdUVDZM6vT9JHlZPRFXkOb3u6xk9c1Upq QXkFqm2lIszc5UnH21H+Wl/2LYotwAIbrhFEyf1rK96Q1Pr5KS0TWfBm6U+V59Z9bpzBhm f2Q8pl5h8WLteTc6wFwa86fuMZwkOQk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-2-iGV08vfvOueZzsFHBa-4Ug-1; Thu, 27 Jan 2022 12:11:52 -0500 X-MC-Unique: iGV08vfvOueZzsFHBa-4Ug-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 064B61018725; Thu, 27 Jan 2022 17:11:48 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DB2D97A3FA; Thu, 27 Jan 2022 17:11:47 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B1F464BB7C; Thu, 27 Jan 2022 17:11:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20RHBj6G020172 for ; Thu, 27 Jan 2022 12:11:46 -0500 Received: by smtp.corp.redhat.com (Postfix) id D2AA040CFD7B; Thu, 27 Jan 2022 17:11:45 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CEF6740CFD45 for ; Thu, 27 Jan 2022 17:11:45 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B4DD9185A7BA for ; Thu, 27 Jan 2022 17:11:45 +0000 (UTC) Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-557-1soJHvFwPKa8M_qizdSB0A-1; Thu, 27 Jan 2022 12:11:42 -0500 X-MC-Unique: 1soJHvFwPKa8M_qizdSB0A-1 Received: by mail-qt1-f198.google.com with SMTP id g18-20020ac84b72000000b002cf274754c5so2685207qts.14 for ; Thu, 27 Jan 2022 09:11:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xtKZnu3m4MJ1lsPgVyhgN06mFCH9uLK+At7c0q3e4j8=; b=qug0LyOy2lyAb3Z7IIWCv43JVVxurXj6hbwjs4KCbB+0kRc6bhUoZl3eeSw1b3HvBQ oNsaKr78cfZ7g6UsV7E5bkZ5asvOkut2Q+nPJxAjz5A6xtbv5ALnUPJeEyarfd8DDLMp eD0uYLo/jxuNQT5t/xpG6jZoQ1Koc4UYAug+XzSk7NhUEgwQDvcWEShJc2mKF8a9T4le rgpi762tFpzLFyKD118xO9a6FGsHswRDDYWUw5yM1a/kr/iJzWWRJKORBtJVvjQUB/eZ rlcx408HYSN8TY7P0OPH/or/9wU049sJ/Cn+D4vs62rulJU/DKAo+eoHUfWdFBEBclKq n85w== X-Gm-Message-State: AOAM531sUDPaET/vaobL2jGapsohOOQhYHhlZ/ktK06ft+Ad29BHnYEO cAjRU7hrdgr9KpfpMMMbn5K2u19/T9IRWzIGw1TdHQvnKqOVn5Ja4SMPsbmk9g9L6dTfK4FO9NF xoWZm07loXcItog== X-Received: by 2002:ad4:5968:: with SMTP id eq8mr3808177qvb.80.1643303501892; Thu, 27 Jan 2022 09:11:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJztPCW/ls/HGsD9xe/WMaahh4UjrJsfEVpwqwRI5tHMnXcgyiZLuuvrhgvmY/MRUsNQeYYfvQ== X-Received: by 2002:ad4:5968:: with SMTP id eq8mr3808154qvb.80.1643303501730; Thu, 27 Jan 2022 09:11:41 -0800 (PST) Received: from localhost (pool-68-160-176-52.bstnma.fios.verizon.net. [68.160.176.52]) by smtp.gmail.com with ESMTPSA id w8sm119796qti.21.2022.01.27.09.11.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 09:11:41 -0800 (PST) Date: Thu, 27 Jan 2022 12:11:40 -0500 From: Mike Snitzer To: Christoph Hellwig Message-ID: References: <20220124091107.642561-1-hch@lst.de> <20220124091107.642561-9-hch@lst.de> MIME-Version: 1.0 In-Reply-To: <20220124091107.642561-9-hch@lst.de> X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-loop: dm-devel@redhat.com Cc: Jens Axboe , linux-block@vger.kernel.org, linux-nfs@vger.kernel.org, linux-nilfs@vger.kernel.org, Philipp Reisner , Ryusuke Konishi , Konstantin Komarov , Roger Pau =?iso-8859-1?Q?Monn=E9?= , dm-devel@redhat.com, "Md . Haris Iqbal " , Lars Ellenberg , linux-fsdevel@vger.kernel.org, xen-devel@lists.xenproject.org, Andrew Morton , ntfs3@lists.linux.dev, Jack Wang , Pavel Begunkov , drbd-dev@lists.linbit.com Subject: Re: [dm-devel] [PATCH 08/19] dm-thin: use blkdev_issue_flush instead of open coding it X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, Jan 24 2022 at 4:10P -0500, Christoph Hellwig wrote: > Use blkdev_issue_flush, which uses an on-stack bio instead of an > opencoded version with a bio embedded into struct pool. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AE5BC4332F for ; Thu, 27 Jan 2022 17:11:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244378AbiA0RLo (ORCPT ); Thu, 27 Jan 2022 12:11:44 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:55801 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244387AbiA0RLo (ORCPT ); Thu, 27 Jan 2022 12:11:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643303503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xtKZnu3m4MJ1lsPgVyhgN06mFCH9uLK+At7c0q3e4j8=; b=LN8FAamK45sm6noJKUN6tg+JuKEjFXTHjCz0Gz3hQXd7xEnG8vCRHb6CYG8/0sito9KieR EoA3uFroRZoPvlL+SDdS4cbDbrpWlWUd6YK5HZdf/U3wzh4GlyqcSS/9tB/oQEndPVNawx 37imUkamyk+Z/2GOH1G55UuYiAToeOc= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-517-hhpWFCY6N1yUI622JjDnpw-1; Thu, 27 Jan 2022 12:11:42 -0500 X-MC-Unique: hhpWFCY6N1yUI622JjDnpw-1 Received: by mail-qk1-f198.google.com with SMTP id a134-20020ae9e88c000000b0047ebe47102dso2810989qkg.18 for ; Thu, 27 Jan 2022 09:11:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xtKZnu3m4MJ1lsPgVyhgN06mFCH9uLK+At7c0q3e4j8=; b=idt49ogcV0zxSTvKOWTaXxgrHvcEqJnQgJboLfixs8s/0aW23clqXdZqt7pPc50UPA p1QaL6TxZWc4gZE3Lg1GZOhwG4Ua2sHAip/LNqmy2BIXZDC4wDRRK/z9dKNjlr1k24+T PqpdJFXljBFaHK2uSCgAMFkE3ZjQ8iz4q42N11JIyOpjgWWpUMPAA+emMbDheRsLWQQZ SZ9AGf/jv/EuBqFNq/LqoUSwIlrDfXgnYQgXQBW9vxjIqE63RkQ9BqbwjpfjFJOAeGW1 0Pvp2cFeThx8Pw22vePIRcG/c8Ws3b62xeqbkYi4nY72vxoBsjquiRMhpaFJoao6PQh8 uUoA== X-Gm-Message-State: AOAM532MO9fmyehYYIlHqiOOAuR3yypPmvaUwVsW3zwkAXx2ZWr4DEJF Y9zCIko3FTnHMNPOwL1DgSd750u07GC+ZyxL46XBhaEZsRrnS97P0+Xi1toTyRVVxK9lqg7GSdf SdsaYHFTqGymns41+wL/9kg== X-Received: by 2002:ad4:5968:: with SMTP id eq8mr3808170qvb.80.1643303501889; Thu, 27 Jan 2022 09:11:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJztPCW/ls/HGsD9xe/WMaahh4UjrJsfEVpwqwRI5tHMnXcgyiZLuuvrhgvmY/MRUsNQeYYfvQ== X-Received: by 2002:ad4:5968:: with SMTP id eq8mr3808154qvb.80.1643303501730; Thu, 27 Jan 2022 09:11:41 -0800 (PST) Received: from localhost (pool-68-160-176-52.bstnma.fios.verizon.net. [68.160.176.52]) by smtp.gmail.com with ESMTPSA id w8sm119796qti.21.2022.01.27.09.11.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 09:11:41 -0800 (PST) Date: Thu, 27 Jan 2022 12:11:40 -0500 From: Mike Snitzer To: Christoph Hellwig Cc: Jens Axboe , Pavel Begunkov , Ryusuke Konishi , Konstantin Komarov , Andrew Morton , "Md . Haris Iqbal " , Jack Wang , Roger Pau =?iso-8859-1?Q?Monn=E9?= , Philipp Reisner , Lars Ellenberg , linux-block@vger.kernel.org, dm-devel@redhat.com, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-nilfs@vger.kernel.org, ntfs3@lists.linux.dev, xen-devel@lists.xenproject.org, drbd-dev@lists.linbit.com Subject: Re: [PATCH 08/19] dm-thin: use blkdev_issue_flush instead of open coding it Message-ID: References: <20220124091107.642561-1-hch@lst.de> <20220124091107.642561-9-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220124091107.642561-9-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Mon, Jan 24 2022 at 4:10P -0500, Christoph Hellwig wrote: > Use blkdev_issue_flush, which uses an on-stack bio instead of an > opencoded version with a bio embedded into struct pool. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 342F542A590 for ; Thu, 27 Jan 2022 18:11:45 +0100 (CET) Received: by mail-qk1-f199.google.com with SMTP id j66-20020a375545000000b004e0e071f37eso287925qkb.23 for ; Thu, 27 Jan 2022 09:11:42 -0800 (PST) Date: Thu, 27 Jan 2022 12:11:40 -0500 From: Mike Snitzer To: Christoph Hellwig Message-ID: References: <20220124091107.642561-1-hch@lst.de> <20220124091107.642561-9-hch@lst.de> MIME-Version: 1.0 In-Reply-To: <20220124091107.642561-9-hch@lst.de> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Jens Axboe , linux-block@vger.kernel.org, linux-nfs@vger.kernel.org, linux-nilfs@vger.kernel.org, Philipp Reisner , Ryusuke Konishi , Konstantin Komarov , Roger Pau =?iso-8859-1?Q?Monn=E9?= , dm-devel@redhat.com, "Md . Haris Iqbal " , Lars Ellenberg , linux-fsdevel@vger.kernel.org, xen-devel@lists.xenproject.org, Andrew Morton , ntfs3@lists.linux.dev, Jack Wang , Pavel Begunkov , drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] [PATCH 08/19] dm-thin: use blkdev_issue_flush instead of open coding it List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Jan 24 2022 at 4:10P -0500, Christoph Hellwig wrote: > Use blkdev_issue_flush, which uses an on-stack bio instead of an > opencoded version with a bio embedded into struct pool. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer