| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|\
| |
| |
| |
| | |
rgw: add string describing for error number
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
|
|\ \
| | |
| | |
| | |
| | | |
rgw: duplicate check for acl op in RGWHandler_REST_Bucket_SWIFT::op_get()
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
rgw: remove unused bufferlist variable
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | |/
| |/|
| | |
| | | |
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
rgw: fix the missing return value of init_watch
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
rgw: add error return code checking for rgw_tools_init and rgw_perf_start
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Maybe we should handle the error return code
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
rgw: miscellaneous cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
rgw_bucket: remove unused bufferlist
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
cmake: fix FORTIFY_SOURCE check
Reviewed-by: Kefu Chai <kchai@redhat.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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>
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
test/test_crush_bucket.sh: source detect-build-env-vars.sh for settin…
Reviewed-by: Loic Dachary <ldachary@redhat.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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>
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
msg/async: set socket priority for heartbeat socket
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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>
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
rbd-mirror: clean up ImageReplayer before stopping state machine
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fixes: http://tracker.ceph.com/issues/16489
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
librbd: removal of partially deleted image needs id lookup
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
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>
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
librbd: optimize header file dependency and modify related files
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
librbd: restrict mirror enable/disable actions on parents/clones
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Fixes: http://tracker.ceph.com/issues/16056
Signed-off-by: zhuangzeqiang zhuang.zeqiang@h3c.com
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
rbd-mirror: Throttle in-flight image syncs to only a N concurrent
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Fixes: http://tracker.ceph.com/issues/15239
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / / /
|/| | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
librbd: discard should return error if length too large
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
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>
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
rbd-mirror: Update the sync point object number during sync
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Fixes: http://tracker.ceph.com/issues/15108
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
doc: adding JAVA Example in Step 4: Closing Sessions
Reviewed-by: Kefu Chai <kchai@redhat.com>
|
| | | | | | | | | | | | | | |
|