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
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
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
Sage Weil
2437693309
ceph-rest-api: drop autotools detection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
7e574da961
vstart.sh: drop autotools detection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
4ccb6e34ad
detect-build-env-vars.sh: drop autotools detection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
404f476ed0
ceph: remove autotools detection
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
784fe23812
doc: remove old .libs reference
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
b58d230369
unittest_compression_*: remove lib dir hackery
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-26 15:50:30 -04:00
Sage Weil
ddafda88a3
Merge pull request #10143 from majianpeng/bluefs-fix
...
os/bluestore/BlueFS: don't inc l_bluefs_files_written_wal if overwrite.
2016-09-26 13:09:44 -05:00
John Spray
80b30ec399
Merge pull request #11138 from jcsp/wip-17236
...
mds: handle blacklisting during journal recovery
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-09-26 17:01:07 +01:00
Leo Zhang
9996b49265
doc: missing "make vstart" in quick_guide.rst
...
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2016-09-26 23:25:29 +08:00
Sage Weil
f6bac2c00d
Merge pull request #11220 from stiopaa1/mds_mdsdaemon_CMDSTickclass
...
mds/MDSDaemon: move C_MDS_Tick class to .cc file
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-26 09:27:54 -05:00
Sage Weil
49ecdac236
Merge pull request #11224 from wjwithagen/patch-13
...
osd-fast-mark-down.sh: fix typo in variable assignments
2016-09-26 09:27:27 -05:00
Sage Weil
fc8e7f313b
Merge pull request #11212 from liewegas/wip-bluestore-spanning-leak
...
os/bluestore: drop unreferenced spanning blobs
2016-09-26 08:45:52 -05:00
Sage Weil
438b6f1cee
Merge pull request #11223 from somnathr/wip-bluestore-leak-fix
...
os/bluestore: fix spanning blob leak from ~ExtentMap
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-26 08:44:51 -05:00
Sage Weil
2c24454543
Merge pull request #11219 from xiexingguo/xxg-wip-fsck-0924
...
os/bluestore: fix fsck() won't catch stray shard sometimes
Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-26 08:43:24 -05:00
Ricardo Dias
5c737038dd
rbd-mirror: test: Fixed timeout problem in rbd_mirror_stress.sh
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 14:25:25 +01:00
Ricardo Dias
aa959e71fe
rbd: Fix race between journal flush and append events
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 14:25:25 +01:00
Ricardo Dias
7b740f5b4a
journal: make librados call async in ObjectRecorder
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 14:25:25 +01:00
Yan, Zheng
748777dd41
client: protect InodeRef with client_lock
...
Fixes: http://tracker.ceph.com/issues/17392
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-09-26 21:20:26 +08:00
Willem Jan Withagen
db603d8f5b
osd-fast-mark-down.sh: fix typo in variable assignments
...
Assignments to variables do not want a '$' in front of them.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-26 14:44:32 +02:00
Ricardo Dias
5c88edd68a
journal: increase concurrency of journal recorder
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 10:26:21 +01:00