Sage Weil
e4e4079636
qa/tasks/recovery_bench: drop recovery_bench task
...
This relies on smalliobench, which is gone now. The task could
pretty easily be resurrected if we substitute in another tool.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-06 08:21:29 -06:00
Sage Weil
8ae0a0169f
ceph_xattr_bench: drop
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-06 08:21:29 -06:00
Sage Weil
5749434ad6
test/bench: remove smallio bench tools
...
These are stale and superceded by the fio ObjectStore (and other)
backends. Shed the weight!
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-06 08:21:29 -06:00
Jason Dillaman
7a24713a72
librbd: drop unused variable from flatten state machine
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-06 08:20:42 -05:00
Kefu Chai
797b7c0a87
Merge pull request #20267 from liewegas/wip-22847
...
mon/OSDMonitor: filter out pgs that shouldn't exist from force-create-pg
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-06 14:49:35 +08:00
Kefu Chai
12e3cbd13d
Merge pull request #20259 from guzhongyan/rados-cleanup
...
rados: clean up rados_getxattrs() and rados_striper_getxattrs()
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-06 14:48:42 +08:00
Kefu Chai
221d8a1df2
Merge pull request #20260 from guzhongyan/fix-22042
...
librados: invalid free() in rados_getxattrs_next()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-06 14:45:03 +08:00
Kefu Chai
ccf99d5e82
Merge pull request #20255 from david-z/wip-fix-kv-max-option
...
config: Change bluestore_cache_kv_max to type INT64
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-06 14:41:11 +08:00
Kefu Chai
5de47e1b63
Merge pull request #20301 from bigclouds/wip-fix-declaration-of-rados-striper-trunc
...
libradosstriper: fix the function declaration of rados_striper_trunc
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-06 14:40:28 +08:00
Kefu Chai
439cf82aad
Merge pull request #20233 from cbodley/wip-test-log-nullptr
...
test/log: fix for crash with libc++
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-06 14:35:18 +08:00
Kefu Chai
d4254db9c9
Merge pull request #20223 from Yan-waller/wip-walle-180124cephosd
...
osd: use existing osd_required variable for messenger policy
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-06 14:31:52 +08:00
Kefu Chai
6655648d74
Merge pull request #20201 from majianpeng/mosdrepop-encode-log
...
osd: avoid encoding the same log entries repeatedly for different peers
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-06 14:29:34 +08:00
shun-s
8d179f7a59
librbd: speed up diskusage and resize
...
speed up diskusage and resize
Signed-off-by: shun-s <song.shun3@zte.com.cn>
2018-02-06 09:43:46 +08:00
Sage Weil
6f5a952fb7
os/filestore: add replay guards for omap operations
...
These were not guarded, meaning they could get replayed onto an object
that was cloned or renamed. Eek!
Fixes: http://tracker.ceph.com/issues/22920
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
13af247a92
test/objectstore/run_seed_to_range: stop on first error
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
9d0a193ea1
ceph_test_idempotent_sequence: use coll_entry_t
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
1c4bb2a52d
ceph_filestore_idempotent_sequence: fix up clone, move ops; cleanup
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
135ccf8790
qa/tasks/filestore_idempotent: run failure tests later in sequence
...
We want to get past the initial colleciton and object creation steps,
which don't include interesting ops.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Jason Dillaman
88171d09f3
cls/rbd: store original namespace type within trash snapshot namespace
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 19:04:37 -05:00
Casey Bodley
19fb77e217
Merge pull request #20016 from cbodley/wip-18885
...
rgw: log unlink_instance mtime as object's mtime
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-05 16:44:37 -05:00
Andrew Schoen
3052010a80
ceph-volume: adds the simple dmcrypt_plain and dmcrypt_luks tests
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-05 14:21:29 -06:00
Andrew Schoen
2ee70bf2d1
ceph-volume: fix ceph-volume simple scan help menu test
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-05 13:53:13 -06:00
Matt Benjamin
80a58a477d
Merge pull request #20145 from linuxbox2/rgwf-deref-readdir-off
...
rgw_file: avoid evaluating nullptr for readdir offset
2018-02-05 14:22:48 -05:00
Casey Bodley
41229b47ed
Merge pull request #20188 from cbodley/wip-rgw-frontend-multimap
...
rgw: beast frontend can listen on multiple endpoints
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-05 13:52:04 -05:00
Casey Bodley
705e505049
Merge pull request #20013 from cbodley/wip-rgw-auth-skew
...
rgw: share time skew check between v2 and v4 auth
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-05 13:51:43 -05:00
Casey Bodley
ae0557255f
Merge pull request #20017 from cbodley/wip-22248
...
rgw: unlink deleted bucket from bucket's owner
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-05 13:50:48 -05:00
Casey Bodley
720a759401
Merge pull request #20120 from cbodley/wip-22797
...
rgw: fix for empty query string in beast frontend
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-05 13:49:13 -05:00
Orit Wasserman
19b430fe5b
Merge pull request #20038 from oritwas/wip-rgw-22742
...
rgw: bucket resharding should not update bucket ACL or user stats
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-05 20:02:06 +02:00
Jason Dillaman
244617c645
Merge pull request #20295 from trociny/wip-test_deep_copy_clone
...
test/pybind/rbd: skip test_deep_copy_clone if layering not enabled
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 12:26:44 -05:00
Jason Dillaman
ec51c53d22
cls/rbd: tweak handling for moving snapshots to trash namespace
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:36:33 -05:00
Kefu Chai
2277a10279
cmake: fix the include dir for building boost::python
...
the "includes" directories are separated by spaces not semicolons.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-06 00:36:26 +08:00
Jason Dillaman
57559a47f6
qa/workunits/rbd: force use of v1 clone when testing orphan
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
fb62296f6e
rbd-mirror: image deleter now handles clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
01198184db
osd/OSDCap: rbd-read-only profile now permits use of clone class methods
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
2501bb8e73
test/librbd: fix negative test cases for clone
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
e22db4ec76
librbd: snapshot remove request now handles clone v2
...
The state machine was converted to the current style and the
final removal of the snapshot was delayed until the end to
permit the retry of a previously failed snapshot removal.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
a3b2d82c24
librbd: flatten request now handles clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
67ddd53488
librbd: flatten operation should detach child first
...
That will permit the flatten operation to be replayed if there
is an issue.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
380d7bce50
librbd: remove request now handles clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
b84319f3a4
librbd: helper state machine for detaching children for v1/v2 clones
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
ffdf44358e
librbd: list children now includes v2 clones
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
fe2fe0c46b
librbd: clone request now handles clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
e3cd2c756f
librbd: removed child cleanup from failed clone
...
This logic is already included in the remove image state machine
and will be executed when the clone is deleted post-failure.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
0f3a216e76
test/librados_test_stub: added 'get_min_compatible_client' API
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
5a82c27619
common/options: added override for RBD clone format handling
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
b98727ecbe
cls/rbd: removing an in-use snapshot should move it to the trash
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
b0b1c44826
cls/rbd: new cls methods for handling clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
3589809b7b
cls/rbd: add child reference counter to snapshot
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Jason Dillaman
1a90ff5a79
cls/rbd: restrict snapshot rename to user-generated snapshots
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Jason Dillaman
dc3fe8d2a7
cls/rbd: helper method for iterating over all image snapshots
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00