]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agorgw: set http status in civetweb 5445/head
Yehuda Sadeh [Wed, 22 Jul 2015 17:01:00 +0000 (10:01 -0700)]
rgw: set http status in civetweb

Need to set the http status in civetweb so that we report it correctly.
Fixes: #12432
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agocivetweb: update submodule to support setting of http status
Yehuda Sadeh [Fri, 31 Jul 2015 18:03:29 +0000 (11:03 -0700)]
civetweb: update submodule to support setting of http status

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #5414 from cxwshawn/master
Yehuda Sadeh [Thu, 30 Jul 2015 17:52:06 +0000 (13:52 -0400)]
Merge pull request #5414 from cxwshawn/master

doc: add bucket object version description.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #5419 from ceph/wip-kfsx-invalidate
Josh Durgin [Thu, 30 Jul 2015 16:25:30 +0000 (09:25 -0700)]
Merge pull request #5419 from ceph/wip-kfsx-invalidate

test_librbd_fsx: invalidate before discard in krbd mode

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #5401 from ceph/wip-12450
Kefu Chai [Thu, 30 Jul 2015 03:36:37 +0000 (11:36 +0800)]
Merge pull request #5401 from ceph/wip-12450

tools/rados: change the default max_ops to 16

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agodoc: add bucket object version description. 5414/head
shawn [Thu, 30 Jul 2015 02:09:12 +0000 (10:09 +0800)]
doc: add bucket object version description.
bucket object version has been supported, but do not have description in the docs,
so add this part.

Signed-off-by: shawn chen <cxwshawn@gmail.com>
10 years agotest_librbd_fsx: invalidate before discard in krbd mode 5419/head
Ilya Dryomov [Wed, 29 Jul 2015 17:50:20 +0000 (20:50 +0300)]
test_librbd_fsx: invalidate before discard in krbd mode

