From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8197230212151000719==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [ammarfaizi2-block:dhowells/linux-fs/netfs-lib 20/24] fs/fscache/stats.c:100: undefined reference to `netfs_stats_show' Date: Tue, 18 Jan 2022 02:54:44 +0800 Message-ID: <202201180238.MoCstGyZ-lkp@intel.com> List-Id: --===============8197230212151000719== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-= lib head: 12617e48874cc7e301b04f65b22b762cca3aea01 commit: d775438577aaab8808eaf4cfb2963d941a439b8b [20/24] netfs, fscache: Ma= ke netfslib depend on fscache config: i386-randconfig-a013-20220117 (https://download.01.org/0day-ci/arch= ive/20220118/202201180238.MoCstGyZ-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/ammarfaizi2/linux-block/commit/d775438577aaab8= 808eaf4cfb2963d941a439b8b git remote add ammarfaizi2-block https://github.com/ammarfaizi2/lin= ux-block git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-lib git checkout d775438577aaab8808eaf4cfb2963d941a439b8b # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): ld: fs/fscache/stats.o: in function `fscache_stats_show': >> fs/fscache/stats.c:100: undefined reference to `netfs_stats_show' vim +100 fs/fscache/stats.c 8e7a867bb7309f David Howells 2021-10-20 51 = 1e1236b841166f David Howells 2021-10-20 52 /* 1e1236b841166f David Howells 2021-10-20 53 * display the general statis= tics 1e1236b841166f David Howells 2021-10-20 54 */ 1e1236b841166f David Howells 2021-10-20 55 int fscache_stats_show(struct= seq_file *m, void *v) 1e1236b841166f David Howells 2021-10-20 56 { 1e1236b841166f David Howells 2021-10-20 57 seq_puts(m, "FS-Cache statis= tics\n"); 7f3283aba39a0f David Howells 2021-10-20 58 seq_printf(m, "Cookies: n=3D= %d v=3D%d vcol=3D%u voom=3D%u\n", 7f3283aba39a0f David Howells 2021-10-20 59 atomic_read(&fscache_n_c= ookies), 62ab63352350e8 David Howells 2021-10-20 60 atomic_read(&fscache_n_v= olumes), 62ab63352350e8 David Howells 2021-10-20 61 atomic_read(&fscache_n_v= olumes_collision), 62ab63352350e8 David Howells 2021-10-20 62 atomic_read(&fscache_n_v= olumes_nomem) 62ab63352350e8 David Howells 2021-10-20 63 ); 1e1236b841166f David Howells 2021-10-20 64 = 7f3283aba39a0f David Howells 2021-10-20 65 seq_printf(m, "Acquire: n=3D= %u ok=3D%u oom=3D%u\n", 7f3283aba39a0f David Howells 2021-10-20 66 atomic_read(&fscache_n_a= cquires), 7f3283aba39a0f David Howells 2021-10-20 67 atomic_read(&fscache_n_a= cquires_ok), 7f3283aba39a0f David Howells 2021-10-20 68 atomic_read(&fscache_n_a= cquires_oom)); 7f3283aba39a0f David Howells 2021-10-20 69 = 12bb21a29c19aa David Howells 2021-10-20 70 seq_printf(m, "LRU : n=3D= %u exp=3D%u rmv=3D%u drp=3D%u at=3D%ld\n", 12bb21a29c19aa David Howells 2021-10-20 71 atomic_read(&fscache_n_c= ookies_lru), 12bb21a29c19aa David Howells 2021-10-20 72 atomic_read(&fscache_n_c= ookies_lru_expired), 12bb21a29c19aa David Howells 2021-10-20 73 atomic_read(&fscache_n_c= ookies_lru_removed), 12bb21a29c19aa David Howells 2021-10-20 74 atomic_read(&fscache_n_c= ookies_lru_dropped), 12bb21a29c19aa David Howells 2021-10-20 75 timer_pending(&fscache_c= ookie_lru_timer) ? 12bb21a29c19aa David Howells 2021-10-20 76 fscache_cookie_lru_timer= .expires - jiffies : 0); 12bb21a29c19aa David Howells 2021-10-20 77 = d24af13e2e2358 David Howells 2021-10-20 78 seq_printf(m, "Invals : n=3D= %u\n", d24af13e2e2358 David Howells 2021-10-20 79 atomic_read(&fscache_n_i= nvalidates)); d24af13e2e2358 David Howells 2021-10-20 80 = 16a96bdf92d5af David Howells 2021-10-20 81 seq_printf(m, "Updates: n=3D= %u rsz=3D%u rsn=3D%u\n", 16a96bdf92d5af David Howells 2021-10-20 82 atomic_read(&fscache_n_u= pdates), 16a96bdf92d5af David Howells 2021-10-20 83 atomic_read(&fscache_n_r= esizes), 16a96bdf92d5af David Howells 2021-10-20 84 atomic_read(&fscache_n_r= esizes_null)); 7f3283aba39a0f David Howells 2021-10-20 85 = 7f3283aba39a0f David Howells 2021-10-20 86 seq_printf(m, "Relinqs: n=3D= %u rtr=3D%u drop=3D%u\n", 7f3283aba39a0f David Howells 2021-10-20 87 atomic_read(&fscache_n_r= elinquishes), 7f3283aba39a0f David Howells 2021-10-20 88 atomic_read(&fscache_n_r= elinquishes_retire), 7f3283aba39a0f David Howells 2021-10-20 89 atomic_read(&fscache_n_r= elinquishes_dropped)); 7f3283aba39a0f David Howells 2021-10-20 90 = 9f08ebc3438baa David Howells 2021-10-22 91 seq_printf(m, "NoSpace: nwr= =3D%u ncr=3D%u cull=3D%u\n", 3929eca769b5a2 David Howells 2021-10-21 92 atomic_read(&fscache_n_n= o_write_space), 9f08ebc3438baa David Howells 2021-10-22 93 atomic_read(&fscache_n_n= o_create_space), 9f08ebc3438baa David Howells 2021-10-22 94 atomic_read(&fscache_n_c= ulled)); 3929eca769b5a2 David Howells 2021-10-21 95 = 8e7a867bb7309f David Howells 2021-10-20 96 seq_printf(m, "IO : rd= =3D%u wr=3D%u\n", 8e7a867bb7309f David Howells 2021-10-20 97 atomic_read(&fscache_n_r= ead), 8e7a867bb7309f David Howells 2021-10-20 98 atomic_read(&fscache_n_w= rite)); 8e7a867bb7309f David Howells 2021-10-20 99 = 1e1236b841166f David Howells 2021-10-20 @100 netfs_stats_show(m); :::::: The code at line 100 was first introduced by commit :::::: 1e1236b841166f1d2daf36fdf6bb3e656bc5f5ca fscache: Introduce new driv= er :::::: TO: David Howells :::::: CC: David Howells --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8197230212151000719==-- 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15AC6C433F5 for ; Mon, 17 Jan 2022 18:56:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242973AbiAQSz5 (ORCPT ); Mon, 17 Jan 2022 13:55:57 -0500 Received: from mga14.intel.com ([192.55.52.115]:4516 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242539AbiAQSzr (ORCPT ); Mon, 17 Jan 2022 13:55:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642445747; x=1673981747; h=date:from:to:cc:subject:message-id:mime-version; bh=4IVBn3VBpSTCwm/PlAbYzceTp9lxnrViHwu6vuzhxp0=; b=i0+YVzAOO6jWxcOb+adWoaLmY/OXq9oiNvdpSQ7H7fPBRmK1BgD0Sh4o bzy90kx1+ixXF0a4wtQzBB6+ql3MmfWNzujB3AdG8E/Gw8c1/HchT9YmO GP8AS/JgIX+5/v8NsQgBbOb4k7NZI+41z2eXsdwMPYgnd783bxttu9vfR iRLhmHcw1CAimEwTQDeSaJjI7nHf1MAfvC4ptO1LMHXD6W8ulUQoS1Wmc v8FS4GZ/3iSA4bX23ltTH9/97/tffB1LTim602DL3Wt3DDjDu9I7eu3gm NAu2ePby4XCOIY8sXOnifU10x0VMkpukC6npmjPGfefDzOQ7MiITq3npx A==; X-IronPort-AV: E=McAfee;i="6200,9189,10230"; a="244874921" X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="244874921" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2022 10:55:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="560440123" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 17 Jan 2022 10:55:45 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n9XAO-000Bmf-O6; Mon, 17 Jan 2022 18:55:44 +0000 Date: Tue, 18 Jan 2022 02:54:44 +0800 From: kernel test robot To: David Howells Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:dhowells/linux-fs/netfs-lib 20/24] fs/fscache/stats.c:100: undefined reference to `netfs_stats_show' Message-ID: <202201180238.MoCstGyZ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-lib head: 12617e48874cc7e301b04f65b22b762cca3aea01 commit: d775438577aaab8808eaf4cfb2963d941a439b8b [20/24] netfs, fscache: Make netfslib depend on fscache config: i386-randconfig-a013-20220117 (https://download.01.org/0day-ci/archive/20220118/202201180238.MoCstGyZ-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/d775438577aaab8808eaf4cfb2963d941a439b8b git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-lib git checkout d775438577aaab8808eaf4cfb2963d941a439b8b # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 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 >>): ld: fs/fscache/stats.o: in function `fscache_stats_show': >> fs/fscache/stats.c:100: undefined reference to `netfs_stats_show' vim +100 fs/fscache/stats.c 8e7a867bb7309f David Howells 2021-10-20 51 1e1236b841166f David Howells 2021-10-20 52 /* 1e1236b841166f David Howells 2021-10-20 53 * display the general statistics 1e1236b841166f David Howells 2021-10-20 54 */ 1e1236b841166f David Howells 2021-10-20 55 int fscache_stats_show(struct seq_file *m, void *v) 1e1236b841166f David Howells 2021-10-20 56 { 1e1236b841166f David Howells 2021-10-20 57 seq_puts(m, "FS-Cache statistics\n"); 7f3283aba39a0f David Howells 2021-10-20 58 seq_printf(m, "Cookies: n=%d v=%d vcol=%u voom=%u\n", 7f3283aba39a0f David Howells 2021-10-20 59 atomic_read(&fscache_n_cookies), 62ab63352350e8 David Howells 2021-10-20 60 atomic_read(&fscache_n_volumes), 62ab63352350e8 David Howells 2021-10-20 61 atomic_read(&fscache_n_volumes_collision), 62ab63352350e8 David Howells 2021-10-20 62 atomic_read(&fscache_n_volumes_nomem) 62ab63352350e8 David Howells 2021-10-20 63 ); 1e1236b841166f David Howells 2021-10-20 64 7f3283aba39a0f David Howells 2021-10-20 65 seq_printf(m, "Acquire: n=%u ok=%u oom=%u\n", 7f3283aba39a0f David Howells 2021-10-20 66 atomic_read(&fscache_n_acquires), 7f3283aba39a0f David Howells 2021-10-20 67 atomic_read(&fscache_n_acquires_ok), 7f3283aba39a0f David Howells 2021-10-20 68 atomic_read(&fscache_n_acquires_oom)); 7f3283aba39a0f David Howells 2021-10-20 69 12bb21a29c19aa David Howells 2021-10-20 70 seq_printf(m, "LRU : n=%u exp=%u rmv=%u drp=%u at=%ld\n", 12bb21a29c19aa David Howells 2021-10-20 71 atomic_read(&fscache_n_cookies_lru), 12bb21a29c19aa David Howells 2021-10-20 72 atomic_read(&fscache_n_cookies_lru_expired), 12bb21a29c19aa David Howells 2021-10-20 73 atomic_read(&fscache_n_cookies_lru_removed), 12bb21a29c19aa David Howells 2021-10-20 74 atomic_read(&fscache_n_cookies_lru_dropped), 12bb21a29c19aa David Howells 2021-10-20 75 timer_pending(&fscache_cookie_lru_timer) ? 12bb21a29c19aa David Howells 2021-10-20 76 fscache_cookie_lru_timer.expires - jiffies : 0); 12bb21a29c19aa David Howells 2021-10-20 77 d24af13e2e2358 David Howells 2021-10-20 78 seq_printf(m, "Invals : n=%u\n", d24af13e2e2358 David Howells 2021-10-20 79 atomic_read(&fscache_n_invalidates)); d24af13e2e2358 David Howells 2021-10-20 80 16a96bdf92d5af David Howells 2021-10-20 81 seq_printf(m, "Updates: n=%u rsz=%u rsn=%u\n", 16a96bdf92d5af David Howells 2021-10-20 82 atomic_read(&fscache_n_updates), 16a96bdf92d5af David Howells 2021-10-20 83 atomic_read(&fscache_n_resizes), 16a96bdf92d5af David Howells 2021-10-20 84 atomic_read(&fscache_n_resizes_null)); 7f3283aba39a0f David Howells 2021-10-20 85 7f3283aba39a0f David Howells 2021-10-20 86 seq_printf(m, "Relinqs: n=%u rtr=%u drop=%u\n", 7f3283aba39a0f David Howells 2021-10-20 87 atomic_read(&fscache_n_relinquishes), 7f3283aba39a0f David Howells 2021-10-20 88 atomic_read(&fscache_n_relinquishes_retire), 7f3283aba39a0f David Howells 2021-10-20 89 atomic_read(&fscache_n_relinquishes_dropped)); 7f3283aba39a0f David Howells 2021-10-20 90 9f08ebc3438baa David Howells 2021-10-22 91 seq_printf(m, "NoSpace: nwr=%u ncr=%u cull=%u\n", 3929eca769b5a2 David Howells 2021-10-21 92 atomic_read(&fscache_n_no_write_space), 9f08ebc3438baa David Howells 2021-10-22 93 atomic_read(&fscache_n_no_create_space), 9f08ebc3438baa David Howells 2021-10-22 94 atomic_read(&fscache_n_culled)); 3929eca769b5a2 David Howells 2021-10-21 95 8e7a867bb7309f David Howells 2021-10-20 96 seq_printf(m, "IO : rd=%u wr=%u\n", 8e7a867bb7309f David Howells 2021-10-20 97 atomic_read(&fscache_n_read), 8e7a867bb7309f David Howells 2021-10-20 98 atomic_read(&fscache_n_write)); 8e7a867bb7309f David Howells 2021-10-20 99 1e1236b841166f David Howells 2021-10-20 @100 netfs_stats_show(m); :::::: The code at line 100 was first introduced by commit :::::: 1e1236b841166f1d2daf36fdf6bb3e656bc5f5ca fscache: Introduce new driver :::::: TO: David Howells :::::: CC: David Howells --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org