]>
 
 
git.apps.os.sepia.ceph.com Git - ceph-ci.git/log 
 
 
 
 
 
 
Kefu Chai  [Sat, 11 Mar 2017 09:20:58 +0000  (17:20 +0800)] 
 
os/bluestore: silence gcc warning 
 
silences following warning: 
 
src/os/bluestore/BitAllocator.h:410:8: warning: ‘virtual bool 
BitMapAreaIN::child_check_n_lock(BitMapArea*, int64_t, bool)’ was hidden 
[-Wover\ 
loaded-virtual] 
   bool child_check_n_lock(BitMapArea *child, int64_t required, bool 
lock) { 
        ^~~~~~~~~~~~~~~~~~ 
/var/ceph/ceph/src/os/bluestore/BitAllocator.h:489:8: warning:   by 
‘BitMapAreaLeaf::child_check_n_lock’ [-Woverloaded-virtual] 
   bool child_check_n_lock(BitMapZone* child, int64_t required, bool 
lock); 
        ^~~~~~~~~~~~~~~~~~ 
 
Signed-off-by: Kefu Chai <kchai@redhat.com>  
Kefu Chai  [Tue, 7 Mar 2017 03:31:14 +0000  (11:31 +0800)] 
 
test/ceph_test_objectstore: silence gcc warning 
 
silence following warning: 
 
store_test.cc: In member function ‘virtual void 
StoreTest_ManyObjectTest_Test::TestBody()’: 
/var/ceph/ceph/src/test/objectstore/store_test.cc:3153:6: warning: 
suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 
   if (listed2.size()) 
      ^ 
 
Signed-off-by: Kefu Chai <kchai@redhat.com>  
Sage Weil  [Thu, 9 Mar 2017 21:16:19 +0000  (15:16 -0600)] 
 
Merge pull request #13857 from liupan1111/wip-rename-onack-to-oncommit 
 
librados: replace the var name from onack to complete 
 
Reviewed-by: Sage Weil <sage@redhat.com>  
Yehuda Sadeh  [Thu, 9 Mar 2017 18:16:48 +0000  (10:16 -0800)] 
 
Merge pull request #11485 from yehudasa/wip-bucket-cleanup 
 
rgw structures rework 
 
Reviewed-by: Casey Bodley <cbodley@redhat.com>  
Mykola Golub  [Thu, 9 Mar 2017 18:15:17 +0000  (20:15 +0200)] 
 
Merge pull request #13758 from dillaman/wip-18748 
 
rbd: demote/promote all mirrored images in a pool 
 
Reviewed-by: Mykola Golub <mgolub@mirantis.com>  
Yehuda Sadeh  [Wed, 8 Mar 2017 22:52:34 +0000  (14:52 -0800)] 
 
rgw: fix crash when listing objects via swift 
 
Fixes: http://tracker.ceph.com/issues/19249  
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Wed, 8 Mar 2017 22:27:14 +0000  (14:27 -0800)] 
 
qa/tasks/radosgw_admin: adjust test to new bucket structure 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Sat, 18 Feb 2017 00:37:08 +0000  (16:37 -0800)] 
 
rgw: more fixes following rebase 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Mon, 9 Jan 2017 21:04:43 +0000  (13:04 -0800)] 
 
rgw: new rest api to retrieve object layout 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Thu, 5 Jan 2017 21:15:56 +0000  (13:15 -0800)] 
 
rgw: get_obj_state() checks for empty oids 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Tue, 20 Dec 2016 21:32:57 +0000  (13:32 -0800)] 
 
rgw: metadata put of bucket instance sets bucket_id 
 
Need to parse the bucket id off the entry and then set it on the 
bucket struct. 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Tue, 20 Dec 2016 21:32:17 +0000  (13:32 -0800)] 
 
rgw_admin: remove broken check 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Mon, 19 Dec 2016 22:33:18 +0000  (14:33 -0800)] 
 
mrgw.sh: fix script 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Mon, 19 Dec 2016 22:15:36 +0000  (14:15 -0800)] 
 
