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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6979DC433F5 for ; Sun, 10 Apr 2022 18:58:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 68C9F6B0071; Sun, 10 Apr 2022 14:58:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 63C026B0073; Sun, 10 Apr 2022 14:58:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 503496B0074; Sun, 10 Apr 2022 14:58:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0044.hostedemail.com [216.40.44.44]) by kanga.kvack.org (Postfix) with ESMTP id 401046B0071 for ; Sun, 10 Apr 2022 14:58:21 -0400 (EDT) Received: from smtpin31.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id D08F8183BFAAF for ; Sun, 10 Apr 2022 18:58:20 +0000 (UTC) X-FDA: 79341879960.31.A9968DE Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf12.hostedemail.com (Postfix) with ESMTP id AE32440004 for ; Sun, 10 Apr 2022 18:58:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649617099; x=1681153099; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IdHg/Ig/+ixkBlzgiOkyOvi9xgI0/Xn8sOZpY2V2oac=; b=CV4I2SfEf9bgfl6lm9VdAM45YhWOMzyOoW4PagJH5xd237nsf2YRrWxZ 5mJ/wCOnebZTayeutz001VZeLCnj0Ecsta+Utm3/Vw95P3SzpozThsSsJ Cl7rZiKJyQNI5QXzG/prodAuYjZStpOGDtGqdxDQaYJx6co4idCDZ5rgM zvkDgJ6Y3WUpGS6KkVao+gzX+HJkoo6B+MTOBXmi4GUBb+ZqV/cqkXsyM kv3XfT3qwNcdEnupy+2Aq9Uw4N1NiCg7I0I328Rz3JpFuEhUTY6BL+BfS M3OdG8BYvEZdYbikW5e4iB7a2Ckd9Ol0duLusk0Lbn/hix52Ax2fj3nho A==; X-IronPort-AV: E=McAfee;i="6400,9594,10313"; a="261428022" X-IronPort-AV: E=Sophos;i="5.90,250,1643702400"; d="scan'208";a="261428022" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2022 11:58:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,250,1643702400"; d="scan'208";a="643813247" Received: from lkp-server02.sh.intel.com (HELO d3fc50ef50de) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 10 Apr 2022 11:58:14 -0700 Received: from kbuild by d3fc50ef50de with local (Exim 4.95) (envelope-from ) id 1ndclJ-00012d-Um; Sun, 10 Apr 2022 18:58:13 +0000 Date: Mon, 11 Apr 2022 02:58:09 +0800 From: kernel test robot To: Shiyang Ruan , linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, nvdimm@lists.linux.dev, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Cc: kbuild-all@lists.01.org, djwong@kernel.org, dan.j.williams@intel.com, david@fromorbit.com, hch@infradead.org, jane.chu@oracle.com Subject: Re: [PATCH v12 6/7] xfs: Implement ->notify_failure() for XFS Message-ID: <202204110240.oa3G7lsW-lkp@intel.com> References: <20220410160904.3758789-7-ruansy.fnst@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220410160904.3758789-7-ruansy.fnst@fujitsu.com> User-Agent: Mutt/1.10.1 (2018-07-13) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=CV4I2SfE; spf=none (imf12.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.24) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: 3ww87q8jhwpum6r98dszzachnap6pgth X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: AE32440004 X-HE-Tag: 1649617099-167052 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Shiyang, Thank you for the patch! Yet something to improve: [auto build test ERROR on hnaz-mm/master] [also build test ERROR on next-20220408] [cannot apply to xfs-linux/for-next linus/master linux/master v5.18-rc1] [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] url: https://github.com/intel-lab-lkp/linux/commits/Shiyang-Ruan/fsdax-introduce-fs-query-to-support-reflink/20220411-001048 base: https://github.com/hnaz/linux-mm master config: s390-defconfig (https://download.01.org/0day-ci/archive/20220411/202204110240.oa3G7lsW-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 11.2.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/bf68be0c39b8ecc4223b948a9ee126af167d74f0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Shiyang-Ruan/fsdax-introduce-fs-query-to-support-reflink/20220411-001048 git checkout bf68be0c39b8ecc4223b948a9ee126af167d74f0 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): s390-linux-ld: fs/xfs/xfs_buf.o: in function `xfs_alloc_buftarg': >> fs/xfs/xfs_buf.c:1968: undefined reference to `xfs_dax_holder_operations' pahole: .tmp_vmlinux.btf: No such file or directory .btf.vmlinux.bin.o: file not recognized: file format not recognized vim +1968 fs/xfs/xfs_buf.c 1955 1956 struct xfs_buftarg * 1957 xfs_alloc_buftarg( 1958 struct xfs_mount *mp, 1959 struct block_device *bdev) 1960 { 1961 xfs_buftarg_t *btp; 1962 1963 btp = kmem_zalloc(sizeof(*btp), KM_NOFS); 1964 1965 btp->bt_mount = mp; 1966 btp->bt_dev = bdev->bd_dev; 1967 btp->bt_bdev = bdev; > 1968 btp->bt_daxdev = fs_dax_get_by_bdev(bdev, &btp->bt_dax_part_off, mp, 1969 &xfs_dax_holder_operations); 1970 1971 /* 1972 * Buffer IO error rate limiting. Limit it to no more than 10 messages 1973 * per 30 seconds so as to not spam logs too much on repeated errors. 1974 */ 1975 ratelimit_state_init(&btp->bt_ioerror_rl, 30 * HZ, 1976 DEFAULT_RATELIMIT_BURST); 1977 1978 if (xfs_setsize_buftarg_early(btp, bdev)) 1979 goto error_free; 1980 1981 if (list_lru_init(&btp->bt_lru)) 1982 goto error_free; 1983 1984 if (percpu_counter_init(&btp->bt_io_count, 0, GFP_KERNEL)) 1985 goto error_lru; 1986 1987 btp->bt_shrinker.count_objects = xfs_buftarg_shrink_count; 1988 btp->bt_shrinker.scan_objects = xfs_buftarg_shrink_scan; 1989 btp->bt_shrinker.seeks = DEFAULT_SEEKS; 1990 btp->bt_shrinker.flags = SHRINKER_NUMA_AWARE; 1991 if (register_shrinker(&btp->bt_shrinker)) 1992 goto error_pcpu; 1993 return btp; 1994 1995 error_pcpu: 1996 percpu_counter_destroy(&btp->bt_io_count); 1997 error_lru: 1998 list_lru_destroy(&btp->bt_lru); 1999 error_free: 2000 kmem_free(btp); 2001 return NULL; 2002 } 2003 -- 0-DAY CI Kernel Test Service https://01.org/lkp