Message ID | 20221102155101.4550-18-sergei.shtepa@veeam.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> 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 <rfc822;yves.mi.zy@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <sergei.shtepa@veeam.com> To: <axboe@kernel.dk>, <linux-block@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <hch@infradead.org>, <sergei.shtepa@veeam.com> 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: <linux-kernel.vger.kernel.org> 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?= |
Series |
blksnap - creating non-persistent snapshots for backup
|
|
Commit Message
Sergei Shtepa
Nov. 2, 2022, 3:51 p.m. UTC
Signed-off-by: Sergei Shtepa <sergei.shtepa@veeam.com>
---
drivers/block/Kconfig | 2 ++
drivers/block/Makefile | 2 ++
2 files changed, 4 insertions(+)
Comments
Hi Sergei, Thank you for the patch! Yet something to improve: [auto build test ERROR on axboe-block/for-next] [also build test ERROR on linus/master v6.1-rc3 next-20221102] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Sergei-Shtepa/blksnap-creating-non-persistent-snapshots-for-backup/20221103-004434 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next patch link: https://lore.kernel.org/r/20221102155101.4550-18-sergei.shtepa%40veeam.com patch subject: [PATCH v1 17/17] block, blksnap: adds a blksnap to the kernel tree config: csky-randconfig-c033-20221103 compiler: csky-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/b9fa151bb0035ff8a24621ba486011660510dc45 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Sergei-Shtepa/blksnap-creating-non-persistent-snapshots-for-backup/20221103-004434 git checkout b9fa151bb0035ff8a24621ba486011660510dc45 # save the config file COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 ARCH=csky If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): csky-linux-ld: csky-linux-ld: DWARF error: could not find abbrev number 3562 drivers/block/blksnap/sysfs.o: in function `sysfs_init': >> sysfs.c:(.text+0x78): multiple definition of `sysfs_init'; csky-linux-ld: DWARF error: could not find abbrev number 49 fs/sysfs/mount.o:mount.c:(.init.text+0x0): first defined here cocci warnings: (new ones prefixed by >>) >> drivers/block/blksnap/diff_area.c:223:9-16: WARNING: ERR_CAST can be used with bdev -- >> drivers/block/blksnap/tracker.c:422:9-16: WARNING: ERR_CAST can be used with bdev -- >> drivers/block/blksnap/ctrl.c:290:8-15: WARNING opportunity for memdup_user -- >> drivers/block/blksnap/snapimage.c:115:2-3: Unneeded semicolon
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/