rgw: fix async cr operation 
 
Fix crash due to code cleanup. Changes scope of obj ref. 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Fri, 16 Dec 2016 23:41:23 +0000  (15:41 -0800)] 
 
rgw: modify default pools to use namespaces 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Fri, 16 Dec 2016 23:43:40 +0000  (15:43 -0800)] 
 
rgw: handle pools namespace 
 
Use rgw_pool all around, and replace librados::create_ioctx() with 
helper that also sets the namespace. 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Fri, 16 Dec 2016 02:14:58 +0000  (18:14 -0800)] 
 
rgw: add namespace to rgw_pool 
 
add a namespace field to the rgw_pool struct 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Thu, 15 Dec 2016 00:09:13 +0000  (16:09 -0800)] 
 
rgw: compilation and other fixes following rebase 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Mon, 28 Nov 2016 16:27:41 +0000  (08:27 -0800)] 
 
rgw: move placement rule out of rgw_bucket 
 
Bucket's placement rule is in the bucket instance's info. Object's 
placement rule is in the manifest 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Tue, 22 Nov 2016 18:36:15 +0000  (10:36 -0800)] 
 
cls/version: add more useful logging 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Tue, 22 Nov 2016 18:33:12 +0000  (10:33 -0800)] 
 
rgw: fix ECANCELED handling in rgw_get_system_obj() 
 
Fixes: http://tracker.ceph.com/issues/17996  
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Mon, 21 Nov 2016 22:10:21 +0000  (14:10 -0800)] 
 
rgw: keep rgw_obj key info in rgw_obj_key field 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Thu, 17 Nov 2016 23:26:35 +0000  (15:26 -0800)] 
 
rgw: add rgw_obj_index_key, kill RGWObjEnt 
 
Use rgw_obj_index_key to represent entries in bucket index (typedef of 
cls_rgw_obj_key). Get rid of RGWObjEnt, it was duplicate of rgw_bucket_dir_entry 
anyway. 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Thu, 17 Nov 2016 00:20:17 +0000  (16:20 -0800)] 
 
rgw: clean rgw_obj 
 
Instead of storing the oid and the name, just store the name 
and calculate it when needed (same goes to locator). Also give more 
coherent names to the various fields. 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Wed, 16 Nov 2016 01:14:24 +0000  (17:14 -0800)] 
 
rgw: fix bucket overwrite 
 
got broken through the rgw_bucket cleanup related work 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Mon, 31 Oct 2016 22:55:20 +0000  (15:55 -0700)] 
 
test/rgw: extend obj, manifest unitests 
 
Test rgw_raw_obj and upgrade of old rgw_obj, rgw_bucket and 
old manifest. 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Mon, 31 Oct 2016 22:56:26 +0000  (15:56 -0700)] 
 
rgw: implicit rgw_bucket placement, manifest uses rgw_raw_obj 
 
Two main changes here: 
1. Newly created rgw_bucket does not have a predetermined placement pools 
assigned to it. The placement_id param in the objects themselves points 
at where the data is located. This affects object's tail location, head 
is located where the bucket instance's placement rule points at. 
2. Modify object manifest to use rgw_raw_obj instead of rgw_obj. 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Thu, 13 Oct 2016 22:57:46 +0000  (15:57 -0700)] 
 
rgw: simple manifest compaction 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Thu, 13 Oct 2016 03:22:01 +0000  (20:22 -0700)] 
 
rgw: use rgw_raw_obj in manifest code 
 
This drags in multiple related changes that are needed in order to 
support that. 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Tue, 11 Oct 2016 22:44:17 +0000  (15:44 -0700)] 
 
rgw: decode rgw_raw_obj as rgw_obj when it's old object 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Tue, 11 Oct 2016 22:06:37 +0000  (15:06 -0700)] 
 
rgw: remove unneeded virtual declarations 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Mon, 10 Oct 2016 22:09:35 +0000  (15:09 -0700)] 
 
