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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5C998C64EC7 for ; Mon, 20 Feb 2023 15:47:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4SYiuIkDSPFx75kYRTrc8QeJzcjC5xE+AZvenLWEuWQ=; b=4ggAeA3HbsggPpHoiDnUsemgcv DXUPbQeM4jAQWd+cCcCK1rxh5Rt7r8aSG4Pg5UI/ePKJpWrLJLak+UGiHfreGfSgRURzgfZ0pY8CJ h9nC2cjFyjuGseMHY/FbggBKoHYzjihC4OMw1wZZwYO8GclVxFaLYhWSdflN1Ino7Scyg35YBXUkP Dxyl9DqnaUKtkvcEewfWilw4kDgvnQMnkl3+xRRQlVR68BPq6mIETaF1gkYOGM3/wua8xMRgqkDqC MR783MWrefLgeAN5IWDAnurjmYFscKkt5kZSxDr46vB5fQ2TP2LfuDNE571UIigbJNSjVfSuGK/TI pzmqeBhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pU8Nz-004kKU-M4; Mon, 20 Feb 2023 15:47:27 +0000 Received: from mga04.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pU7w0-004VxG-Af for linux-nvme@lists.infradead.org; Mon, 20 Feb 2023 15:18:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676906312; x=1708442312; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=daUuz6PCkNi/Pv0EW1m00p8WjYzG3GsLrXsE65CvLaI=; b=AaC+CVABvN4NE/SybfTKkInhgMK3Q9bY5Uzdkbl82R5+3Nahd/sQNlP8 u8LquHcjZleCPX5McNA/hJa4P8bUI3gj5nO6+F+YcwS7nG9ZK/0kDaJ40 1hYGgNYDAyyy8eyrRagMCMkMTdlk3biqrs9tyQ85Fz3qfVsIJ+zXu/mIR HvIUjapwztht8Dv6bdrBGpNHqA2cLeyk3tCnmYGYvN76XNkF7Tq90iyNc Vx3US8qQ194oQVHTr4ejVhfqFDIgnTivYYTz/m83IiNoL3+dXNb6M45t5 /EYWSbxV4VehLoG8zb8phIy2p1JWxdGJpJUeLcv7nQUI5NRSAxtNHiL4+ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10627"; a="331087855" X-IronPort-AV: E=Sophos;i="5.97,312,1669104000"; d="scan'208";a="331087855" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2023 07:18:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10627"; a="814167593" X-IronPort-AV: E=Sophos;i="5.97,312,1669104000"; d="scan'208";a="814167593" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 20 Feb 2023 07:18:21 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pU7vo-000E13-1K; Mon, 20 Feb 2023 15:18:20 +0000 Date: Mon, 20 Feb 2023 23:18:00 +0800 From: kernel test robot To: Nitesh Shetty , Jens Axboe , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Keith Busch , Christoph Hellwig , Sagi Grimberg , James Smart , Chaitanya Kulkarni , Alexander Viro Cc: oe-kbuild-all@lists.linux.dev, bvanassche@acm.org, hare@suse.de, ming.lei@redhat.com, damien.lemoal@opensource.wdc.com, anuj20.g@samsung.com, joshi.k@samsung.com, nitheshshetty@gmail.com, gost.dev@samsung.com, Nitesh Shetty , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v7 4/8] fs, block: copy_file_range for def_blk_ops for direct block device. Message-ID: <202302202321.zfUe705N-lkp@intel.com> References: <20230220105336.3810-5-nj.shetty@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230220105336.3810-5-nj.shetty@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230220_071832_498750_F534F2BE X-CRM114-Status: GOOD ( 15.61 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org Hi Nitesh, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on device-mapper-dm/for-next] [also build test WARNING on linus/master v6.2 next-20230220] [cannot apply to axboe-block/for-next] [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/Nitesh-Shetty/block-Add-copy-offload-support-infrastructure/20230220-205057 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next patch link: https://lore.kernel.org/r/20230220105336.3810-5-nj.shetty%40samsung.com patch subject: [PATCH v7 4/8] fs, block: copy_file_range for def_blk_ops for direct block device. config: powerpc-allnoconfig (https://download.01.org/0day-ci/archive/20230220/202302202321.zfUe705N-lkp@intel.com/config) compiler: powerpc-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/0f95ad2cb727ac6ac8406a01ff216d9237b403b7 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Nitesh-Shetty/block-Add-copy-offload-support-infrastructure/20230220-205057 git checkout 0f95ad2cb727ac6ac8406a01ff216d9237b403b7 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302202321.zfUe705N-lkp@intel.com/ All warnings (new ones prefixed by >>): >> block/fops.c:614:9: warning: no previous prototype for 'blkdev_copy_file_range' [-Wmissing-prototypes] 614 | ssize_t blkdev_copy_file_range(struct file *file_in, loff_t pos_in, | ^~~~~~~~~~~~~~~~~~~~~~ vim +/blkdev_copy_file_range +614 block/fops.c 613 > 614 ssize_t blkdev_copy_file_range(struct file *file_in, loff_t pos_in, 615 struct file *file_out, loff_t pos_out, 616 size_t len, unsigned int flags) 617 { 618 struct block_device *in_bdev = I_BDEV(bdev_file_inode(file_in)); 619 struct block_device *out_bdev = I_BDEV(bdev_file_inode(file_out)); 620 int comp_len; 621 622 comp_len = blkdev_copy_offload(in_bdev, pos_in, out_bdev, pos_out, len, 623 NULL, NULL, GFP_KERNEL); 624 if (comp_len != len) 625 comp_len = generic_copy_file_range(file_in, pos_in + comp_len, 626 file_out, pos_out + comp_len, len - comp_len, flags); 627 628 return comp_len; 629 } 630 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests