Commit Graph

53531 Commits

Author SHA1 Message Date
Kefu Chai
a590094f05 cmake: reuse secret.c's object library
so we don't need to recompile it when using it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-19 13:00:25 +08:00
Tamilarasi Muthamizhan
e1680af240 Merge pull request #9153 from ceph/openstack_wusui
OpenStack setup scripts.
2016-05-18 18:03:32 -07:00
Jason Dillaman
b64cb31f8e librbd: metadata retrieval added to open image state machine
Fixes: http://tracker.ceph.com/issues/15928
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 20:38:13 -04:00
Jason Dillaman
985cb38211 cls_rbd: async version of metadata_list helper method
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 20:38:12 -04:00
Yehuda Sadeh
c9b39edb96 Merge pull request #8669 from dreamhost/wip-15532
rgw/s3website: ErrorDoc & Double-fault support

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-18 16:36:10 -07:00
Sage Weil
8eec3d7afc Merge pull request #9150 from stiopaa1/compatset_removeIncludeVector_mc
common: CompatSet.h: remove unneeded #include<vector>

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-18 17:07:18 -04:00
Sage Weil
5e1959c343 Merge pull request #9158 from cxwshawn/wip-tc-fix
osd: erase duplicated header include

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-18 17:03:52 -04:00
Sage Weil
9aaef8299f Merge pull request #9169 from stiopaa1/osd_hitSetRemoveFormatterInclude
osd/HitSet: remove unneeded #include - Formatter

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-18 17:02:14 -04:00
Sage Weil
63c1719882 Merge pull request #9186 from stiopaa1/osd_fixTypoInComment
osd/OSD.h: fix typo in comment
2016-05-18 17:01:17 -04:00
Michal Jarzabek
e770b25a28 osd/OSD.h: fix typo in comment
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-18 21:52:29 +01:00
Yann Dupont
1748994d62 mailmap: Luo Runbing affiliation (was "runsisi", name normalization between Huazhong University of Science and Technology part & ZTE .)
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-18 22:30:34 +02:00
Sage Weil
03d33e5997 xio: rename enqueue_for_send() to enqueue()Reviewed-by: Sage Weil <sage@redhat.com>
xio: rename enqueue_for_send() to enqueue()

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-18 16:25:08 -04:00
Yann Dupont
6a5c19cc95 mailmap: Jenkis affiliation (name normalization)
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-18 22:24:21 +02:00
Mykola Golub
1da9e725d2 Merge pull request #9181 from dillaman/wip-rbd-mirror-test
qa/workunits/rbd: fixed rbd_mirror teuthology runtime errors

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-18 23:10:02 +03:00
Yann Dupont
87a4ee7651 mailmap: Fangchen Sun affiliation (and name normalisation, was "sunspot")
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-18 22:08:18 +02:00
Yann Dupont
10fe27a735 mailmap: Jacek J. Łakis affiliation (name normalisation)
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-18 22:08:09 +02:00
Yann Dupont
24ac32ca6d mailmap: Sangdi Xu affiliation (name normalisation)
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-18 22:08:00 +02:00
Yann Dupont
fd72001e57 mailmap: Roland Mechler affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-18 22:07:52 +02:00
Yann Dupont
f00582fc6d mailmap: Etienne Menguy affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-18 22:07:42 +02:00
Casey Bodley
9244627cb1 radosgw-admin: fix 'period push' handling of --url
was calling send_to_remote_gateway(), but passing 'url' instead of
'remote'. now uses send_to_remote_or_url() to accept either

Fixes: http://tracker.ceph.com/issues/15926

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-18 15:40:49 -04:00
Jason Dillaman
8ef09c4d8d qa/workunits/rbd: fixed rbd_mirror teuthology runtime errors
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 15:02:14 -04:00
Warren Usui
33bdb5be30 Add date to README 2016-05-18 11:27:10 -07:00
Samuel Just
444a107947 Merge pull request #8307 from songbaisen/song16
mon: paxos small optimization on store_state

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-18 10:38:31 -07:00
Samuel Just
040bccb49f Pipe: take a ref to existing while we are waiting
Pipe: take a ref to existing while we are waiting

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-05-18 10:35:23 -07:00
Sage Weil
40a57c0e82 Merge pull request #9159 from tchaikov/wip-kill-warnings
osd,auth: silence "-Wmisleading-indentation" warnings

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-18 13:34:38 -04:00
Mykola Golub
b11c07233a journal: live replay might skip entries from previous object setReviewed-by: Mykola Golub <mgolub@mirantis.com>
journal: live replay might skip entries from previous object set

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-18 20:29:22 +03:00
Jason Dillaman
9a2015f9b0 Merge pull request #9092 from trociny/wip-15746
doc: update mirroring guide to include pool/image status commands

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 13:21:19 -04:00
Jason Dillaman
e2ab3128a3 qa/workunits/rbd: rbd-mirror daemon stress test
This test repeatedly runs rbd bench-write, kills the process
randomly to create an unclean journal shutdown, and verifies
that the image content replicates correctly.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:47 -04:00
Jason Dillaman
9454f7e4c6 journal: skip partially complete tag entries during playback
If a journal client does not fully write out its buffered entries
before quiting, replay should skip over all remaining out-of-
sequence entries for the tag.

