rgw: update quota stats when needed

Now update the quota stats when completing specific operations.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: init quota

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: bucket stats also dump quota info

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: dump quota params even if disabled

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
radosgw-admin: quota control api

Can set, disable and enable bucket quota.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: handle negative quota as non-assigned values

This means that we can have a 0 as a quota value.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: init RGWBucketStats

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
lru_map: add find_and_update()

A new find_and_update() call to make atomic changes.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: update cache atomically

Use new lru_map::find_and_update() to update internal cache state.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>