Commit Graph

48927 Commits

Author SHA1 Message Date
Bo Cai
fce9b27430 rgw: make function parameter 'errordoc_key' passed by reference
Signed-off-by: Bo Cai <cai.bo@h3c.com>
2016-02-10 11:15:11 -08:00
Sage Weil
cb82fc69bd Merge branch 'master' of github.com:ceph/ceph 2016-02-10 13:58:50 -05:00
Yehuda Sadeh
d3e0ca4e14 Merge pull request #7544 from ceph/wip-rh-covscan
rgw/rgw_orphan: check the return value of save_state

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-10 11:03:04 -08:00
Yehuda Sadeh
709ab2dd6e Merge pull request #7586 from bsedyang/master
rgw: user quota may not adjust on bucket removal

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-10 11:01:54 -08:00
Sage Weil
7d10a4467b doc/release-notes: v10.0.3
Finalized release notes.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-10 13:57:37 -05:00
Mike Shuey
4e3ce25697 Add better documentation of --setuser and --setgroup options for ceph-disk.
Signed-off-by: Mike Shuey <shuey@purdue.edu>
2016-02-10 09:36:40 -05:00
Mike Shuey
17fe9d229c Add --setuser and --setgroup options to ceph-disk(8).
Signed-off-by: Mike Shuey <shuey@purdue.edu>
2016-02-10 09:30:08 -05:00
Mike Shuey
3adbe100a5 Add support to override ceph-disk's user and group choices
Signed-off-by: Mike Shuey <shuey@purdue.edu>
2016-02-10 09:30:07 -05:00
Sage Weil
dbe0fc61bd Merge pull request #7592 from dachary/wip-release-notes
release-notes: draft v10.0.3 release notes
2016-02-10 09:24:35 -05:00
Loic Dachary
c6947b02ac Merge pull request #7594 from tchaikov/fix-ceph-disk-test
tests: ceph-disk.sh: should use "readlink -f" instead

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-02-10 20:58:53 +07:00
Kefu Chai
7ba6889046 tests: ceph-disk.sh: should use "readlink -f" instead
turns out trusty does not have `realpath` unless the package named
`realpath` is installed.

Reported-by: Joao Eduardo Luis <joao@suse.de>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-10 21:31:25 +08:00
Loic Dachary
ca5ec8a4c2 release-notes: draft v10.0.3 release notes
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-02-10 17:12:06 +07:00
Loic Dachary
5591cdf480 scripts: ceph-release-notes fix merge messages handling
Strip the title line if it is the same as the pr title instead of
ignoring the message entirely.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-02-10 16:19:58 +07:00
Kefu Chai
075e595e34 cmake: remove Boost libraries from EXTRALIBS
* and remove ${Boost_SYSTEM_LIBRARY} from test_rados_api_tier

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-09 21:28:46 -08:00
Kefu Chai
f5cad7ac4e log: remove "boost/asio.hpp" from Log.h
graylog uses boost/asio.hpp which introduces the link-time dependency on
libboost_system to the compilation units which includes Log.h and
LogClient.h. so it appears that perfglue/heap_profiler.cc is referencing
libboost_system.so, and fails the cmake build of all tests which links
against tcmalloc.

in this change, we:

* remove unnecessary #includes from Graylog.h
* forward declare Graylog class, so that "Graylog.h" is not included in
  any header files to avoid the link-time dependency pollution

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-09 21:27:25 -08:00
Kefu Chai
ef1573b171 cmake: disable warnings introduced by 457f023
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-09 21:20:06 -08:00
Kefu Chai
aef2006e60 Revert "cmake: add libboost_system to EXTRALIBS"
This reverts commit 21438a6773.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-09 21:20:06 -08:00
Dan Mick
27212c5eb5 common/page.cc: _page_mask has too many bits
It's not used anywhere, but in case it is one day...

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-02-09 19:35:25 -08:00
root
06507992e3 rgw: user quota may not adjust on bucket removal
Description:
If the user/admin removes a bucket using --force/--purge-objects options with s3cmd/radosgw-admin respectively, the user stats will continue to reflect the deleted objects for quota purposes, and there seems to be no way to reset them. User stats need to be sync'ed prior to bucket removal.

Solution:
Sync user stats before removing a bucket.

