It is going to be used to store per pool configuration parameters like
scrub intervals or recovery priority.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
1. Fix formatting (mixed tabs and spaces)
2. Status of skipped types was showing always last version in directory
Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
cretargs is a array of c_char_p, which means ctypes has already
converted it to python byte strings. decode_cstr() would misinterpret
the empty string as a NULL c_char_p(), and convert it to None by
accident, resulting in errors when running commands like
'ceph config-key put foo ""'.
Since this is the only place we use arrays of c_char_p, just decode
it directly in conf_parse_argv(). Tested with python 2 and 3.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
EventSocket will wrap different user event notification method like linux
eventfd, solaris port. Caller can user this to replace signal
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
rollback_info is just needed for ec-pool to rollback the patial committed chunks to previous version. Avoid recording rollback_info in replicated pool to save cpu cost and disk bandwidth
Signed-off-by: Ning Yao <zay11022@gmail.com>
epoch always remains unless state of cluster changes. Therefore, avoid update epoch for every Op in order to same cpu cost and disk bandwidth.
Signed-off-by: Ning Yao <zay11022@gmail.com>
client: fix deadlock related to async pagecache invalidation
Conflicts:
src/client/Client.cc
Fixed a conflict with the earlier page cache invalidate
changes in 73beb7f937.
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
The OSD expects it's pg_temp update requests to succeed. If it
races with an ill-timed admin request, it can get stuck in
WaitActingChange indefinitely.
This is only a real problem now that the OSD/mon interaction has
been updated with wip-bigbang; previously we would retry (although
it would take a while). Backporting is optional.
Signed-off-by: Sage Weil <sage@redhat.com>
Previous commits introduced the tenant infrastructure such as
rgw_user, but did not allow anyone to access it productively.
Done:
- radosgw-admin
- bucket creation, listing, deletion with non-empty tenant
- COPY
- ACLs
- Using colon for S3 with URL addressing
TODO:
- Fix S3 remapping of DNS so that period turns into colon in buckets,
possibly using typed endpoint domains, some assuming tenants
- Have Swift authentication to set tenant into URL, then pick it there
- Resolve leftover XXX
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Bug #13096
This modification adds the check to the field of type of a user's capality while previous versions set it any value. i.e. we limit the option of types to the 9 certain values, which are "users|buckets|metadata|usage|zone|bilog|mdlog|datalog|ops These 9 choosens are found in ceph documents and in source codes.
Signed-off-by: Kongming Wu <wu.kongming@h3c.com>