Fixes: http://tracker.ceph.com/issues/15864
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:29 -04:00
Jason Dillaman
0a8a6126ea journal: helper method to detect newer tags
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:29 -04:00
Jason Dillaman
de830057d0 journal: close, advance, and open object set ordering
Flush in-flight appends to open objects before advancing the
active object set.  Additionally, don't start recording to the
new objects until after advancing the active set.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:29 -04:00
Jason Dillaman
bba91437db journal: new ObjectRecorder closed callback
The callback will be invoked if there were in-flight appends
when the close was requested.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:29 -04:00
Jason Dillaman
45620dc312 journal: do not flag append as full if already known to be full
Once an object has overflowed or a close is in-progress, re-attempting
to close the object is not needed since the async process is already
underway.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:29 -04:00
Jason Dillaman
ee8d311a1f journal: delay object overflow event until in-flight appends settled
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:29 -04:00
Jason Dillaman
a13cb821f7 journal: ignore flush on closed/overflowed object
The journal would be in-progress on transitioning to a new
object recorder in a newer object set.  Once the records
re-attach to the new object player they will automatically
flush.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:29 -04:00
Jason Dillaman
1cb9b1a1b2 journal: implicitly detach future's flush handler on append
If the future is already in-flight, there is no purpose served
by requesting the future be flushed to disk.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:28 -04:00
Jason Dillaman
ca89abfd9e journal: async callback for advancing the active object set
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:28 -04:00
Jason Dillaman
6056f8c45c journal: re-fetch active object before advancing set during replay
During a live replay, it's possible that an append and and overflow
into the next object could race with the live playback of the same
object.  Re-fetch an "empty" object at least once before advancing
to next set to ensure all records have been read.

Fixes: http://tracker.ceph.com/issues/15665
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 11:02:28 -04:00
John Spray
63c70ad29f Merge pull request #8747 from jcsp/wip-15599
client: report root's quota in statfs (#15599)

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2016-05-18 14:20:22 +01:00
John Spray
6950ce04ba Merge pull request #8582 from ukernel/wip-trim-purging
MDS: don't pin purging denties

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-18 14:18:17 +01:00
Casey Bodley
40c4d15075 rgw: add_zone only clears master_zone if --master=false
Fixes: http://tracker.ceph.com/issues/15901

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-18 09:15:37 -04:00
Mykola Golub
8c7f1b679d test: fix compilation warning
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-18 10:14:53 +03:00
Mykola Golub
cbd8d526f9 rbd-mirror: calculate behind_master only if mirror tag is not newer than master
Fixes: http://tracker.ceph.com/issues/15916
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-18 10:07:55 +03:00
Sage Weil
ba01b2b636 Merge pull request #9166 from chhabaramesh/master
os/bluestore/BitmapFreelistManager: fix length calculation

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-18 02:22:06 -04:00
Ramesh Chander
38714752f2 fixing wrong length cal in BitmapFreelist
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-05-17 23:13:19 -07:00
Kefu Chai
badc596d72 man: osdmaptool: document test-map-pgs* options
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-18 10:41:35 +08:00
Kefu Chai
acac4bcbcc Merge pull request #8350 from songbaisen/song17
mon: do not alloc monmap on heap in Elector::dispatch()

Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-18 10:11:54 +08:00
Robin H. Johnson
fd35ad001c rgw/s3website: whitespace style fixes
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-05-17 17:40:32 -07:00
Robin H. Johnson
2fd7bc8cbe rgw/s3website: Fix ErrocDoc memory leak.
Yehuda pointed [1] out a memory leak with the RGWGetObj not being handed back, and
suggested that shared_ptr was used to handle it, rather than the prior approach
of explicitly calling handler->put_op.

This commit implements just that change, in isolation from other changes, for
ease of comparision testing.

X-Reference-1: https://github.com/ceph/ceph/pull/8669#discussion_r63445516
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-05-17 17:40:25 -07:00
Samuel Just
8817cac4e0 Merge pull request #9026 from badone/wip-log-syslog-info
log: Log.cc: Assign LOG_INFO priority to syslog calls

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-17 12:02:58 -07:00