Fixes: #14507
Signed-off-by: Edward Yang eyang@us.fujitsu.com
2016-02-09 12:03:24 -08:00
Jason Dillaman
f3ac05130b test: fsx now exercises librbd journal replay
write, discard, snap create, snap protect, flatten, and resize journal
events are tests when using the new '-j' option.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-09 12:46:42 -05:00
Jason Dillaman
f08ccc5b80 librbd: missing lock on maint operation replay callback
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-09 12:44:38 -05:00
Jason Dillaman
851395a803 librbd: do not fire flush completions before associated write
Prevents a race condition in journal replay when committing events
to the journal.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-09 12:44:38 -05:00
Sage Weil
2c79a5e428 Merge pull request #7496 from xiexingguo/xxg-wip-fixnvme
osd: BlueStore/NVMEDevice: fix compiling and fd leak

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-02-09 09:02:22 -05:00
Sage Weil
a20134d94a Merge pull request #7349 from yuyuyu101/add-pwritev
osd: FileStore: use pwritev instead of lseek+writev

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-09 08:58:28 -05:00
Sage Weil
a710dcd8a0 Merge pull request #7504 from renhwsky/renhw-wip-mon-shutdown
mon: unregister command on shutdown

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2016-02-09 08:57:11 -05:00
Sage Weil
c2342b53a6 Merge pull request #7550 from tchaikov/wip-osd-cleanup
osd: a fix for HeartbeatDispatcher and cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-09 08:56:48 -05:00
Sage Weil
8895416a0b Merge pull request #7553 from XinzeChi/wip-osdmap-affinity
osd: OSDMap: reset osd_primary_affinity shared_ptr when deepish_copy_from

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-09 08:56:14 -05:00
Sage Weil
8205c873c4 Merge pull request #7560 from tchaikov/wip-fix-icl
crush/CrushTester: workaround a bug in boost::icl
2016-02-09 08:55:59 -05:00
Sage Weil
be5544b293 Merge pull request #7568 from liewegas/wip-bluestore-mutex
osd: bluestore/blockdevice: use std::mutex et al
2016-02-09 08:55:43 -05:00
Rémi BUISSON
6666300084 debian: fix build-depends
Signed-off-by: Rémi BUISSON <remi.buisson@cdiscount.com>
2016-02-09 14:41:51 +01:00
Jason Dillaman
278acb6ad6 Merge pull request #7578 from ceph/fix-stripper
Stripper: Fix incorrect push_front -> append_zero change

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-09 07:57:53 -05:00
John Spray
f06c4dc1d0 osdc/Objecter: drop lock to unregister asok hooks
unregister blocks until any running hook has
completed, and that running hook might
be one that takes the objecter lock, so you
can't hold it while unregistering.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-02-09 12:19:14 +00:00
John Spray
be5748a818 common: asok should drop lock to call hook
Otherwise, hooks cannot take any locks which
were held during registration of hooks, because
it creates a cycle.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-02-09 12:18:24 +00:00
James Page
c28c0b1824 Correctly escape block device paths for systemd
Ensure that the leading / is stripped from block device
paths before escaping for using in systemd unit names.

Fixes: #14706

Signed-off-by: James Page <james.page@ubuntu.com>
2016-02-09 11:13:00 +00:00
Yann Dupont
8c03533535 mailmap: Matt Benjamin affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
23f2738580 mailmap: Emile Snyder affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
0312174b5a mailmap: Jonas Keidel affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
18d3a16678 mailmap: Alan Grosskurth affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
8b750bf71e mailmap: Alexey Sheplyakov affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
63d38683d3 mailmap: Benoît Knecht affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
a03c3f0764 mailmap: Chuanhong Wang affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
4ba58fe093 mailmap: Gu Zhongyan affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
3bb9f86bfe mailmap: Ivan Grcic affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
70848c4b06 mailmap: Jeffrey Lu affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
ee4ca535ba mailmap: JP François affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
1bdd3b06b3 mailmap: Kevin Jones affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:18 +01:00
Yann Dupont
6a0c84bb66 mailmap: Lukasz Jagiello affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:17 +01:00
Yann Dupont
26035b5f95 mailmap: Mauricio Garavaglia affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:17 +01:00
Yann Dupont
8c317ea740 mailmap: Patrick Donnelly affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:17 +01:00
Yann Dupont
a71ae4a685 mailmap: Rachana Patel affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-09 11:05:17 +01:00