Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2116299rwr; Fri, 28 Apr 2023 06:27:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6bkjXaFFRg9VUPaXiTHU2IwvgMUcBNkU999NcLhf8LnVoPe2XbqNGNhNuorqnlJmsWlEbS X-Received: by 2002:a17:902:9046:b0:1a0:422f:39d9 with SMTP id w6-20020a170902904600b001a0422f39d9mr4750117plz.39.1682688447150; Fri, 28 Apr 2023 06:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682688447; cv=none; d=google.com; s=arc-20160816; b=fzaf2SNm2QDrFnWA1LpvDaIH0jtle3vlpyDUBRuH8JQGCLHKrsoYhDXatuTOm8azKq E6ZwWuAcyfl34UL2d+rAZ35ZzVe5UDU4IkNwegVOXgihVZkGo+okIG0x3TV+TmX6mlc5 YZXTqIpNQfaM8A4zSGOrXlrYLEmMfHXjm+dyEDsnCgStV3IPcNvjgkupSd62/SwX2qXi HFS4SGL2bUSwiLjc+p+ypqv93Wa12O4jiMkoQmzJmt/zeNAst/bs2SHsRTeFXLFB5m2f oAL1I3nhSXgW6O+bMnio5moP1NhQsUcesLDMeibZpeeT4A7G3rrSvHTlI8L1ttGMGIiq 5Q6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gyw6c5NXaMxV6+l+bCkRTryCrhVpO/xKUe1tEPi9Gx4=; b=eJgvY+xvo95W2onz42Ulgkn4Iu4jufWUWLnTQXYGy0W0Dr3CoWWovv80jGcC3DiDaJ 6/lHJKaTApO2CAN3NW2eSq2S5MYXRkmqsYKTu9QQqP/TQoQ5IfVskCbJ5WNhpIVeNlIG dcMn/qQWpc3uTL5uFVOZwmgJGZJAdEEYfFb4GwiwE9wisUjXQ3LKvdkI49bqCz5MsMbe 16wUDSKdFCDdN3QjLnbSJKxQoh/JzT0XToD6oKxkGnTPItntifRbvDjET8WMubpamle/ NQw/JYr/ywsAV5AqnaCqwsIpTZe2hEcR3Fx3gNRyoEks3+fFELe2n+jFuQ5p2m85x/tl nzmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ByAzJ1VA; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w11-20020a170902c78b00b001a6bc44b85csi19353759pla.7.2023.04.28.06.27.13; Fri, 28 Apr 2023 06:27:27 -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=@intel.com header.s=Intel header.b=ByAzJ1VA; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346242AbjD1NY6 (ORCPT + 99 others); Fri, 28 Apr 2023 09:24:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229835AbjD1NY5 (ORCPT ); Fri, 28 Apr 2023 09:24:57 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C4CF2735; Fri, 28 Apr 2023 06:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682688278; x=1714224278; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=oB6VWPH6ulg8K295XZM6A23hQpKHxYtitORTOenls3A=; b=ByAzJ1VAV7m1TAx4GZ7ZsnTyMIyPSsS9/JdbmoSn4Y7MPVh5dNf8TAze sFYS3ghv6FSE2IWCP9RjyFGiqInBoVzWOlYyG/H1oIT2bnjjsmb2iEtnc Un1KjndOsn5gA7xrrl6RUB67KhiFi9pVceLCF9coD2z4QmaNaiSXiQJwv jhJ2XM8ljp/4gK0cJiJSkQks/IfWW/l3XK4SWNL3VkBJo83EnF6njR2dV Qq0FvOaj+mn20ZdcpGE+WvLG3figdO8q/3CC3hiiJwGAVxO20BODoKug4 Jq9L+kpZQ79p5ZfyxWyW3rTf01TYipfYUVK3iQN/5dZKyHt+bL/Q1bwD1 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10694"; a="347769127" X-IronPort-AV: E=Sophos;i="5.99,234,1677571200"; d="scan'208";a="347769127" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2023 06:24:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10694"; a="819010528" X-IronPort-AV: E=Sophos;i="5.99,234,1677571200"; d="scan'208";a="819010528" Received: from lkp-server01.sh.intel.com (HELO 5bad9d2b7fcb) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 28 Apr 2023 06:24:34 -0700 Received: from kbuild by 5bad9d2b7fcb with local (Exim 4.96) (envelope-from ) id 1psO5R-0000SF-10; Fri, 28 Apr 2023 13:24:33 +0000 Date: Fri, 28 Apr 2023 21:24:18 +0800 From: kernel test robot To: Daejun Park , "jaegeuk@kernel.org" , "chao@kernel.org" , "rostedt@goodmis.org" , "mhiramat@kernel.org" , "linux-f2fs-devel@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , "linux-trace-kernel@vger.kernel.org" Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Seokhwan Kim , Yonggil Song , beomsu kim , Daejun Park Subject: Re: [PATCH v3] f2fs: add async reset zone command support Message-ID: <202304282103.nYW33DnO-lkp@intel.com> References: <20230428025646epcms2p35acbea45ee80d36808861edba8a3c84a@epcms2p3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230428025646epcms2p35acbea45ee80d36808861edba8a3c84a@epcms2p3> X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Daejun, kernel test robot noticed the following build errors: [auto build test ERROR on jaegeuk-f2fs/dev-test] [also build test ERROR on jaegeuk-f2fs/dev linus/master next-20230427] [cannot apply to v6.3] [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/Daejun-Park/f2fs-add-async-reset-zone-command-support/20230428-105944 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test patch link: https://lore.kernel.org/r/20230428025646epcms2p35acbea45ee80d36808861edba8a3c84a%40epcms2p3 patch subject: [PATCH v3] f2fs: add async reset zone command support config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20230428/202304282103.nYW33DnO-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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/2f3e641e3de509a5ed879fb10fdf3377fd9ca0d9 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Daejun-Park/f2fs-add-async-reset-zone-command-support/20230428-105944 git checkout 2f3e641e3de509a5ed879fb10fdf3377fd9ca0d9 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash fs/f2fs/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304282103.nYW33DnO-lkp@intel.com/ All errors (new ones prefixed by >>): >> fs/f2fs/segment.c:1789:5: error: implicit declaration of function '__submit_zone_reset_cmd' is invalid in C99 [-Werror,-Wimplicit-function-declaration] __submit_zone_reset_cmd(sbi, dc, REQ_SYNC, ^ 1 error generated. vim +/__submit_zone_reset_cmd +1789 fs/f2fs/segment.c 1775 1776 /* This should be covered by global mutex, &sit_i->sentry_lock */ 1777 static void f2fs_wait_discard_bio(struct f2fs_sb_info *sbi, block_t blkaddr) 1778 { 1779 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; 1780 struct discard_cmd *dc; 1781 bool need_wait = false; 1782 1783 mutex_lock(&dcc->cmd_lock); 1784 dc = __lookup_discard_cmd(sbi, blkaddr); 1785 if (dc) { 1786 if (f2fs_sb_has_blkzoned(sbi) && bdev_is_zoned(dc->bdev)) { 1787 /* force submit zone reset */ 1788 if (dc->state == D_PREP) > 1789 __submit_zone_reset_cmd(sbi, dc, REQ_SYNC, 1790 &dcc->wait_list, NULL); 1791 dc->ref++; 1792 need_wait = true; 1793 } else { 1794 if (dc->state == D_PREP) { 1795 __punch_discard_cmd(sbi, dc, blkaddr); 1796 } else { 1797 dc->ref++; 1798 need_wait = true; 1799 } 1800 } 1801 } 1802 mutex_unlock(&dcc->cmd_lock); 1803 1804 if (need_wait) 1805 __wait_one_discard_bio(sbi, dc); 1806 } 1807 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests