Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp622126lfv; Tue, 12 Apr 2022 00:17:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyQ2kbrENQvtX34bXvFbc/J4SXTFCG3RSwLOQHLg6sD7nA0zmbUvOKrKzMRu3n+UX4o4Mc X-Received: by 2002:a17:906:58d2:b0:6da:b635:fbf3 with SMTP id e18-20020a17090658d200b006dab635fbf3mr32387067ejs.40.1649747843336; Tue, 12 Apr 2022 00:17:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649747843; cv=none; d=google.com; s=arc-20160816; b=bJX6QBf0Ev7e5sq2YIsGU3RpVxASEcdRlwK1lZ93pNaysd52CMSMSuOQlLTxKg0Bgt XiIAo8Lgu28DUjq9e9wxKQiWgf4hdLm0y/a5qWPObvP7UoyFMzeHw/wdk5zBY7c2dkob ImXQZwQJH8Zg7zqHo8vFTw4/Y626qSg/gpuNcJz65l4D8NdX9YC5Lhj8xI7o/6ZEIkU0 nKv5BZc1XYyBYuPgrye0sDenOshFqjHms946TFLFbgagxC+B8yrQzf9FTRfG1SeXH+KL lJWJ/y1fZrURom1mChsX97Rxj3WSJJA5PK+5WjxHyTHEJOiDDHvidmJqAuZY3b5Wvfyp BkOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EY8R4xTfRHgj/lWVnYWKbWI1+RXmsjqUdkY2tPKY5rU=; b=mUV+EmC8Ml15j9sJ5X0IcvY4iBmm63UkcC7ekT/FkfHFgw27151mHDnPJYItGXGPEN uI3NDiQENGngQsOvp5LCLmkmDGzjZ8MCSEAeiUU2NN5L5CJApigF3nPtUuZBjnw+2Tt3 CTPL9/oEFA5/TtDWrkmUy8G233vdW1NYiZuu0U0FwJd0Nhs15dsgO+YahTHtQcQHGILD P5MFBbmgbinpFO5RmP38pnXKq3OPFYWXHhGlJcFfBa7EE/I6Tz2E1ldG7zsgl+6jpyCX pUtMu98Tg6KxdDOhEOS9mxQ6aAkVxhb6aX+927Q0Tc6j+H9+7SOAL81MGlsHuMaOOuTl iKGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dcFNJkRO; 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 fx14-20020a170906b74e00b006e03cb5bebdsi7488703ejb.753.2022.04.12.00.16.58; Tue, 12 Apr 2022 00:17:23 -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=dcFNJkRO; 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 S234862AbiDJTAc (ORCPT + 99 others); Sun, 10 Apr 2022 15:00:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbiDJTAa (ORCPT ); Sun, 10 Apr 2022 15:00:30 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 508A3473AC; Sun, 10 Apr 2022 11:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649617098; x=1681153098; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IdHg/Ig/+ixkBlzgiOkyOvi9xgI0/Xn8sOZpY2V2oac=; b=dcFNJkROxLaUUQVibVXL2Os1iUj1/JnYavA3BZRvUmxVaYBUItB7FanN xnSjK+SVhkMCxGOgmIkEW18A8ICPd/25rVO5Mbnib3zTyhZbSHVH0oAtF w7g7KuZYK7yv+TcJqbk5bj76udG5Hr9BWTxjPZBqiD78RCBKWFjYJ52Qp xztzSmCq/cbiGQBI8SwefTB0Fio/r8+CyPfanVADd7FjVRkzi7YBcgick cP0yy3eR+BXjhv1MrezMgo+Is9G3MOALySHhzrYFvoFEAmYsz++Hfy5tw aReCaTqcyOHZlqpKwjrheQfSbSvi0viYSzKIq0UygeUf3TjMBKSUqDASB g==; X-IronPort-AV: E=McAfee;i="6400,9594,10313"; a="243873377" X-IronPort-AV: E=Sophos;i="5.90,250,1643702400"; d="scan'208";a="243873377" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.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) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 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