rgw: more fixes and adjustments following rgw_pool, rgw_raw_obj 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Sun, 9 Oct 2016 05:16:18 +0000  (22:16 -0700)] 
 
rgw: separate RGWObjState 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Yehuda Sadeh  [Sat, 8 Oct 2016 04:03:32 +0000  (21:03 -0700)] 
 
rgw: introduce rgw_pool, rgw_raw_obj 
 
Pools are represented by rgw_pool (and not rgw_bucket anymore), 
and we use rgw_raw_obj to reference rados objs and all 'system' 
objects (vs rgw_obj that is used for rgw objects). 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Pan Liu  [Thu, 9 Mar 2017 12:58:26 +0000  (20:58 +0800)] 
 
librados: replace the var name from onact to oncomplete. 
 
Signed-off-by: Pan Liu <pan.liu@istuary.com>  
Sage Weil  [Thu, 9 Mar 2017 15:35:29 +0000  (09:35 -0600)] 
 
Merge pull request #13901 from Adirl/default 
 
msg/async/rdma: compile with rdma as default 
 
Reviewed-by: Sage Weil <sage@redhat.com>  
Casey Bodley  [Thu, 9 Mar 2017 14:53:27 +0000  (09:53 -0500)] 
 
Merge pull request #13760 from zhangsw/fix-rgw-torrent-uri 
 
rgw: get torrent request's parameter is not the same as amazon s3. 
 
Reviewed-by: Casey Bodley <cbodley@redhat.com>  
Casey Bodley  [Thu, 9 Mar 2017 14:47:29 +0000  (09:47 -0500)] 
 
Merge pull request #13660 from shashalu/rgw-read-sync-status 
 
rgw: use separate http_manager for read_sync_status 
 
Reviewed-by: Casey Bodley <cbodley@redhat.com>  
Abhishek L  [Thu, 9 Mar 2017 14:17:12 +0000  (15:17 +0100)] 
 
Merge pull request #13878 from smithfarm/wip-jewel-release-notes-fixup 
 
doc: mention ENXIO change in the 10.2.6 release notes 
 
Reviewed-by: Sage Weil <sweil@redhat.com>  
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>  
DanielBar-On  [Wed, 1 Mar 2017 14:58:37 +0000  (14:58 +0000)] 
 
msg/async/rdma: compile with rdma as default 
 
Issue: 992583 
Issue: 992580 
 
Change-Id: I24128b87294d3083c44c934f7d4bed554dd1f8a4 
Signed-off-by: DanielBar-On <danielbo@mellanox.com>  
Haomai Wang  [Thu, 9 Mar 2017 08:21:35 +0000  (16:21 +0800)] 
 
Merge pull request #13896 from optimistyzy/39_1 
 
Bluestore, NVMeDevice: fix the core id for rte_remote_launch 
 
Reviewed-by: Haomai Wang <haomai@xsky.com>  
optimistyzy  [Thu, 9 Mar 2017 06:30:33 +0000  (14:30 +0800)] 
 
Bluestore, NVMeDevice: fix the core id for rte_remote_launch 
 
Previously, we use the id. The id value will be 1 always since 
we will only support one NVMe device per osd. Also we have 
coremask conf , the default is 3, and we will use core 1. 
It is correct. However if we specify another core mask, e.g., 
0xC, still passing 1 to start the dpdk_thread is wrong. we 
need to pass core id = 4. 
 
Since for each shareddata, we only use one cpu core, so 
just passing rte_get_next_lcore(-1, 0, 0), which selects 
the first slave core. 
 
Signed-off-by: optimistyzy <optimistyzy@gmail.com>  
Dan Mick  [Thu, 9 Mar 2017 04:06:16 +0000  (20:06 -0800)] 
 
Merge pull request #13891 from yehudasa/wip-vstart-not-new 
 
vstart: don't create cluster by default 
 
Zhang Shaowen  [Fri, 3 Mar 2017 03:16:22 +0000  (11:16 +0800)] 
 
rgw: get torrent request's parameter is not the same as amazon s3. 
 
