I am sorry, I have made a mistake. The source file of the code is
"rgw_code.cc"
instead of "rgw_mian.cc".

2014-12-04 11:13 GMT+08:00 han vincent <[email protected]>:
>     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

Reply via email to