[ceph-client:testing 49/53] fs/ceph/debugfs.c:140: undefined reference to `__divdi3'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://github.com/ceph/ceph-client.git testing
head:   3188fc411f0c286ac4dc4ea146ddc4bf4f348b39
commit: dc1961a859fe49cad7a26001bd3e9a53f234bf59 [49/53] ceph: add global read latency metric support
config: i386-randconfig-e002-20200317 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout dc1961a859fe49cad7a26001bd3e9a53f234bf59
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   ld: fs/ceph/debugfs.o: in function `metric_show':
>> fs/ceph/debugfs.c:140: undefined reference to `__divdi3'

vim +140 fs/ceph/debugfs.c

   126	
   127	static int metric_show(struct seq_file *s, void *p)
   128	{
   129		struct ceph_fs_client *fsc = s->private;
   130		struct ceph_mds_client *mdsc = fsc->mdsc;
   131		int i, nr_caps = 0;
   132		s64 total, sum, avg = 0;
   133	
   134		seq_printf(s, "item          total       sum_lat(us)     avg_lat(us)\n");
   135		seq_printf(s, "-----------------------------------------------------\n");
   136	
   137		total = percpu_counter_sum(&mdsc->metric.total_reads);
   138		sum = percpu_counter_sum(&mdsc->metric.read_latency_sum);
   139		sum = jiffies_to_usecs(sum);
 > 140		avg = total ? sum / total : 0;
   141		seq_printf(s, "%-14s%-12lld%-16lld%lld\n", "read", total, sum, avg);
   142	
   143		seq_printf(s, "\n");
   144		seq_printf(s, "item          total           miss            hit\n");
   145		seq_printf(s, "-------------------------------------------------\n");
   146	
   147		seq_printf(s, "%-14s%-16lld%-16lld%lld\n", "d_lease",
   148			   atomic64_read(&mdsc->metric.total_dentries),
   149			   percpu_counter_sum(&mdsc->metric.d_lease_mis),
   150			   percpu_counter_sum(&mdsc->metric.d_lease_hit));
   151	
   152		mutex_lock(&mdsc->mutex);
   153		for (i = 0; i < mdsc->max_sessions; i++) {
   154			struct ceph_mds_session *s;
   155	
   156			s = __ceph_lookup_mds_session(mdsc, i);
   157			if (!s)
   158				continue;
   159			nr_caps += s->s_nr_caps;
   160			ceph_put_mds_session(s);
   161		}
   162		mutex_unlock(&mdsc->mutex);
   163		seq_printf(s, "%-14s%-16d%-16lld%lld\n", "caps", nr_caps,
   164			   percpu_counter_sum(&mdsc->metric.i_caps_mis),
   165			   percpu_counter_sum(&mdsc->metric.i_caps_hit));
   166	
   167		return 0;
   168	}
   169	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux