From patchwork Mon Apr 15 21:17:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Snitzer X-Patchwork-Id: 10901545 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E7DB3186E for ; Mon, 15 Apr 2019 21:17:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCFF3288B6 for ; Mon, 15 Apr 2019 21:17:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C135428924; Mon, 15 Apr 2019 21:17:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 89F63288B8 for ; Mon, 15 Apr 2019 21:17:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 57C9430917F0; Mon, 15 Apr 2019 21:17:23 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EF24E1001E6D; Mon, 15 Apr 2019 21:17:22 +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 7F92C181AC45; Mon, 15 Apr 2019 21:17:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x3FLHImI031017 for ; Mon, 15 Apr 2019 17:17:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id E801060C43; Mon, 15 Apr 2019 21:17:18 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from localhost (unknown [10.18.25.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B845560C05; Mon, 15 Apr 2019 21:17:18 +0000 (UTC) From: Mike Snitzer To: dm-devel@redhat.com Date: Mon, 15 Apr 2019 17:17:14 -0400 Message-Id: <20190415211717.18737-1-snitzer@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: dm-devel@redhat.com Cc: ejt@redhat.com Subject: [dm-devel] [PATCH 0/3] dm thin metadata: handful of improvements 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.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Mon, 15 Apr 2019 21:17:23 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP All are working well in my testing but I'd appreciate further review from others. Thanks, Mike Mike Snitzer (3): dm space map common: zero entire ll_disk dm thin metadata: do not write metadata if no changes occurred dm thin metadata: check __commit_transaction()'s return drivers/md/dm-thin-metadata.c | 63 +++++++++++++------ .../md/persistent-data/dm-space-map-common.c | 2 + 2 files changed, 47 insertions(+), 18 deletions(-)