]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/user: some fixes + handle old buckets case
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 8 Jan 2014 22:13:27 +0000 (14:13 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 24 Jan 2014 18:28:48 +0000 (10:28 -0800)
commitc8793fbad0d2856623f64822de973d64c38daf03
treee3b932abd6c85dc367a7b66d763a2ac2d47a987d
parenteef7ba48df7573194b687f167cc04e5c1c349750
cls/user: some fixes + handle old buckets case

If a bucket was created prior to the new accounting, we can't substract
the old values, as the header stats didn't account for them.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/cls/user/cls_user.cc
src/cls/user/cls_user_types.h