From patchwork Wed Nov 2 15:51:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtepa X-Patchwork-Id: 14363 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp14068wru; Wed, 2 Nov 2022 09:35:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6LQwT0PUz1cv6OSKgI4+JX1alicEevTGEiwij+lzVGiQ7Qt6wypfXleg70T7ZP5E5AqWGg X-Received: by 2002:aa7:dcd5:0:b0:461:5fad:4215 with SMTP id w21-20020aa7dcd5000000b004615fad4215mr26590929edu.332.1667406920330; Wed, 02 Nov 2022 09:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667406920; cv=none; d=google.com; s=arc-20160816; b=nlWhSLxnmeUr6kz96Jlo9Uz/Jds6jUJsglwhlrSOqi/YnV5LeSwghG3aarakXtljxD Hxz9sWCM+Y2y0LMN1c8OKFHe6TqB9lUWKEO9U2/kZKstlk7igVgLDPOaM/IM9fzPz6Fr y0iX3ouVifGA2EBIr79XwGrA1bVOQvNBBXt9d5EeRvcqnHDXhGbVvY0K2an61Q9i9z9q 19y8pZ1D0De8LzoDF/Km5+ks/xEpYEMDrB8T0Iw95gJ+SN9chTiZD4nDswc6d7f7fXYk ggDRxDJWr1Mu/e/rIsIXYRykJtKUVqM0gfexMKsp9pdhWGcAskqJg+mPBPg2tSWll4vt s3og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=4W3VeDIYvjIP23801X+hiRHil28EE436wuQcY+nCUu4=; b=ON1cDdbtkxzvsfFzExkIn+1yCWilvxyMr1k6W1Knp/8Y+sFy/1TwgoojE7+yYAwZrV CEI9h6pYIa1rpz6wjzVOFrQw/gxM3r4of7GbvIaijTsNZVXX94BzkyXo+/NG7LNmRfXu uI1vfoS+RffQ8nsxIsI1lyemOO4r51M/AdlT9G82qP2jwzHvq7zmiBZAqMqBEedzlxlC PoTsCYqsZnzLRV3zvejMkq8VPF4pUxEcNjoFo0XTwUVERV4EpzWD9UCIVW/MlV4OmwwV ogrZXAJ0UgkGG7YTSPlg5bywsI6d+uSsokolyTLd4a23q9iHbqCcO4cfmVFGjcdnjCzE Ucqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@veeam.com header.s=mx1-2022 header.b=oUI0x5Od; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=veeam.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ck17-20020a170906c45100b007832270e88fsi10945877ejb.681.2022.11.02.09.34.54; Wed, 02 Nov 2022 09:35:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@veeam.com header.s=mx1-2022 header.b=oUI0x5Od; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=veeam.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231871AbiKBQav (ORCPT + 99 others); Wed, 2 Nov 2022 12:30:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231629AbiKBQaR (ORCPT ); Wed, 2 Nov 2022 12:30:17 -0400 Received: from mx1.veeam.com (mx1.veeam.com [216.253.77.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89FD12D770; Wed, 2 Nov 2022 09:27:05 -0700 (PDT) Received: from mail.veeam.com (prgmbx01.amust.local [172.24.128.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.veeam.com (Postfix) with ESMTPS id B594741D5B; Wed, 2 Nov 2022 11:52:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=veeam.com; s=mx1-2022; t=1667404339; bh=4W3VeDIYvjIP23801X+hiRHil28EE436wuQcY+nCUu4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oUI0x5Od+jOFxaBa5v3WffUs7femEzK541UUraIJaerhHjRg1pXV6gURSKt4nB9q7 nJihwnu6NE3KTpEVbHiMWWwWh59SWk68Ni4r4CZdCyj/5SASe3H6Sx5XIBGoIJy32L IS0wcKv5KdkQOVe3UKWdsC04xQsqAX9oW/hrR8kijuxmBsLNJqaL5S1vkKMLyqub7J Ho8Muh/IGwf+Jzq9j8b9J0KXkVLowSxO4EhQ5U7ofKeJPdVbb2MfFO3IxHtIlC9gb3 Gu/pXmj+6KUvHWWi5mDdzaVSPFTICao3D5vRwH1wdHfnl4NjLXWRXnsTt6DwcdYA/M i57dcUMirgMzA== Received: from ssh-deb10-ssd-vb.amust.local (172.24.10.107) by prgmbx01.amust.local (172.24.128.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.12; Wed, 2 Nov 2022 16:51:42 +0100 From: Sergei Shtepa To: , , , , Subject: [PATCH v1 17/17] block, blksnap: adds a blksnap to the kernel tree Date: Wed, 2 Nov 2022 16:51:01 +0100 Message-ID: <20221102155101.4550-18-sergei.shtepa@veeam.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221102155101.4550-1-sergei.shtepa@veeam.com> References: <20221102155101.4550-1-sergei.shtepa@veeam.com> MIME-Version: 1.0 X-Originating-IP: [172.24.10.107] X-ClientProxiedBy: prgmbx02.amust.local (172.24.128.103) To prgmbx01.amust.local (172.24.128.102) X-EsetResult: clean, is OK X-EsetId: 37303A292403155666726A X-Veeam-MMEX: True X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748402878918646386?= X-GMAIL-MSGID: =?utf-8?q?1748402878918646386?= Signed-off-by: Sergei Shtepa --- drivers/block/Kconfig | 2 ++ drivers/block/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index db1b4b202646..882b3dd0264d 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -410,4 +410,6 @@ config BLK_DEV_UBLK source "drivers/block/rnbd/Kconfig" +source "drivers/block/blksnap/Kconfig" + endif # BLK_DEV diff --git a/drivers/block/Makefile b/drivers/block/Makefile index 101612cba303..8414c47960c2 100644 --- a/drivers/block/Makefile +++ b/drivers/block/Makefile @@ -40,3 +40,5 @@ obj-$(CONFIG_BLK_DEV_NULL_BLK) += null_blk/ obj-$(CONFIG_BLK_DEV_UBLK) += ublk_drv.o swim_mod-y := swim.o swim_asm.o + +obj-$(CONFIG_BLK_SNAP) += blksnap/