Commit Graph

40514 Commits

Author SHA1 Message Date
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
Bosse Klykken
bee7f24ed5 Minor fix: Documentation referred to bootstrap-osd instead of bootstrap-mds
Signed-off-by: Bosse Klykken <larkly@gmail.com>
2015-03-20 15:21:42 +01:00
John Spray
c087025f22 mds: improved doxygen comments in StrayManager
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-20 12:32:48 +00:00
John Spray
0ae624e68d mds: update StrayManager op limit on mds_max_purge_ops_per_pg
Previously was only updating on mds_max_purge_ops

Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-20 12:32:47 +00:00
John Spray
3a0caf9bbb mds: fix parent check in MDCache::eval_remote
This code path wasn't touched until the change
in "mds/Server: fix stray reintegration".  Now we
see that it will crash in fsstress in some circumstances
when the client is doing a link operation, where
we are checking the projected linkage on the DN
before going into this function, but not the projected
parenthood of the inode.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-20 12:32:47 +00:00
John Spray
91867b2b74 mds: make purge op limit dynamic based on PGs/MDSs
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-20 12:32:47 +00:00
John Spray
2f1e10c11a mds: throttle purge stray operations
Pull out the stray-handling code into a separate StrayManager
class.

There is an additional improvement to stray reintegration here,
by passing the DN that triggered the reintegration through,
we should make a better choice about *which* hardlink to
reintegrate the inode into, rather than just picking the first.

Fixes: #10390
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-20 12:32:47 +00:00
John Spray
de157d9476 common/config_opts: add purge throttle options
These are to be respected by the MDS in the number
of concurrent RADOS delete operations and
number of files to be purged at once.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-20 12:32:47 +00:00
John Spray
f180b64c59 osdc: make op count in Filer::purge configurable
Previously this was simply hardcoded to do up to
10 RADOS delete ops at a time.  Make this a config
option so that Filer consumers (like the MDS) can
know how many concurrent operations will be done
on their behalf.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-20 12:32:47 +00:00