summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* v11.0.0v11.0.0Sage Weil2016-06-282-1/+7
| | | | Signed-off-by: Sage Weil <sage@redhat.com>
* Merge pull request #9889 from Yan-waller/yj-wip-rgwbucketccCasey Bodley2016-06-281-3/+5
|\ | | | | | | | | rgw: add string describing for error number Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * rgw: add string describing for error numberYan Jun2016-06-221-3/+5
| | | | | | | | Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
* | Merge pull request #9888 from weiqiaomiao/wqm-wip-clean-swiftapiCasey Bodley2016-06-281-12/+0
|\ \ | | | | | | | | | | | | rgw: duplicate check for acl op in RGWHandler_REST_Bucket_SWIFT::op_get() Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | rgw: duplicate check for acl op in RGWHandler_REST_Bucket_SWIFT::op_get fuctionweiqiaomiao2016-06-231-12/+0
| | | | | | | | | | | | Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
* | | Merge pull request #9854 from Yan-waller/yj-wip-rgwunlinkbucketCasey Bodley2016-06-281-2/+0
|\ \ \ | | | | | | | | | | | | | | | | rgw: remove unused bufferlist variable Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | rgw: remove unused bufferlist variableYan Jun2016-06-221-2/+0
| | |/ | |/| | | | | | | Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
* | | Merge pull request #9822 from Yan-waller/yj-wiph-rgwfixinitwatchCasey Bodley2016-06-281-1/+2
|\ \ \ | | | | | | | | | | | | | | | | rgw: fix the missing return value of init_watch Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | rgw: fix the missing return value of init_watchYan Jun2016-06-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we should return the negative error number if "ioctx_create" creates "control_pool_ctx" failed. otherwise, it will run into exception: r = control_pool_ctx.create(notify_oid, false); if (r < 0 && r != -EEXIST) return r; Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
* | | | Merge pull request #9808 from Yan-waller/yj-wip-rgwtoolsinitreturnCasey Bodley2016-06-281-5/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | rgw: add error return code checking for rgw_tools_init and rgw_perf_start Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | | rgw: add error message for rgw_perf_start failure.Yan Jun2016-06-201-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Maybe we should concern the error return code of rgw_perf_start, althought it now returns zero only. Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
| * | | | rgw: check result of rgw_tools_initYan Jun2016-06-201-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Maybe we should handle the error return code Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
* | | | | Merge pull request #9796 from Yan-waller/yj-wip-rgwremoveuserCasey Bodley2016-06-282-20/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | rgw: miscellaneous cleanups Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | | | rgw: add comments for "is_truncated"Yan Jun2016-06-181-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
| * | | | | rgw: remove needless `if` conditional branches test.Yan Jun2016-06-171-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
| * | | | | rgw: just make the code more conciseYan Jun2016-06-171-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
| * | | | | rgw: prune away the unnecessary temporary variable `ret`Yan Jun2016-06-171-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
* | | | | | Merge pull request #9780 from theanalyst/rgw/create-bucket-cleanupCasey Bodley2016-06-281-2/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | rgw_bucket: remove unused bufferlist Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | rgw_bucket: remove unused bl in read_user_bucketsAbhishek Lekshmanan2016-06-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
* | | | | | | Merge pull request #9987 from jcsp/wip-cmake-fortify-sourceKefu Chai2016-06-281-1/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmake: fix FORTIFY_SOURCE check Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | | | | | | cmake: fix FORTIFY_SOURCE checkJohn Spray2016-06-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This got broken in 6f3e3cf6. The -Werror part wasn't having the desired effect, so we were enabling FORTIFY_SOURCE even when in -O0 Signed-off-by: John Spray <john.spray@redhat.com>
* | | | | | | | Merge pull request #9984 from tchaikov/wip-fix-test_crush_bucket.shLoic Dachary2016-06-281-0/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test/test_crush_bucket.sh: source detect-build-env-vars.sh for settin… Reviewed-by: Loic Dachary <ldachary@redhat.com>
| * | | | | | | test/test_crush_bucket.sh: source detect-build-env-vars.sh for settings pathsKefu Chai2016-06-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this fixes errors like ../qa/workunits/ceph-helpers.sh:354: run_mon: ceph-mon --id a --mon-osd-full-ratio=.99 --mon-data-avail-crit=1 --paxos-propose-interval=0.1 --osd-crush-chooseleaf-type=0 --erasure-code-dir= --plugin-dir= --debug-mon 20 --debug-ms 20 --debug-paxos 20 --chdir= --mon-data=testdir/testcrushbucket/a '--log-file=testdir/testcrushbucket/$name.log' '--admin-socket=testdir/testcrushbucket/$cluster-$name.asok' --mon-cluster-log-file=testdir/testcrushbucket/log --run-dir=testdir/testcrushbucket '--pid-file=testdir/testcrushbucket/$name.pid' 2016-06-28 11:24:24.105884 2b1bbd3d0380 -1 load dlopen(/libec_jerasure.so): /libec_jerasure.so: cannot open shared object file: No such file or directory ../qa/workunits/ceph-helpers.sh:371: run_mon: return 1 Signed-off-by: Kefu Chai <kchai@redhat.com>
* | | | | | | | Merge pull request #9771 from yuyuyu101/wip-async-prioritySage Weil2016-06-283-0/+31
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msg/async: set socket priority for heartbeat socket Reviewed-by: Greg Farnum <gfarnum@redhat.com>
| * | | | | | | | msg/async: set socket priority for heartbeat socketHaomai Wang2016-06-283-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To prioritize the heartbeat packets in the the diffserv-aware device. Learn/copy from https://github.com/ceph/ceph/pull/3353 Signed-off-by: Haomai Wang <haomai@xsky.com>
* | | | | | | | | Merge pull request #9958 from dillaman/wip-16489Mykola Golub2016-06-281-8/+11
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rbd-mirror: clean up ImageReplayer before stopping state machine Reviewed-by: Mykola Golub <mgolub@mirantis.com>
| * | | | | | | | | rbd-mirror: clean up ImageReplayer before stopping state machineJason Dillaman2016-06-271-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: http://tracker.ceph.com/issues/16489 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
* | | | | | | | | | Merge pull request #9923 from dillaman/wip-16471Mykola Golub2016-06-281-29/+37
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | librbd: removal of partially deleted image needs id lookup Reviewed-by: Mykola Golub <mgolub@mirantis.com>
| * | | | | | | | | | librbd: removal of partially deleted image needs id lookupJason Dillaman2016-06-271-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several operations depend on the image id but if the image cannot be opened to retrieve the id, these cleanup operations cannot be executed. Fixes: http://tracker.ceph.com/issues/16471 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
* | | | | | | | | | | Merge pull request #9539 from cxwshawn/wip-tc9-fixJason Dillaman2016-06-2868-119/+34
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | librbd: optimize header file dependency and modify related files Reviewed-by: Jason Dillaman <dillaman@redhat.com>
| * | | | | | | | | | | librbd: optimize header file dependency & modify related file.shawn2016-06-2231-64/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
| * | | | | | | | | | | librbd: optimize operation header file dependencyshawn2016-06-2215-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
| * | | | | | | | | | | librbd: optimize journal header file dependencyshawn2016-06-212-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
| * | | | | | | | | | | librbd: optimize image_watcher header file dependencyshawn2016-06-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
| * | | | | | | | | | | librbd: optimize image header file dependencyshawn2016-06-217-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
| * | | | | | | | | | | librbd: optimize exclusive_lock header file dependencyshawn2016-06-213-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
| * | | | | | | | | | | librbd: optimize object-map header file dependencyshawn2016-06-219-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
* | | | | | | | | | | | Merge pull request #9500 from zhuangzeqiang/wip-16056Jason Dillaman2016-06-282-17/+128
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | librbd: restrict mirror enable/disable actions on parents/clones Reviewed-by: Jason Dillaman <dillaman@redhat.com>
| * | | | | | | | | | | | rbd: restrict mirror enable/disable actions on parents/cloneszhuangzeqiang2016-06-252-17/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: http://tracker.ceph.com/issues/16056 Signed-off-by: zhuangzeqiang zhuang.zeqiang@h3c.com
* | | | | | | | | | | | | Merge pull request #9623 from rjfd/wip-15239Jason Dillaman2016-06-2820-76/+855
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rbd-mirror: Throttle in-flight image syncs to only a N concurrent Reviewed-by: Jason Dillaman <dillaman@redhat.com>
| * | | | | | | | | | | | | rbd-mirror: tests: ImageSyncThrottler unit testsRicardo Dias2016-06-283-0/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ricardo Dias <rdias@suse.com>
| * | | | | | | | | | | | | rbd-mirror: Usage of image-sync throttler in BootstrapRequestRicardo Dias2016-06-2812-76/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: http://tracker.ceph.com/issues/15239 Signed-off-by: Ricardo Dias <rdias@suse.com>
| * | | | | | | | | | | | | rbd-mirror: Implementation of image-sync throttlerRicardo Dias2016-06-285-0/+350
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ricardo Dias <rdias@suse.com>
* | | | | | | | | | | | | | Merge pull request #9856 from hzhang-wx/masterJason Dillaman2016-06-281-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | librbd: discard should return error if length too large Reviewed-by: Jason Dillaman <dillaman@redhat.com>
| * | | | | | | | | | | | | rbd discard return -EINVAL if len > MAX_INT32Huan Zhang2016-06-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rbd discard use 'int' to return discarded length, but the 'len' user passed is 'uint64', in some case, the ret value will be truncated and return a negative value which means discard failed. ret -EINVAL if len > MAX_INT32 to indicate support len <= MAX_INT32 only. Fixes: http://tracker.ceph.com/issues/16465 Signed-off-by: Huan Zhang <zhanghuan@chinac.com>
* | | | | | | | | | | | | | Merge pull request #9699 from rjfd/wip-15108Jason Dillaman2016-06-284-12/+235
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rbd-mirror: Update the sync point object number during sync Reviewed-by: Jason Dillaman <dillaman@redhat.com>
| * | | | | | | | | | | | | rbd-mirror: tests: Support for inflight image sync point updateRicardo Dias2016-06-271-12/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ricardo Dias <rdias@suse.com>
| * | | | | | | | | | | | | rbd-mirror: image-sync: Periodically update sync point object numberRicardo Dias2016-06-273-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: http://tracker.ceph.com/issues/15108 Signed-off-by: Ricardo Dias <rdias@suse.com>
* | | | | | | | | | | | | | Merge pull request #8086 from jaemyoun/wip-doc-rados-java-apiKefu Chai2016-06-281-0/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc: adding JAVA Example in Step 4: Closing Sessions Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | | | | | | | | | | | | doc: add closing session in JavaJaemyoun2016-06-281-0/+9
| | | | | | | | | | | | | |