Fixes: http://tracker.ceph.com/issues/19136  
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>  
Haomai Wang  [Thu, 9 Mar 2017 01:49:02 +0000  (09:49 +0800)] 
 
Merge pull request #13556 from tangwenjun3/wip-fix-coredump 
 
os/bluestore: fix coredump in register_ctrlr() 
 
Reviewed-by: Haomai Wang <haomai@xsky.com>  
lu.shasha  [Mon, 27 Feb 2017 07:52:43 +0000  (15:52 +0800)] 
 
rgw: use separate http_manager for read_sync_status 
 
concurrent users of read_sync_status() use different cr managers, when get_resource must 
use http_manager related to the cr manager. 
 
Fixes: http://tracker.ceph.com/issues/19236  
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>  
Yuri Weinstein  [Thu, 9 Mar 2017 00:23:26 +0000  (16:23 -0800)] 
 
Merge pull request #13892 from dmick/wip-19232 
 
qa/suites/upgrade/kraken-x: do not thrash cluster full during upgrade 
 
Reviewed-by: Yuri Weinstein <yweins@redhat.com>  
Dan Mick  [Wed, 8 Mar 2017 22:19:40 +0000  (14:19 -0800)] 
 
qa/suites/upgrade/kraken-x: do not thrash cluster full during upgrade
Same thing as 
39fdc53fe5f33678fbbd00cf8810b6d523d0040c 
Fixes: http://tracker.ceph.com/issues/19232 
Signed-off-by: Dan Mick <dan.mick@redhat.com> 
 
Yehuda Sadeh  [Wed, 8 Mar 2017 22:17:00 +0000  (14:17 -0800)] 
 
vstart: don't create cluster by default 
 
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>  
Nathan Cutler  [Wed, 8 Mar 2017 15:29:47 +0000  (16:29 +0100)] 
 
doc: mention ENXIO change in the 10.2.6 release notes 
 
Signed-off-by: Nathan Cutler <ncutler@suse.com>  
Yehuda Sadeh  [Wed, 8 Mar 2017 20:57:31 +0000  (12:57 -0800)] 
 
Merge pull request #13880 from cbodley/wip-qa-submodule 
 
build: remove ceph-qa-suite directory 
 
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>  
Sage Weil  [Wed, 8 Mar 2017 19:38:54 +0000  (13:38 -0600)] 
 
Merge pull request #13217 from liewegas/wip-bluestore-prefer-wal-size 
 
os/bluestore: add bluestore_prefer_wal_size option 
 
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>  
Casey Bodley  [Wed, 8 Mar 2017 17:30:05 +0000  (12:30 -0500)] 
 
build: remove ceph-qa-suite directory
after commit 
3afb889  "qa: add supported distros for ceph-ansible", git
submodule update commands are failing with:
No submodule mapping found in .gitmodules for path 'ceph-qa-suite'
Signed-off-by: Casey Bodley <cbodley@redhat.com> 
 
Sage Weil  [Wed, 8 Mar 2017 17:14:08 +0000  (11:14 -0600)] 
 
Merge pull request #13785 from liewegas/wip-cleanup-features 
 
msg: no need to pass supported features to Messenger::Policy ctor 
 
Reviewed-by: Haomai Wang <haomai@xsky.com>  
Jason Dillaman  [Fri, 3 Mar 2017 00:58:39 +0000  (19:58 -0500)] 
 
doc: update RBD mirroring instructions for pool demotion/promotion 
 
Signed-off-by: Jason Dillaman <dillaman@redhat.com>  
Jason Dillaman  [Thu, 16 Feb 2017 13:04:40 +0000  (08:04 -0500)] 
 
rbd: new rbd mirror pool promote/demote actions 
 
Fixes: http://tracker.ceph.com/issues/18748  
Signed-off-by: Jason Dillaman <dillaman@redhat.com>  
Jason Dillaman  [Fri, 3 Feb 2017 18:37:43 +0000  (13:37 -0500)] 
 
