All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
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	[thread overview]
Message-ID: <202201180238.MoCstGyZ-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5589 bytes --]

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(a)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 <lkp@intel.com>

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 <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List <gwml@gnuweeb.org>,
	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'
Date: Tue, 18 Jan 2022 02:54:44 +0800	[thread overview]
Message-ID: <202201180238.MoCstGyZ-lkp@intel.com> (raw)

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 <lkp@intel.com>

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 <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

             reply	other threads:[~2022-01-17 18:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17 18:54 kernel test robot [this message]
2022-01-17 18:54 ` [ammarfaizi2-block:dhowells/linux-fs/netfs-lib 20/24] fs/fscache/stats.c:100: undefined reference to `netfs_stats_show' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201180238.MoCstGyZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.