John Spray
d8fa553db9
mds: introduce DAMAGED state
...
This state is for MDS daemons to report to
the monitor that they encountered an unfixable
error during startup/replay. The implication
is that this rank should not be assigned to
another MDS daemon until offline repair is
performed, thus avoiding it flapping around
between failing daemons.
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-23 10:55:07 +00:00
John Spray
699bf38e03
mds: remove unused Beacon::last_send
...
This was just a typo in the header, although someone
dutifully also added initialization of it to the constructor
at some stage too!
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-23 10:55:07 +00:00
John Spray
8a813bd089
mds: remove a spurious #if 1
...
This crept in in f93bf385
.
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-23 10:55:07 +00:00
John Spray
0cf1c7ad8a
mds: be fairer in enqueuing purges
...
Don't let purges that require fewer ops skip ahead of those
that require more ops.
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-23 10:19:15 +00:00
Kefu Chai
c7826567c0
doc: update .rst file with their .8 counterparts
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-03-23 17:56:33 +08:00
Jianpeng Ma
d7cbf914e6
osd/ReplicatedPG: For CEPH_OSD_OP_ASSERT_VER, it should use
...
op.assert_ver rather than op.watch.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-03-23 15:12:23 +08:00
Loic Dachary
c60ba6af8c
Merge pull request #4134 from dzafman/wip-dzman-hammer
...
Minor man page improvement
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-23 00:41:17 +01:00
David Zafman
0a0d8f691e
doc: Regenerate man/ceph.8 based on ceph.rst changes
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-03-22 15:28:17 -07:00
David Zafman
eb890b1bdc
doc: Break ceph osd pool get into sections based on pool type
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-03-22 15:28:17 -07:00
Haomai Wang
b468548557
Merge pull request #4135 from ceph/wip-11198
...
Fix ceph_test_async_driver failed
2015-03-23 00:01:08 +08:00
Haomai Wang
cd11daa2d2
Fix ceph_test_async_driver failed
...
This test will create 10000 sockets which will failed because of limited system fd. Actually we only need to create several hundreds sockets and it's enough to get the test's goal.
Fix bug #11198
2015-03-22 23:59:19 +08:00
Loic Dachary
297b9f9e54
Merge pull request #3873 from tchaikov/cli-human-readable-errno
...
rados: translate errno to str in CLI
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-22 09:19:58 +01:00
Loic Dachary
61e4932867
Merge pull request #3841 from ceph/wip-10217
...
qa/workunits/fs/misc: fix filelock_interrupt.py
Reviewed-by: John Spray <john.spray@redhat.com>
2015-03-22 09:08:21 +01:00
Loic Dachary
8d51d922b6
Merge pull request #3829 from liewegas/wip-recovery-sleep
...
osd: inject simple sleep in recovery
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-22 09:03:57 +01:00
Sage Weil
f9cb165d75
Merge pull request #3685 from XinzeChi/wip-mark-started
...
osd: clear extra mark_started
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-21 15:23:47 -07:00
Sage Weil
4333fd3575
Merge pull request #3282 from tchaikov/pq-test
...
common/PrioritizedQueue: add basic tests for it
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-03-21 14:53:36 -07:00
Sage Weil
c145e47267
Merge pull request #3177 from davidzhang84/wip-inject-eio-ec
...
Add EIO injection on EC pool for mdata and data error only for now
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-21 14:52:51 -07:00
Sage Weil
6710aec8e2
Merge pull request #3889 from XinzeChi/wip-tier-stat
...
osd: add l_osd_op_cache_hit perf counter for cache pool
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-21 14:39:54 -07:00
Sage Weil
714fac3df0
Merge pull request #4010 from majianpeng/osdmap-nspace
...
mon:make 'ceph osd map' accept namespace.
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-21 14:39:35 -07:00
Loic Dachary
ec0a403013
Merge pull request #4130 from dachary/wip-backports
...
doc: what does it mean for a release to be supported
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-03-21 11:22:49 +01:00
Loic Dachary
5f7a838d9f
doc: what does it mean for a release to be supported
...
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-21 11:06:28 +01:00
David Zafman
175aff8afe
ceph-objectstore-tool: Use exit status 11 for incompatible import attempt
...
This is used so upgrade testing doesn't generate false failure.
Fixes : #11139
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-03-20 17:48:01 -07:00
Sage Weil
9094dc450c
Merge pull request #4122 from trhoden/rgw-quickstart
...
doc: Add RGW quick start info
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-20 17:45:38 -07:00
Sage Weil
68719f5838
osd: fix omap digest clearing for omap write ops
...
1. setvals clears the digest, even for a new object, since we aren't doing
anything clever with the digest for the provided keys (yet).
2. setheader clears the digest, always, since we aren't doing anything
clever.
Backport: hammer
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-20 17:17:35 -07:00
Sage Weil
d5b3bd76dd
os/MemStore: make omap_clear zap the omap header too
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-20 17:17:30 -07:00
Sage Weil
d2467e4061
ceph_test_rados_api_aio: verify omap_clear clears header, too
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-20 17:17:04 -07:00
Yehuda Sadeh
2374567017
Merge pull request #4098 from ceph/wip-11128
...
auth: reinitialize NSS modules after fork()
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-03-20 17:11:35 -07:00
David Zafman
5b23f5b589
ceph-objectstore-tool: Output only unsupported features when incomatible
...
Fixes : #11176
Backport: firefly, giant
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-03-20 16:57:40 -07:00
Dan Mick
120300febe
Merge pull request #4040 from dzafman/wip-11092-11093
...
Fix ceph pg dump_stuck with multiple options
Reviewed-by: Dan Mick <dmick@redhat.com>
2015-03-20 16:39:00 -07:00
Yan, Zheng
cf058174fe
auth: use crypto_init_mutex to protect NSS_Shutdown()
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-03-21 07:14:22 +08:00
Travis Rhoden
ab647bd520
doc: Add RGW quick start info
...
Add details of how to use ceph-deploy to deploy the CivetWeb-based
RGW present in Hammer.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
2015-03-20 18:55:08 -04:00
Yann Dupont
fe7cdb3f40
mailmap: Wuxingyi affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:33:27 +00:00
Sage Weil
8041636b72
Merge pull request #4120 from trhoden/quickstart-mon-create
...
doc: remove reference to old ceph-deploy steps
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-20 14:32:29 -07:00
Travis Rhoden
a9860f5e0f
doc: remove reference to old ceph-deploy steps
...
ceph-deploy 1.1.3 is ancient, and isn't easily found or installed.
No need to reference it and call out the steps necessary to use if
using it.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
2015-03-20 17:10:54 -04:00
Yann Dupont
887cee974d
mailmap: Rohan Mars affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:08:10 +00:00
Yann Dupont
0df83f649d
mailmap: Javier Guerra affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
a9ccd550da
mailmap: Thomas Johnson affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
336957cda4
mailmap: Alfredo Deza affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
5f8a0d6b8b
mailmap: Vicente Cheng affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
ec0ad937e3
mailmap: Fix Xan Peng affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
e72311626c
mailmap: Zhicheng Wei affiliation.
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
1bc0960720
mailmap: Pete Zaitcev affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
eb4f10013f
mailmap: Alexis Normand affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
341218c6a2
mailmap: Florian Marsylle affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:58 +00:00
Yann Dupont
698905c10a
mailmap: Robin Dehu affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2015-03-20 21:06:52 +00:00
Gregory Farnum
1e463ada30
Merge pull request #4103 from ceph/wip-error-str
...
mds: fix error_str formatting in scrub output
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-20 10:59:26 -07:00
Gregory Farnum
7291f733c2
Merge pull request #4116 from ceph/wip-10368
...
mds: call wait_for_safe twice in command_flush_journal
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-20 10:50:56 -07:00
John Spray
035ab3c0e3
mds: call wait_for_safe twice in command_flush_journal
...
...so that we wait until everyone who was waiting for the first
wait_for_safe has run their completion before we proceed, thus
avoiding the possibility that those completions will execute
during our trimming and cause problems.
Fixes : #10368
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-20 17:11:39 +00:00
Yan, Zheng
4c24d0cc07
auth: reinitialize NSS modules after fork()
...
Fixes : #11128
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-03-21 01:08:11 +08:00
Yan, Zheng
f183cd7c21
auth: properly return error of cephx_calc_client_server_challenge
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-03-21 01:05:08 +08:00