librbd: add aio_mirror_image_* API methods 
 
Signed-off-by: Jason Dillaman <dillaman@redhat.com>  
Jason Dillaman  [Fri, 3 Feb 2017 16:16:31 +0000  (11:16 -0500)] 
 
librbd: additional asynchronous mirror state machines 
 
Signed-off-by: Jason Dillaman <dillaman@redhat.com>  
Jason Dillaman  [Fri, 3 Feb 2017 02:31:54 +0000  (21:31 -0500)] 
 
librbd: asynchronous journal demote state machine 
 
Signed-off-by: Jason Dillaman <dillaman@redhat.com>  
Jason Dillaman  [Thu, 2 Feb 2017 18:54:13 +0000  (13:54 -0500)] 
 
librbd: move group and diff API functions 
 
The group and diff_iterate API functions are already in separate 
units, so it's trivial to move them to the new 'api' namespace. 
 
Signed-off-by: Jason Dillaman <dillaman@redhat.com>  
Jason Dillaman  [Thu, 2 Feb 2017 18:07:49 +0000  (13:07 -0500)] 
 
librbd: move mirror-related API functions 
 
Also ensure that the API helper methods can be tested via 
mock test cases. 
 
Signed-off-by: Jason Dillaman <dillaman@redhat.com>  
Casey Bodley  [Wed, 8 Mar 2017 16:55:44 +0000  (11:55 -0500)] 
 
Merge pull request #13078 from zhangsw/fix-rgw-setacl-bug 
 
rgw: put object's acl can't work well on the latest object 
 
Reviewed-by: Casey Bodley <cbodley@redhat.com>  
Jason Dillaman  [Thu, 2 Feb 2017 17:05:47 +0000  (12:05 -0500)] 
 
librbd: rename parent_spec/parent_info type to match code style specs 
 
This also includes a consolidation of SnapInfo, ParentSpec, and ParentInfo 
into a single header. 
 
Signed-off-by: Jason Dillaman <dillaman@redhat.com>  
Josh Durgin  [Wed, 8 Mar 2017 15:47:49 +0000  (07:47 -0800)] 
 
Merge pull request #13852 from liewegas/wip-19133 
 
qa/suites: fix upgrade tests vs cluster full thrashing 
 
Reviewed-by: Josh Durgin <jdurgin@redhat.com>  
Sage Weil  [Wed, 8 Mar 2017 15:35:50 +0000  (09:35 -0600)] 
 
Merge pull request #13711 from tmuthamizhan/wip-add-supported-distros 
 
qa: add supported distros for ceph-ansible 
 
Reviewed-by: Yuri Weinstein <yweinstei@redhat.com>  
Sage Weil  [Wed, 8 Mar 2017 15:08:16 +0000  (09:08 -0600)] 
 
Merge pull request #13776 from Liuchang0812/wip-add-override-in-tool-headers 
 
tools: add override in tool submodule 
 
Reviewed-by: Sage Weil <sage@redhat.com>  
Jason Dillaman  [Wed, 8 Mar 2017 15:07:29 +0000  (10:07 -0500)] 
 
Merge pull request #13791 from runsisi/wip-rbd-ack-cleanup 
 
librbd: rbd ack cleanup 
 
Reviewed-by: Jason Dillaman <dillaman@redhat.com>  
Sage Weil  [Wed, 8 Mar 2017 15:06:47 +0000  (09:06 -0600)] 
 
Merge pull request #13775 from Liuchang0812/wip-add-override-librados-headers 
 
librados: add override in headers 
 
Reviewed-by: Sage Weil <sage@redhat.com>  
Sage Weil  [Wed, 8 Mar 2017 15:06:16 +0000  (09:06 -0600)] 
 
Merge pull request #13774 from Liuchang0812/wip-add-override-in-common-headers 
 
common: add override in header file 
 
Reviewed-by: Sage Weil <sage@redhat.com>  
Sage Weil  [Wed, 8 Mar 2017 15:03:20 +0000  (09:03 -0600)] 
 
