]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: protect against concurrent async quota updates
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 8 Oct 2013 21:05:59 +0000 (14:05 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Thu, 10 Oct 2013 20:51:23 +0000 (13:51 -0700)
commitfc358077686b1cc4044a3adfc61757a63d816e76
tree31993e62c8b3820e87b6c9720ef2ddd4267c4951
parent2e4ecc29de9c65224e2c6870a4c0a26cc90ec784
rgw: protect against concurrent async quota updates

Leverage the cache lru_map locking for making sure that we don't end
up with more than a single concurrent async update on the same bucket
within the same update window.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/common/lru_map.h
src/rgw/rgw_quota.cc