Sage Weil
8dcaacbb05
man/8/ceph-disk: fix formatting issue
...
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/man/8/ceph-disk.rst:39: Unexpected indentation.
WARNING: /srv/autobuild-ceph/gitbuilder.git/build/doc/man/8/ceph-disk.rst:40: Block quote ends without a blank line; unexpected unindent.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-09 12:30:23 -05:00
Jason Dillaman
ed7906e59d
test: update rbd integration cram tests for new default features
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-09 11:42:16 -05:00
Kefu Chai
06586037b1
Merge pull request #7847 from wido/mirroring-fixes
...
Updated scripts and documentation for mirrors
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-09 23:50:16 +08:00
Wido den Hollander
2025d631cc
Add script to test connectivity and availability of Ceph mirrors
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2016-03-09 16:48:41 +01:00
Wido den Hollander
0a7407b2b6
mirror: Add examle rsync daemon configuration
...
This can be used by mirrors to offer a rsync service to end-users
Signed-off-by: Wido den Hollander <wido@42on.com>
2016-03-09 16:48:41 +01:00
Wido den Hollander
63be401a41
doc: Updated docs with additional mirror information
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2016-03-09 16:48:36 +01:00
Sage Weil
2dc78c86d8
Merge pull request #7552 from dachary/wip-14669-key-management
...
ceph-disk: key management support
Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-09 10:31:53 -05:00
Sage Weil
0a930e4267
Merge pull request #7995 from majianpeng/bluestore-dump-onode
...
osd: bluestore: allow _dump_onode dynamic accept log level
Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-09 10:18:28 -05:00
Jianpeng Ma
39954daccf
os/bluestore/BlueStore: Allow _dump_onode dynamic accept log level.
...
Make _dump_onode dynamic accept different log level in different case.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-03-09 23:28:06 +08:00
Sage Weil
5c7f74efe8
Merge pull request #7996 from majianpeng/bluestore-fullextent-overwrite
...
osd: bluestore: for overwrite a extent, allocate new extent on min_alloc_size write
Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-09 10:13:43 -05:00
Jianpeng Ma
5a5969e99a
os/bluestore/BlueStore: For overwrite a extent, allocate new extent rather than WAL.
...
This bug introduce by commit:b0b4b6de362f0edf. This commit forget this
case which overwrite(0, bluestore_min_alloc_size).
For this case it need a new extent rather than WAL.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-03-09 23:52:23 +08:00
Yan, Zheng
e515f1423d
client: pass proper old snap context to queue_cap_snap()
...
the snap realm for split point can be newly created, its snap context
is empty in this case.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-09 22:06:25 +08:00
Yan, Zheng
bd611ab189
client: flush kernel pagecache before creating snapshot
...
Fixes : #10436
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-09 22:06:12 +08:00
Loic Dachary
d29f610b9b
Merge pull request #7960 from SUSE/wip-docdev-mon
...
doc/dev: continue writing Testing in the cloud chapter
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-03-09 16:41:14 +07:00
Nathan Cutler
323c267971
doc/dev: Continue writing Testing in the cloud chapter
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-09 09:23:39 +01:00
Yan, Zheng
9e3441733c
ceph_test_libcephfs: shutdown without closing file/dir
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-09 14:40:06 +08:00
Yan, Zheng
8fc1b1b095
client: close opened dirs when umounting
...
Fixes : #14996
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-09 14:40:06 +08:00
Josh Durgin
2c01f91168
Merge pull request #7986 from liewegas/wip-xxhash
...
xxhash: use clone of xxhash.git; add .gitignore
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-08 15:22:26 -08:00
Sage Weil
aab91667c4
xxHash: add .gitignore for build artifacts
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-08 16:18:00 -05:00
Sage Weil
517a9d6d52
.gitmodules: use github.com/ceph/xxHash clone
...
This lets us add our own commits, if necessary.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-08 16:04:31 -05:00
Jason Dillaman
b705a71b9f
librbd: refresh image if required before replaying journal ops
...
Fixes : #14908
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 13:20:24 -05:00
Sage Weil
1c99dc2f4f
doc/release-notes: v10.0.4
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-08 11:37:12 -05:00
Sage Weil
bc565e054e
Merge pull request #7966 from dachary/wip-release-notes
...
release-notes: draft v10.0.4 release notes
2016-03-08 11:33:52 -05:00
Sage Weil
8384f16de2
Merge pull request #7880 from SUSE/wip_keyring_permisions_for_mon_deamon_14950
...
mon: fix keyring permissions
Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-08 11:22:08 -05:00
Sage Weil
46007d271f
Merge pull request #7121 from efirs/ef_eversion_t_no_sprintf
...
osd: Replace snprintf with faster implementation in eversion_t::get_key_name
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-08 11:21:42 -05:00
Sage Weil
34b7c824f9
Merge pull request #7141 from jecluis/wip-mon-clockskew
...
mon: make clock skew checks sane
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-08 11:21:20 -05:00
Sage Weil
b533cf107a
Merge pull request #7899 from liewegas/wip-osd-markdown
...
test/osd: Relax the timing intervals in osd-markdown.sh
2016-03-08 11:20:54 -05:00
Sage Weil
84caba5277
Merge pull request #7900 from liewegas/wip-bluefs-alignment
...
osd: bluefs: fix alignment for odd page sizes
Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-08 11:20:43 -05:00
Sage Weil
bdd2ddb387
Merge pull request #7904 from liewegas/wip-log-delete
...
log: use delete[]
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-03-08 11:20:10 -05:00
Jason Dillaman
4ded44aa5e
journal: possible race condition during fetch playback
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 11:01:33 -05:00
Jason Dillaman
3982895286
test: fix errors introduced by rebase to master
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 10:35:41 -05:00
Jason Dillaman
b37f135c64
journal: clean up playback notification handling
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 10:08:13 -05:00
Jason Dillaman
b710374001
tests: updated test cases for librbd journal tag allocation
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:44 -05:00
Jason Dillaman
21d959529c
journal: properly handle tag transition
...
Now that the tag concept has been re-used for delineating epochs for
librbd, we need playback to properly handle the cases where the active
playback tag abruptly ends and a newer tag is inserted in the first
splay offset object.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:44 -05:00
Jason Dillaman
3325b871ee
journal: additional debug messages surrounding commit updates
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Jason Dillaman
8444da8480
librbd: improved debugging for journal client / tag processing
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Jason Dillaman
16d5e695c3
librbd: allocate new journal tag when acquiring exclusive lock
...
The journal tag tracks a write epoch within the image, so before
allowing writes to proceed, ensure the journal entries will be
stored under a new epoch.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Jason Dillaman
cbcfedf7d6
librbd: add tag handling to journal state machine
...
The journal will not retrieve the tag class for the image within
the journal in addition to the most recently allocated tag. Also
added helper methods to allocate new tags.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Jason Dillaman
a4dd788588
journal: helper method to retrieve in-memory client data
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Jason Dillaman
708c72cb0a
rbd-mirror: local pool id no longer stored in client registration
...
The remote pool name should match the remote pool name.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Jason Dillaman
dbcbaa6e5c
librbd: update journal client and tag data structures
...
The mirror peer now holds remote's image id as well as a collection
of bootstrap sync points. The tag now contains uuids to map back
to the owning pool.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Jason Dillaman
9892fd782c
librbd: allocate new uuid when enabling mirroring
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Jason Dillaman
174359baab
cls_rbd: support for uuid to represent a mirrored pool
...
This uuid will be used as the client id for remote peer image
journals. This will allow the uuid to be also utilized within
the librbd journal tag for tracking epoch ownership.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 09:03:43 -05:00
Ken Dreyer
19798efdd1
Merge pull request #7742 from ErwanAliasr1/evelu-spec
...
Adding build requires
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2016-03-08 06:51:44 -07:00
Kefu Chai
92628f5699
common/strtol.cc: fix the coverity warnings
...
* promote the compared types properly to address the signed/unsigned
comparison warnings. this also fixes the potential problems of
slicing a compared type down to a "smaller" type before the
comparison.
* check for the width of resulting type and shift bits caused by SI
prefix to avoid the -Wshift-count-overflow warnings. this again
is a potential issue, as shifting n bits of an integer of m bits
width, where n >= m, leads to undefined behaviour.
* add a test for the 2nd fixed issue.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-03-08 20:57:45 +08:00
Jason Dillaman
7fd230f6e8
rbd-mirror: integrate single thread pool for all processing
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 07:11:51 -05:00
Jason Dillaman
3496e7772d
librbd: own the lifecycle of the journaler's threads
...
This is the first step in merging the journal threads into the
librbd singleton thread pool.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 07:11:51 -05:00
Jason Dillaman
f983b80a95
journal: use provided work queue and timer
...
This avoids the need to open two threads per journaler.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 07:11:51 -05:00
Jason Dillaman
a00eae006d
journal: pass metadata instead of finisher to FutureImpl
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-08 07:11:51 -05:00
Kefu Chai
37f3fc9ea4
Merge pull request #7972 from badone/wip-CMakeLists-dup-line
...
cmake: Remove duplicate find_package libcurl line.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-08 19:31:25 +08:00