Merge pull request #13773 from Liuchang0812/wip-add-override-in-test-headers 
 
test: add override in test submodule 
 
Reviewed-by: Kefu Chai <kchai@redhat.com>  
Sage Weil  [Wed, 8 Mar 2017 15:02:33 +0000  (09:02 -0600)] 
 
Merge pull request #13771 from Liuchang0812/wip-add-override-in-msg-headers 
 
common: add override in msg subsystem 
 
Reviewed-by: Kefu Chai <kchai@redhat.com>  
Jason Dillaman  [Wed, 8 Mar 2017 13:42:33 +0000  (08:42 -0500)] 
 
Merge pull request #13782 from vshankar/wip-19034 
 
rbd: use concurrent writes for imports 
 
Reviewed-by: Jason Dillaman <dillaman@redhat.com>  
Jason Dillaman  [Wed, 8 Mar 2017 13:41:44 +0000  (08:41 -0500)] 
 
Merge pull request #13752 from trociny/wip-19130 
 
librbd: relax "is parent mirrored" check when enabling mirroring for pool 
 
Reviewed-by: Jason Dillaman <dillaman@redhat.com>  
Loic Dachary  [Wed, 8 Mar 2017 12:16:49 +0000  (13:16 +0100)] 
 
Merge pull request #13444 from dachary/wip-18943-device-class 
 
crush: add devices class that rules can use as a filter 
 
Reviewed-by: Sage Weil <sage@redhat.com>  
Abhishek L  [Wed, 8 Mar 2017 12:14:25 +0000  (13:14 +0100)] 
 
Merge pull request #13835 from theanalyst/doc/releases/10.2.6 
 
doc: Jewel 10.2.6 release notes 
 
Reviewed-by: Sage Weil <sage@redhat.com>  
Reviewed-by: Loic Dachary <ldachary@redhat.com>  
John Spray  [Wed, 8 Mar 2017 11:56:01 +0000  (11:56 +0000)] 
 
Merge pull request #13453 from xiaoxichen/drop_mallinfo 
 
common/MemoryModel: Bump int to long and drop mallinfo 
 
Reviewed-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 8 Mar 2017 11:48:53 +0000  (11:48 +0000)] 
 
Merge pull request #13580 from ukernel/wip-18914 
 
client: wait for lastest osdmap when handling set file/dir layout 
 
Reviewed-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 8 Mar 2017 11:35:25 +0000  (11:35 +0000)] 
 
Merge pull request #13691 from Liuchang0812/wip-add-override-in-mds-headers 
 
mds: add override in headers 
 
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>  
John Spray  [Wed, 8 Mar 2017 11:18:39 +0000  (11:18 +0000)] 
 
Merge pull request #12786 from jcsp/wip-11950 
 
#11950: Persistent purge queue 
 
Reviewed-by: Yan, Zheng <zyan@redhat.com>  
John Spray  [Fri, 3 Mar 2017 12:25:05 +0000  (12:25 +0000)] 
 
mds: handle Journaler::recover errors in PurgeQueue 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Fri, 3 Mar 2017 12:24:41 +0000  (12:24 +0000)] 
 
qa: update TestDamage for PurgeQueue 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Fri, 3 Mar 2017 10:00:15 +0000  (10:00 +0000)] 
 
qa: update TestFlush for changed stray perf counters 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 1 Mar 2017 12:33:05 +0000  (12:33 +0000)] 
 
mds: flush PQ even when not consuming 
 
In normal operation we generate flushes from 
_consume when we read from the journaler.  However, 
we should also have a fallback flush mechanism for 
situations where can_consume() is false fo a long time. 
 
This comes up in testing when we set throttle to zero to 
prevent progress, but would also come up in real life if 
we were busy purging a few very large files, or if purging 
was stuck due to bad PGs in the data pool -- we don't want 
that to stop us completing appends to the PQ. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Mon, 13 Feb 2017 17:17:29 +0000  (17:17 +0000)] 
 
qa: add TestStrays.test_purge_queue_op_rate 
 