Commit bd050240ceef ("test_librbd_fsx: flush before discard in krbd
mode") added an fsync() before BLKDISCARD.  Don't know what I was
thinking at the time, but I missed the invalidate part, for which we
need to use the BLKFLSBUF ioctl.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agoMerge pull request #5348 from athanatos/wip-12465
Sage Weil [Wed, 29 Jul 2015 13:30:37 +0000 (09:30 -0400)]
Merge pull request #5348 from athanatos/wip-12465

log: take mutex when reopening log fd

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agotools/rados: change the first op id to 0 5401/head
Kefu Chai [Wed, 29 Jul 2015 11:49:53 +0000 (19:49 +0800)]
tools/rados: change the first op id to 0

the first op id was 16 by default, which is okay, but a non-zero
magic number could lead to questions. max_op was mixed up with
max_ops, and changed to 16 in 51e402e3 by mistake.

Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agotools/rados: change the default max_ops to 16
Kefu Chai [Wed, 29 Jul 2015 11:44:57 +0000 (19:44 +0800)]
tools/rados: change the default max_ops to 16

otherwise the load-gen will not emit any ops by default.

Fixes: #12450
Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #5139 from jmunhoz/wip-7817-ms
Yehuda Sadeh [Tue, 28 Jul 2015 18:21:25 +0000 (14:21 -0400)]
Merge pull request #5139 from jmunhoz/wip-7817-ms

rgw: add minimum support for copy multipart part

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #5313 from guce/rgw_access_invalid_argument
Yehuda Sadeh [Tue, 28 Jul 2015 17:55:39 +0000 (13:55 -0400)]
Merge pull request #5313 from guce/rgw_access_invalid_argument

rgw: check subuser illegal access parameter.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #5364 from xdonghai/master
Josh Durgin [Tue, 28 Jul 2015 16:20:55 +0000 (09:20 -0700)]
Merge pull request #5364 from xdonghai/master

doc:modified librados-intro.rst an error of document representation

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #5191 from theanalyst/v9.0.2/mailmap
Loic Dachary [Tue, 28 Jul 2015 14:32:04 +0000 (16:32 +0200)]
Merge pull request #5191 from theanalyst/v9.0.2/mailmap

doc: mailmap for v9.0.2 release

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #5130 from tchaikov/wip-12167
Kefu Chai [Tue, 28 Jul 2015 13:38:38 +0000 (21:38 +0800)]
Merge pull request #5130 from tchaikov/wip-12167

ceph-detect-init: do not require "argparse" on py2.6

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #5338 from hjwsm1989/wip-12459
Kefu Chai [Tue, 28 Jul 2015 13:18:18 +0000 (21:18 +0800)]
Merge pull request #5338 from hjwsm1989/wip-12459

common/WorkQueue: fix the FTBFS with GCC 4.4.7

* add nested-name-specifier ThreadPool before WorkQueueVal

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #5355 from ceph/wip-anotate-s-files
Sage Weil [Tue, 28 Jul 2015 13:10:49 +0000 (09:10 -0400)]
Merge pull request #5355 from ceph/wip-anotate-s-files

Anotate all the .s files

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #5116 from yuyuyu101/wip-compressor
Sage Weil [Tue, 28 Jul 2015 13:05:04 +0000 (09:05 -0400)]
Merge pull request #5116 from yuyuyu101/wip-compressor

Wip compressor

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agomodified librados-intro.rst 5364/head
x11507 [Tue, 28 Jul 2015 12:19:41 +0000 (20:19 +0800)]
modified librados-intro.rst

Signed-off-by: x11507 <xu.donghai@h3c.com>
10 years agoMerge pull request #5254 from vuhuong/wip-xio
Kefu Chai [Tue, 28 Jul 2015 10:49:49 +0000 (18:49 +0800)]
Merge pull request #5254 from vuhuong/wip-xio

@vuhuong sorry for the latency, could you please rebase & repush , to poke the built bot again?

once the build completes, will get it merged.

thanks,

10 years agoMerge pull request #5349 from yuyuyu101/wip-async-fix-21
Haomai Wang [Tue, 28 Jul 2015 09:20:44 +0000 (17:20 +0800)]
Merge pull request #5349 from yuyuyu101/wip-async-fix-21

AsyncConnection: Exit process loop if entering fault

10 years agoMerge remote-tracking branch 'origin/next'
Josh Durgin [Mon, 27 Jul 2015 23:42:12 +0000 (16:42 -0700)]
Merge remote-tracking branch 'origin/next'

10 years agoMerge pull request #5352 from ceph/wip-rbd-help-specs
Josh Durgin [Mon, 27 Jul 2015 22:21:40 +0000 (15:21 -0700)]
Merge pull request #5352 from ceph/wip-rbd-help-specs

rbd: cli help and arg parsing fixes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #5336 from ceph/wip-migrate-event-seq
Gregory Farnum [Mon, 27 Jul 2015 11:39:16 +0000 (12:39 +0100)]
Merge pull request #5336 from ceph/wip-migrate-event-seq

mds: fix val used in inode->last_journaled

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoAnotate all the .s files 5355/head
Boris Ranto [Mon, 27 Jul 2015 11:14:32 +0000 (13:14 +0200)]
Anotate all the .s files

Recent update to erasure code library in 59aa6700 caused a regression
where .s files are no longer properly anotated and yasm sets the exec
stack for them. This patch brings back the anotations as was done before
by Dan Mick, see Bug #10114.

Signed-off-by: Boris Ranto <branto@redhat.com>
10 years agorbd: rename --object-extents option to --whole-object 5352/head
Ilya Dryomov [Thu, 23 Jul 2015 12:49:31 +0000 (15:49 +0300)]
rbd: rename --object-extents option to --whole-object

--object-extents is a bit confusing - extent is generally something of
a varying length and here the meaning is "diff whole objects".  Rename
it to --whole-object (the name of diff_iterate() parameter).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agorbd: du command should take spec as an argument
Ilya Dryomov [Thu, 23 Jul 2015 12:55:47 +0000 (15:55 +0300)]
rbd: du command should take spec as an argument

Change du to take <image-spec> | <snap-spec> as an argument instead of
going through --image option.  The new synopsis is

    (du | disk-usage) [<image-spec> | <snap-spec>]

This is to make it look more like the rest of the commands: the only
other command that takes pool as an argument is ls and it can't really
serve as a prototype for du, because the latter has to work on images
and snapshots as well.

Examples:

    # stats for pool rbd
    $ rbd du
    $ rbd -p rbd du

    # stats for pool foo
    $ rbd -p foo du

    # stats for snapshot mysnap of image baz in pool rbd
    $ rbd du baz@mysnap

    # stats for image bar in pool foo
    $ rbd du foo/bar

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agorbd: assorted cli arg parsing fixes
Ilya Dryomov [Tue, 21 Jul 2015 15:11:20 +0000 (18:11 +0300)]
rbd: assorted cli arg parsing fixes

- import-diff needs image-spec, yet OPT_IMPORT_DIFF was in the list of
  commands that don't need imgname

- check for lock id after imgname, so that if imgname isn't specified
  we fail with imgname rather than lock id error message

- error out if locker isn't specified

- move feature-name validity check after imgname checks so that if
  imgname is malformed we fail with imgname rather than feature error
  message

- error out if image-meta key or value isn't specified

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agorbd: error out if dest_snapname is specified
Ilya Dryomov [Tue, 21 Jul 2015 14:55:55 +0000 (17:55 +0300)]
rbd: error out if dest_snapname is specified

No command uses it as of now, but only clone command fails; cp, mv and
import simply ignore it.  Check if it's set and exit with a generic
error message.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agorbd: import doesn't require image-spec arg, ditto for export and path
Ilya Dryomov [Mon, 20 Jul 2015 14:22:54 +0000 (17:22 +0300)]
rbd: import doesn't require image-spec arg, ditto for export and path

Mark those as such in help and clarify what image-spec defaults to.

Related, all command args in our man page are enclosed into brackets.
I suppose the reason is that they are optional in the sense that you
can have commands like

    $ rbd clone --pool a --image b --snap -c --dest-pool d --dest e

with no args.  Given that we are trying to push people towards

    $ rbd clone a/b@c d/e

undo that so that real optional arguments can be marked optional.
While at it, add synopsis for each command and use backticks for
denoting commands more consistently.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agodoc: use spec syntax in rbd docs
Ilya Dryomov [Fri, 17 Jul 2015 09:41:29 +0000 (12:41 +0300)]
doc: use spec syntax in rbd docs

Use spec syntax instead of --pool, --image and --snap to hopefully push
people towards the former.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agorbd: use image-spec and snap-spec in rbd help
Vikhyat Umrao [Thu, 16 Jul 2015 16:09:54 +0000 (21:39 +0530)]
rbd: use image-spec and snap-spec in rbd help

This patch changes image-name instances to image-spec and snap-name
instances to snap-spec to try to clarify usage for some commands and
disambiguate the term {image,snap}-name, which has been used to denote
both simple names and compound names (specs).

<image-spec> is [<pool-name>]/<image-name>
<snap-spec> is [<pool-name>]/<image-name>@<snap-name>

This patch also removes duplicate checks for image-name and snap-name.

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
[idryomov@gmail.com: some commands take either image-spec or snap-spec,
other fixes, formatting, changelog]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agoCompressor: Remove thread affinity options 5116/head
Haomai Wang [Mon, 27 Jul 2015 06:28:42 +0000 (14:28 +0800)]
Compressor: Remove thread affinity options

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoAsyncConnection: Exit process loop if entering fault 5349/head
Haomai Wang [Mon, 27 Jul 2015 04:34:18 +0000 (12:34 +0800)]
AsyncConnection: Exit process loop if entering fault

"fault" will transmit state to exception state or STATE_CONNECTING, all
transmitted states don't need to check right now.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoMerge pull request #5342 from tchaikov/wip-fix-perf-local-on-arm
Haomai Wang [Sat, 25 Jul 2015 07:19:50 +0000 (15:19 +0800)]
Merge pull request #5342 from tchaikov/wip-fix-perf-local-on-arm

test/perf_local: disable tests on unsupported archs

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
10 years agotest/perf_local: disable tests on unsupported archs 5342/head
Kefu Chai [Fri, 24 Jul 2015 16:25:37 +0000 (00:25 +0800)]
test/perf_local: disable tests on unsupported archs

* maybe we can have div32 tests on aarch64, but i don't
  think "udiv|sdiv" supports 64bits numerator. probably
  we can use float divde for the benchmark...
* disable cpuid test on non-intel archs.

Fixes: #12453
Reported-by: Tom Deneau <tom.deneau@amd.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agoLog::reopen_log_file: take m_flush_mutex 5348/head
Samuel Just [Fri, 24 Jul 2015 22:38:18 +0000 (15:38 -0700)]
Log::reopen_log_file: take m_flush_mutex

Otherwise, _flush() might continue to write to m_fd after it's closed.
This might cause log data to go to a data object if the filestore then
reuses the fd during that time.

Fixes: #12465
Backport: firefly, hammer
Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5316 from shylesh/bugfix
Loic Dachary [Fri, 24 Jul 2015 14:29:35 +0000 (16:29 +0200)]
Merge pull request #5316 from shylesh/bugfix

mon: ceph osd map shows NONE when an osd is missing

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years ago common: add nested-name-specifier ThreadPool before WorkQueueVal 5338/head
huangjun [Fri, 24 Jul 2015 09:17:17 +0000 (17:17 +0800)]
  common: add nested-name-specifier ThreadPool before WorkQueueVal
Fixes: #12459
Signed-off-by: huangjun <hjwsm1989@gmail.com>
10 years agoMerge pull request #5322 from majianpeng/mds-log
John Spray [Fri, 24 Jul 2015 08:43:22 +0000 (09:43 +0100)]
Merge pull request #5322 from majianpeng/mds-log

mmds/MDLog: No make sense set offset for LogEvent in _start_entry.

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agomds: fix val used in inode->last_journaled 5336/head
John Spray [Fri, 24 Jul 2015 08:37:15 +0000 (09:37 +0100)]
mds: fix val used in inode->last_journaled

This was getting assigned with LogEvent::get_start_offset
on an uncommitted LogEvent, which is junk.  During replay
last_journaled is compared with the metablob's event_seq,
so that's what should be used here.

This change just from code inspection -- haven't seen this
manifest as an actual misbehaviour.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #5330 from liewegas/wip-cephtool-test
Loic Dachary [Fri, 24 Jul 2015 06:46:40 +0000 (08:46 +0200)]
Merge pull request #5330 from liewegas/wip-cephtool-test

qa/workunits/cephtool/test.sh: escape osd.* and mon.*

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoqa/workunits/cephtool/test.sh: escape osd.* and mon.* 5330/head
Sage Weil [Thu, 23 Jul 2015 21:04:53 +0000 (17:04 -0400)]
qa/workunits/cephtool/test.sh: escape osd.* and mon.*

Otherwise we get filenames if the glob happens to match something in the
source dir.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge branch 'next'
John Spray [Thu, 23 Jul 2015 19:26:51 +0000 (20:26 +0100)]
Merge branch 'next'

10 years agoMerge pull request #5327 from athanatos/wip-12223
David Zafman [Thu, 23 Jul 2015 19:16:09 +0000 (12:16 -0700)]
Merge pull request #5327 from athanatos/wip-12223

WBThrottle::clear_object: signal if we cleared an object

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #5328 from athanatos/wip-12263
David Zafman [Thu, 23 Jul 2015 19:13:00 +0000 (12:13 -0700)]
Merge pull request #5328 from athanatos/wip-12263

ReplicatedPG::finish_promote: do not prefill new_clones

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoWBThrottle::clear_object: signal if we cleared an object 5327/head
Samuel Just [Tue, 7 Jul 2015 15:49:54 +0000 (08:49 -0700)]
WBThrottle::clear_object: signal if we cleared an object

Fixes: #12223
Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5189 from athanatos/wip-recovery-defaults
David Zafman [Thu, 23 Jul 2015 18:47:37 +0000 (11:47 -0700)]
Merge pull request #5189 from athanatos/wip-recovery-defaults

config_opts: turn down default recovery tunables

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #5329 from athanatos/wip-8193
David Zafman [Thu, 23 Jul 2015 18:46:17 +0000 (11:46 -0700)]
Merge pull request #5329 from athanatos/wip-8193

test/librados/tier.cc: we can exceed the hitset limit while backfilling

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #5323 from ceph/wip-12426
John Spray [Thu, 23 Jul 2015 18:43:53 +0000 (19:43 +0100)]
Merge pull request #5323 from ceph/wip-12426

mon: fix checks on mds add_data_pool

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #4982 from branch-predictor/bp-lighter-rwlocks
Samuel Just [Thu, 23 Jul 2015 18:02:48 +0000 (11:02 -0700)]
Merge pull request #4982 from branch-predictor/bp-lighter-rwlocks

common/RWLock: allow disabling read/write lock counts

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5152 from branch-predictor/bp-rados-aio-overrun
Samuel Just [Thu, 23 Jul 2015 18:00:01 +0000 (11:00 -0700)]
Merge pull request #5152 from branch-predictor/bp-rados-aio-overrun

tools: fix race condition in seq/rand bench

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5093 from guangyy/wip-12162
Samuel Just [Thu, 23 Jul 2015 17:49:00 +0000 (10:49 -0700)]
Merge pull request #5093 from guangyy/wip-12162

osd - pg_interval_t::check_new_interval should not rely on pool.min_size to determine if the PG was active

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoceph-helpers.sh: don't test the osd_max_backfills value 5189/head
Samuel Just [Thu, 16 Jul 2015 21:56:13 +0000 (14:56 -0700)]
ceph-helpers.sh: don't test the osd_max_backfills value

This isn't a very meaningful assert since the default could
easily change.

Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5325 from vumrao/wip-vumrao-10927
Ken Dreyer [Thu, 23 Jul 2015 16:11:32 +0000 (10:11 -0600)]
Merge pull request #5325 from vumrao/wip-vumrao-10927

rgw: fix radosgw start-up script.

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
10 years agoMerge pull request #5308 from oritwas/fix-compilation-warnings
Yehuda Sadeh [Thu, 23 Jul 2015 16:09:11 +0000 (09:09 -0700)]
Merge pull request #5308 from oritwas/fix-compilation-warnings

Fix "was hidden" compilation warnings

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoFix "was hidden" compilation warnings 5308/head
Orit Wasserman [Tue, 14 Jul 2015 12:08:26 +0000 (14:08 +0200)]
Fix "was hidden" compilation warnings

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
10 years agorgw: fix radosgw start-up script. 5325/head
Vikhyat Umrao [Thu, 23 Jul 2015 12:40:06 +0000 (18:10 +0530)]
rgw: fix radosgw start-up script.

radosgw init script is unable to start radosgw daemon.
as it is relies on requiretty being disabled.
once init script start this daemon with sudo it fails
to start the daemon.

changing 'sudo' to 'su', it will fix this issue and
will also help running radosgw daemon with our new
"ceph" UID project.

Fixes: #10927
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
10 years agoMerge pull request #5326 from tweenk/docs-improvements
Sage Weil [Thu, 23 Jul 2015 14:04:52 +0000 (10:04 -0400)]
Merge pull request #5326 from tweenk/docs-improvements

Documentation for a few objects

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #5261 from SUSE/wip-drop-py-requires
Ken Dreyer [Thu, 23 Jul 2015 13:48:09 +0000 (07:48 -0600)]
Merge pull request #5261 from SUSE/wip-drop-py-requires

ceph.spec.in: drop SUSE-specific %py_requires macro

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
10 years agoMerge pull request #5263 from SUSE/wip-apache-not-required
Ken Dreyer [Thu, 23 Jul 2015 13:46:23 +0000 (07:46 -0600)]
Merge pull request #5263 from SUSE/wip-apache-not-required

ceph.spec.in: remove SUSE-specific apache2-mod_fcgid dependency

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
10 years agodocs: Document md_config_obs_t. 5326/head
Krzysztof Kosiński [Thu, 23 Jul 2015 13:20:20 +0000 (15:20 +0200)]
docs: Document md_config_obs_t.

Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
10 years agodocs: Document the ThreadPool and WorkQueue classes.
Krzysztof Kosiński [Thu, 23 Jul 2015 13:19:52 +0000 (15:19 +0200)]
docs: Document the ThreadPool and WorkQueue classes.

Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
10 years agodocs: Document the Finisher class.
Krzysztof Kosiński [Tue, 14 Jul 2015 10:38:41 +0000 (12:38 +0200)]
docs: Document the Finisher class.

Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
10 years agomon: fix checks on mds add_data_pool 5323/head
John Spray [Thu, 23 Jul 2015 09:15:56 +0000 (10:15 +0100)]
mon: fix checks on mds add_data_pool

Use same _check_pool helper as during fs creation.

Fixes: #12426
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #5324 from ceph/wip-12355
John Spray [Thu, 23 Jul 2015 13:04:20 +0000 (14:04 +0100)]
Merge pull request #5324 from ceph/wip-12355

mds: fix crash while stopping rank

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #5317 from ceph/wip-quota-doc
Sage Weil [Thu, 23 Jul 2015 12:37:19 +0000 (08:37 -0400)]
Merge pull request #5317 from ceph/wip-quota-doc

doc/cephfs/quota: simple doc

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
10 years agodoc/cephfs/quota: simple doc 5317/head
Sage Weil [Thu, 23 Jul 2015 12:35:35 +0000 (08:35 -0400)]
doc/cephfs/quota: simple doc

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agomds: fix crash while stopping rank 5321/head 5324/head
John Spray [Wed, 22 Jul 2015 20:57:33 +0000 (21:57 +0100)]
mds: fix crash while stopping rank

trim() was broken in:
8a91daae mds: fix mds crash when mds_max_log_events smaller

When doing a final trim in shutdown we need to trim everything,
not just all but the last segment.  The previous change's intent
was to prevent badness when mds_log_max_events was too small: accomplish
the same thing here by clamping the value to something sane.

Fixes: #12355
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agommds/MDLog: No make sense set offset for LogEvent in _start_entry. 5322/head
Jianpeng Ma [Thu, 23 Jul 2015 03:09:08 +0000 (11:09 +0800)]
mmds/MDLog: No make sense set offset for LogEvent in _start_entry.

For offset of LogEvent only determine in submit_thread. So in
_start_entry it's no make sense set.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agorgw: check subuser illegal access parameter. 5313/head
guce [Thu, 23 Jul 2015 01:37:24 +0000 (09:37 +0800)]
rgw: check subuser illegal access parameter.

Both empty arguments and illegal parameters, can modify the existing configuration to none permissions.

It should be modified to:
1.empty parameter modify the existing configuration to none permissions.
2.illegal parameter return an error.

test fix:
    before: subuser create or modify, illegal access parameter can modify the existing configuration.
    after changes, do the same procedure, can check for illegal access parameters.

Signed-off-by: guce <guce@h3c.com>
10 years agoMerge pull request #5305 from ceph/wip-12417
Sage Weil [Wed, 22 Jul 2015 15:38:02 +0000 (11:38 -0400)]
Merge pull request #5305 from ceph/wip-12417

auth: check return value of keyring->get_secret

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #5300 from yuyuyu101/wip-async-fix-20
Haomai Wang [Wed, 22 Jul 2015 15:14:56 +0000 (23:14 +0800)]
Merge pull request #5300 from yuyuyu101/wip-async-fix-20

AsyncConnection: Fix local message dispatch lack of source name

10 years agomon: ceph osd map shows NONE when an osd is missing 5316/head
Shylesh Kumar [Wed, 22 Jul 2015 13:17:20 +0000 (18:47 +0530)]
mon: ceph osd map shows NONE when an osd is missing

Signed-off-by: Shylesh Kumar <shmohan@redhat.com>
10 years agoMerge pull request #5314 from dachary/wip-12419-rule-create-erasure
Kefu Chai [Wed, 22 Jul 2015 11:26:45 +0000 (19:26 +0800)]
Merge pull request #5314 from dachary/wip-12419-rule-create-erasure

tests: robust test for the pool create crush map test

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agotests: robust test for the pool create crushmap test 5314/head
Loic Dachary [Wed, 22 Jul 2015 08:42:32 +0000 (10:42 +0200)]
tests: robust test for the pool create crushmap test

The test that goes with f1e86be589803596e86acc964ac5c5c03b4038d8 to
verify that a bugous crush ruleset will prevent the creation of a pool
trying to use it was fragile. I depends on the implementation of the
erasure code lrc plugin and turns out to not work on i386.

The test is modified to use a fake crushtool that always returns false
and validate that it prevents the creation of a pool, which demonstrate
it is used for crushmap validation prior to the pool creation.

http://tracker.ceph.com/issues/12419 Fixes: #12419

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #5304 from ceph/wip-add-scrub-config-doc
Kefu Chai [Wed, 22 Jul 2015 03:52:24 +0000 (11:52 +0800)]
Merge pull request #5304 from ceph/wip-add-scrub-config-doc

doc/rados/configuration: add more scrub related config

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc/rados/configuration: add more scrub related config 5304/head
Kefu Chai [Tue, 21 Jul 2015 11:50:00 +0000 (19:50 +0800)]
doc/rados/configuration: add more scrub related config

Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #5306 from dachary/wip-release-notes
Loic Dachary [Tue, 21 Jul 2015 19:02:58 +0000 (21:02 +0200)]
Merge pull request #5306 from dachary/wip-release-notes

src/script/ceph-release-notes: add --text for plain text output

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
10 years agoxio: reduce quantum numbers to grow pool 5254/head
Vu Pham [Thu, 16 Jul 2015 00:05:24 +0000 (17:05 -0700)]
xio: reduce quantum numbers to grow pool

Growing pool's allocators with the proper quantum to
reduce memory pressure and waste

Signed-off-by: Vu Pham <vu@mellanox.com>
10 years agoxio: reduce the default depth of accelio msg queue
Vu Pham [Wed, 15 Jul 2015 23:49:29 +0000 (16:49 -0700)]
xio: reduce the default depth of accelio msg queue

Signed-off-by: Vu Pham <vu@melanox.com>
10 years agoxio: configurable max send inline
Vu Pham [Wed, 15 Jul 2015 23:43:42 +0000 (16:43 -0700)]
xio: configurable max send inline

Allow configuring the maximum threshold to send inline

Signed-off-by: Vu Pham <vu@mellanox.com>
10 years agoxio: safely clean up transport messages with valid connection
Vu Pham [Wed, 15 Jul 2015 23:20:00 +0000 (16:20 -0700)]
xio: safely clean up transport messages with valid connection

Transport messages can be safely and completely cleaned up as
long as low level connection is valid

Signed-off-by: Vu Pham <vu@mellanox.com>
10 years agodoc: v0.80.10 changelog
Sage Weil [Tue, 21 Jul 2015 16:54:19 +0000 (12:54 -0400)]
doc: v0.80.10 changelog

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agosrc/script/ceph-release-notes: add --text for plain text output 5306/head
Loic Dachary [Tue, 21 Jul 2015 16:26:56 +0000 (18:26 +0200)]
src/script/ceph-release-notes: add --text for plain text output

This is a format that's easier to consume when sending a mail.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #5303 from oritwas/fix-cmake-4
Kefu Chai [Tue, 21 Jul 2015 16:02:00 +0000 (00:02 +0800)]
Merge pull request #5303 from oritwas/fix-cmake-4

cmake: add missing blkid to ceph-osd

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoauth: check return value of keyring->get_secret 5305/head
John Spray [Tue, 21 Jul 2015 15:09:32 +0000 (16:09 +0100)]
auth: check return value of keyring->get_secret

get_secret can fail to populate the passed CryptoKey, for
example if the entity name is not found in the keyring.  In
this case, attempts to use the CryptoKey will lead to
segfaults.

Fixes: #12417
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #5127 from tchaikov/wip-12193
David Zafman [Tue, 21 Jul 2015 15:01:17 +0000 (08:01 -0700)]
Merge pull request #5127 from tchaikov/wip-12193

tools: add osdmap commands to ceph-objectstore-tool

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agodoc/releases: v0.80.10
Sage Weil [Tue, 21 Jul 2015 14:56:57 +0000 (10:56 -0400)]
doc/releases: v0.80.10

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agodoc/release-notes: v0.80.10
Sage Weil [Tue, 21 Jul 2015 14:55:18 +0000 (10:55 -0400)]
doc/release-notes: v0.80.10

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge branch 'wip-firefly-release-notes' of git://github.com/dachary/ceph
Sage Weil [Tue, 21 Jul 2015 14:53:40 +0000 (10:53 -0400)]
Merge branch 'wip-firefly-release-notes' of git://github.com/dachary/ceph

10 years agoMerge pull request #4958 from xinxinsh/wip-clone-test
Kefu Chai [Tue, 21 Jul 2015 14:07:56 +0000 (22:07 +0800)]
Merge pull request #4958 from xinxinsh/wip-clone-test

ceph_test_objectstore: improve the StoreTest.SimpleCloneTest

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #5301 from ceph/wip-12251
Kefu Chai [Tue, 21 Jul 2015 13:46:29 +0000 (21:46 +0800)]
Merge pull request #5301 from ceph/wip-12251

mon: OSDMonitor: fix hex output on 'osd reweight'

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agocmake: add missing blkid libraries 5303/head
Orit Wasserman [Tue, 21 Jul 2015 12:31:47 +0000 (14:31 +0200)]
cmake: add missing blkid libraries

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
10 years agoMerge pull request #5302 from ssssztes/master
Kefu Chai [Tue, 21 Jul 2015 13:29:28 +0000 (21:29 +0800)]
Merge pull request #5302 from ssssztes/master

mon: fix the message in OSDMonitor::get_pools_health

Reviewed-by: Xinze Chi <xmdxcxz@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoUpdate OSDMonitor.cc 5302/head
renhwztetecs [Tue, 21 Jul 2015 10:55:00 +0000 (18:55 +0800)]
Update OSDMonitor.cc

OSDMonitor::get_pools_health(), s/objects/bytes/

Fixes: #12402
Signed-off-by: ren.huanwen@zte.com.cn
10 years agomon: OSDMonitor: fix hex output on 'osd reweight' 5301/head
Joao Eduardo Luis [Tue, 21 Jul 2015 10:20:53 +0000 (11:20 +0100)]
mon: OSDMonitor: fix hex output on 'osd reweight'

Fixes: #12251
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
10 years agoMerge pull request #5294 from ceph/wip-12354
Gregory Farnum [Tue, 21 Jul 2015 09:46:34 +0000 (10:46 +0100)]
Merge pull request #5294 from ceph/wip-12354

client: fix directory fsync

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoAsyncConnection: Fix local message dispatch lack of source 5300/head
Haomai Wang [Tue, 21 Jul 2015 09:11:42 +0000 (17:11 +0800)]
AsyncConnection: Fix local message dispatch lack of source

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoTestMsgr: Add message source check for local message dispatch
Haomai Wang [Tue, 21 Jul 2015 09:11:14 +0000 (17:11 +0800)]
TestMsgr: Add message source check for local message dispatch

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>