hello, every one.
when I read the source code of ceph of which the version is
0.80.1. I found that line 1646 in rgw_main.cc wrote as following:
uint64_t total_time = entry.total_time.sec() * 1000000LL *
entry.total_time.usec();
I did not understand the meaning of this line of code. I think the
second operation symbol of “*” should be changed to
"+". so this line should be "uint64_t total_time =
entry.total_time.sec() * 1000000LL + entry.total_time.usec(); ".
Is it a bug?
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com