For ensuring that the PurgeQueue code is not generating 
too many extra IOs. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Mon, 13 Feb 2017 12:01:40 +0000  (12:01 +0000)] 
 
mds: write_head when reading in PurgeQueue 
 
Previously write_head calls were only generated 
on the write side, so if you had a big queue 
and were just working through consuming it, you 
wouldn't record your progress, and on a daemon 
restart would end up repeating a load of work. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Mon, 13 Feb 2017 12:00:42 +0000  (12:00 +0000)] 
 
osdc: expose Journaler::write_head_needed 
 
So that callers on the read side can optionally 
do their own write_head calls according to 
the same condition that Journaler uses 
internally for its write_head during _flush() condition. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Mon, 13 Feb 2017 00:50:11 +0000  (00:50  +0000)] 
 
mds: remove unnecessary flush() from PurgeQueue 
 
We can drive all flushing from the read side. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Mon, 13 Feb 2017 00:48:51 +0000  (00:48  +0000)] 
 
mds: update for removing Timer from Journaler 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Mon, 13 Feb 2017 00:16:29 +0000  (00:16  +0000)] 
 
osdc: less aggressive prefetch in read/write Journaler 
 
Previously, if doing a write/is_readable/write/is_readable sequence, 
you'd end up doing a flush after every write, even though there 
was already a flush in flight that would advance the readable-ness 
of the journal. 
 
Because this flush-during-read path is only active when using 
a read/write journal such as in PurgeQueue, tweak the behaviour 
to suit this case. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Sun, 12 Feb 2017 23:24:41 +0000  (23:24 +0000)] 
 
osdc: remove Journaler "journaler_batch_*" settings 
 
This was an unused code path.  If anyone set a nonzero 
value here the MDS would crash because the Timer implementation 
has changed since this code was written, and now requires 
add_event_after callers to hold the right lock. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Sat, 11 Feb 2017 14:55:52 +0000  (14:55 +0000)] 
 
mds: add error handling in PurgeQueue 
 
For decode errors, and for Journaler errors. 
Both are considered damage to the MDS rank, as 
with other per-rank data structures. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 8 Feb 2017 16:24:24 +0000  (16:24 +0000)] 
 
mds: expose progress during PurgeQueue drain 
 
We don't track an item count, but we do have 
a number of bytes left in the Journaler, so 
can use that to give an indication of progress 
while the MDS rank shutdown is waiting for 
the PurgeQueue to do its thing. 
 
Also lift the ops limit on the PurgeQueue 
when it goes into the drain phase. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Thu, 2 Feb 2017 14:41:49 +0000  (14:41 +0000)] 
 
mds: update PurgeQueue for single-ack OSD change 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Sun, 25 Dec 2016 16:45:09 +0000  (16:45 +0000)] 
 
mds: create purge queue if it's not found 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Sat, 24 Dec 2016 20:11:40 +0000  (20:11 +0000)] 
 
qa/cephfs: add TestStrays.test_purge_on_shutdown 
 
...and change test_migration_on_shutdown to 
specifically target non-purgeable strays (i.e. 
hardlink-ish things). 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Fri, 23 Dec 2016 19:23:20 +0000  (19:23 +0000)] 
 
mds: wait for purgequeue on rank shutdown 
 
Also, move shutdown_pass call from dispatch 
to tick, so that it doesn't rely on incoming 
messages to make progress. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Fri, 23 Dec 2016 18:59:39 +0000  (18:59 +0000)] 
 
qa: update test_strays for purgequeue 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Fri, 23 Dec 2016 18:00:17 +0000  (18:00 +0000)] 
 
mds: implement PurgeQueue throttling 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 21 Dec 2016 11:22:30 +0000  (11:22 +0000)] 
 
mds: add stats to PurgeQueue 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Mon, 19 Dec 2016 14:03:04 +0000  (14:03 +0000)] 
 
mds: move dir purge and truncate into purgequeue 
 
Signed-off-by: John Spray <john.spray@redhat.com>