Mykola Golub
3c270b57bf
librbd: async state machine to enable/disable image features
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
606344dd29
librbd: templetize journal StandardPolicy
...
It will be needed for unit tests with a mocked ImageCtx.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
4269a5fc0c
librbd: allow to call append_disabled for DisabledPolicy
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
dcfb8aa141
librbd: async methods to enable/disable mirroring
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
953561f841
librbd: async method to check journal tag owner
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:19 +03:00
Mykola Golub
9026b515e6
librbd: async image set flags method
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:18 +03:00
Mykola Golub
a0cf640d58
librbd: async methods to create/remove object map
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:18 +03:00
Mykola Golub
28e576e278
cls/rbd: alow to call set_features asynchronously
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:18 +03:00
Mykola Golub
ac25cb1946
cls/journal: async client_list method
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-28 15:17:18 +03:00
John Spray
bfbb16cae1
Merge pull request #11120 from renhwztetecs/renhw-wip-mds-server
...
mds/server: clean up handle_client_open()
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-09-28 12:14:08 +01:00
John Spray
5524311246
Merge pull request #11078 from ukernel/wip-17271
...
mds: remove fail-safe queueing replay request
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-09-28 12:12:41 +01:00
John Spray
f9f8a36b1e
Merge pull request #11225 from ukernel/wip-17392
...
client: protect InodeRef with client_lock
Reviewed-by: John Spray <john.spray@redhat.com>
2016-09-28 12:10:13 +01:00
Jiaying Ren
ed65930270
doc: cleanup outdated radosgw description
...
radosgw support is on by default, as built-in Civetweb, set up Apache
is no necessary any more.
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2016-09-28 16:52:08 +08:00
xie xingguo
895a76a4fe
os/bluestore: add a counter to trace rejected compress ops
...
This is useful for choosing a more proper bluestore_compression_required_ratio.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-28 15:50:23 +08:00
xie xingguo
9caae754bf
os/bluestore: make allocated space calc a little faster
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-28 15:24:19 +08:00
xie xingguo
6b9988acd3
os/bluestore: binary search specified shard
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-28 13:44:32 +08:00
xie xingguo
9f6344e337
os/bluestore: use std namespace for hex/dec output formatting
...
Because we use std::hex/dec everywhere in bluestore except these two places.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-28 08:32:37 +08:00
xie xingguo
9d909394f1
os/bluestore: remove fadvise_flags from WriteContext
...
Currently fadvise_flags is only used to check whether
buffered write is necessary, so there is no need
to keep it in the WriteContext as we have already
pre-calculated and kept the buffered field instead.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-28 08:32:37 +08:00
xie xingguo
c6adc6e0be
os/bluestore: remove dead local variables from BlueStore::_wctx_finish()
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-28 08:32:37 +08:00
xie xingguo
a5dd191d03
os/bluestore: move nid assignment into BlueStore::_zero()
...
So other callers, such as BlueStore::_clone_range(),
won't do it twice.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-28 08:32:37 +08:00
Sage Weil
ad7487d641
os/bluestore: remove deferred_csum machinery
...
When we added this way back in d4f4fa0312
,
we did not have our own buffer cache, and were relying
on the cache at the BlockDevice layer. In that case,
we would have the problem of a partial wal overwrite
followed by another partial write that needed to read
the rest of the chunk.
However, now we have our own cache, and any data we write
in the _do_write_small() wal path will go into the cache,
which means we will never read the old data off of
disk and need the old csum values.
Remove this now-unnecessary kludge!
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-27 17:07:16 -04:00
Sage Weil
e4ed13fed0
unittest_bluestore_types: init g_ceph_context
...
The methods we're testing use it for dout.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-27 16:23:21 -04:00
Sage Weil
e8dd0883c1
os/bluestore: add assert to compress_extent_map
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-27 14:02:36 -04:00
Sage Weil
67f2602700
Merge pull request #11238 from theanalyst/changelog-v10.2.3
...
doc/changelog: add v10.2.3
2016-09-27 11:02:54 -05:00
Sage Weil
f4ce7f0093
Merge pull request #10814 from liewegas/wip-bluestore-precondition
...
os/bluestore: precondition rocksdb/bluefs during mkfs
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-09-27 11:00:38 -05:00
Abhishek Lekshmanan
9c691776aa
doc/changelog: add v10.2.3
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-09-27 17:59:55 +02:00
Sage Weil
b92c767b6c
ceph_test_objectstore: test move_ranges_destroy_src from Synthetic
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-27 11:56:44 -04:00
Manali Kulkarni
e9244b19e8
ceph_test_objectstore: add merge_delete tests
...
Signed-off-by: Manali Kulkarni <Manali.Kulkarni@sandisk.com>
2016-09-27 11:56:44 -04:00
Manali Kulkarni
8105ded227
os/bluestore: add merge_delete
...
Signed-off-by: Manali Kulkarni <Manali.Kulkarni@sandisk.com>
2016-09-27 11:56:44 -04:00
Manali Kulkarni
fdb8345e82
os/memstore: add merge_delete
...
Signed-off-by: Manali Kulkarni <Manali.Kulkarni@sandisk.com>
2016-09-27 11:56:44 -04:00
Manali Kulkarni
20c45678e6
os/kstore: add merge_delete
...
Signed-off-by: Manali Kulkarni <Manali.Kulkarni@sandisk.com>
2016-09-27 11:56:44 -04:00
Manali Kulkarni
0374420433
os/filestore: add merge_delete
...
Signed-off-by: Manali Kulkarni <Manali.Kulkarni@sandisk.com>
2016-09-27 11:56:44 -04:00
Manali Kulkarni
6a0f3c6736
os/filestore: fix typos
...
Signed-off-by: Manali Kulkarni <Manali.Kulkarni@sandisk.com>
2016-09-27 11:56:43 -04:00
Manali Kulkarni
50ae9a3cf6
os/filestore: fix coll_t handling for CLONERANGE[2]
...
Signed-off-by: Manali Kulkarni <Manali.Kulkarni@sandisk.com>
2016-09-27 11:56:43 -04:00
Manali Kulkarni
e15cdb3242
os/ObjectStore: add merge_delete
...
Signed-off-by: Manali Kulkarni <Manali.Kulkarni@sandisk.com>
2016-09-27 11:56:43 -04:00
Sage Weil
0e2198fa15
os/bluestore: precondition rocksdb on mkfs
...
Write N bytes of garbage to the kv store on startup. With rocksdb,
this ensures that our log files are preallocated.
This option needs to match up with the rocksdb tunables so that it
is enough data to start recycling log files. For now, start with
128MB.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-27 11:38:42 -04:00
Sage Weil
828c100647
Merge pull request #11234 from theanalyst/jewel-release-notes
...
doc/release-notes: v10.2.3 jewel
2016-09-27 10:18:25 -05:00
Sage Weil
5f5880d080
Merge pull request #11216 from liewegas/wip-bluestore-compress-map
...
os/bluestore: prevent extent merging across shard boundaries
Reviewed-by: Somnath Roy <somnath.roy@sandisk.com>
2016-09-27 09:45:38 -05:00
Abhishek Lekshmanan
9f97af26b8
doc/release-notes: more fixes to 10.2.3
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-09-27 16:38:26 +02:00
Jason Dillaman
d4f144ec3b
Merge pull request #10445 from rjfd/wip-15259
...
journal: increase concurrency/parallelism of journal recorder
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-09-27 10:35:01 -04:00
Abhishek Lekshmanan
d12b5f6b5a
doc/release-notes: v10.2.3 jewel
...
Adding release notes for the next jewel release
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-09-27 16:28:05 +02:00
Abhishek Lekshmanan
de0e0edbd5
doc: add v10.2.3 to releases table
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-09-27 16:28:05 +02:00
Leo Zhang
5582407721
doc: drop start development cluster area in index.rst, quick_start.rst also documents this area
...
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2016-09-27 17:15:04 +08:00
huanwen ren
ff59b3804b
tool/cephfs: displaying "list" in journal event mode
...
lack of displaying "list" when use the journal event mode of cephfs-journal-tool
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-09-27 17:04:22 +08:00
Leo Zhang
ee1de7dc14
doc: fix start development cluster operation in index.rst
...
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2016-09-27 15:43:07 +08:00
Greg Farnum
a67f61f029
mds: sort GID lists in MDSAuthCaps
...
Fixes: http://tracker.ceph.com/issues/17368
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-09-26 20:08:56 -07:00
Greg Farnum
6da13e9670
test: temporarily disable tests which relied on MDS' incorrect GID-adding behavior
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-09-26 14:24:05 -07:00
Sage Weil
1f5d75f31a
Merge pull request #11226 from zealoussnow/wip-0926
...
doc: missing "make vstart" in quick_guide.rst
2016-09-26 15:48:40 -05:00
Sage Weil
78e92a9ac7
Merge pull request #11228 from stiopaa1/osd_pg_removeUnneededCount1
...
osd/PG.cc: remove unneeded use of count
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-26 15:42:05 -05:00
Ali Maredia
05c4c9e836
Merge pull request #11229 from liewegas/wip-compressor
...
cmake: remove more autotools hacks
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-09-26 16:36:38 -04:00