]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Thu, 6 Aug 2015 14:32:42 +0000 (22:32 +0800)]
doc/rados/operations/add-or-rm-mons: simplify the steps to add a mon
this change removes the step to "ceph mon add" before starting a new
monitor. because the existing leader will start an election at seeing
the MMonJoin message sent by the new joiner, after the quorum is
archieved, the monmap will be updated with the new monitor.
so, "ceph mon add" is not necessary to add a new monitor.
moreover, this command will be blocked until a new quorum is formed,
and the proposed monmap is accepted. but in case of adding a monitor
to a single monitor cluster, the leader will wait until at least two
of the monitors reply to it. apparently, this does not happen unless
the new monitor starts. so from the user's point of view, this
command hangs until timesout, if he/she does not start the mon.b
beforehand. but this is an expected behaviour.
so, to avoid this confusion and simplify the steps to add a new
monitor. we'd better simply remove this "ceph mon add" step.
Fixes: #12620
Signed-off-by: Kefu Chai <kchai@redhat.com>
Ken Dreyer [Mon, 10 Aug 2015 23:01:56 +0000 (17:01 -0600)]
Merge pull request #5344 from trhoden/update_debain_maintainer
debian: Update maintainers and uploaders
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
John Wilkins [Mon, 10 Aug 2015 21:05:15 +0000 (14:05 -0700)]
Fixed mistaken reference to mon in osd section. Changed release name to hammer.
Fixes: #7807
Signed-off-by: John Wilkins <jowilkin@redhat.com>
John Spray [Mon, 10 Aug 2015 13:17:45 +0000 (14:17 +0100)]
Merge pull request #5353 from ceph/wip-pgls-filter-osd
Make PGLSFilter interface more flexible (for cephfs)
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Mon, 10 Aug 2015 10:01:30 +0000 (11:01 +0100)]
Merge pull request #5522 from oritwas/wip-cmake-fix-mds
cmake: fix mds compilation and link
Reviewed-by: John Spray <john.spray@redhat.com>
Orit Wasserman [Mon, 10 Aug 2015 08:16:15 +0000 (10:16 +0200)]
cmake: fix mds compilation and link
Rename MDS.cc MDSDaemon.cc
Add missing files and match order to the Makefile
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Josh Durgin [Mon, 10 Aug 2015 06:01:01 +0000 (23:01 -0700)]
Merge branch 'wip-vumrao-12111' of https://github.com/vumrao/ceph
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
x11562 [Wed, 3 Jan 2001 19:07:46 +0000 (03:07 +0800)]
rbd: creating refused, if feature is specified when the format is equal to 1
Signed-off-by: x11562 <xie.na@h3c.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Mon, 10 Aug 2015 03:26:38 +0000 (11:26 +0800)]
Merge pull request #5520 from badone/master
doc: remove duplicate word in Motivation section.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yehuda Sadeh [Mon, 10 Aug 2015 03:00:58 +0000 (20:00 -0700)]
Merge pull request #4927 from wonzhq/snapset-obc
osd/ReplicatedPG: snapset is not persisted
Yan, Zheng [Mon, 10 Aug 2015 02:52:16 +0000 (10:52 +0800)]
Merge pull request #5212 from ceph/wip-mds-refactor
mds: big refactor of MDS into MDSDaemon, MDSRank, MDSRank Dispatcher
Brad Hubbard [Mon, 10 Aug 2015 01:25:09 +0000 (11:25 +1000)]
doc: remove duplicate word in Motivation section.
Remove to\nto typo in doc/dev/osd_internals/erasure_coding/pgbackend.rst
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Sun, 9 Aug 2015 11:47:52 +0000 (07:47 -0400)]
Merge pull request #5517 from tchaikov/wip-cmake-remove-flat-index
cmake: remove Flat_index stuff
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 9 Aug 2015 11:45:15 +0000 (07:45 -0400)]
Merge pull request #5515 from ceph/wip-make-check-fixes
several fixes for make check
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Sun, 9 Aug 2015 11:44:14 +0000 (07:44 -0400)]
Merge pull request #4683 from ceph/wip-siddharth-security-fixes
Enable security hardening flags globally
Testedj-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 9 Aug 2015 08:24:00 +0000 (16:24 +0800)]
cmake: remove Flat_index stuff
the Flat_index stuff was removed in
5df688a
Signed-off-by: Kefu Chai <kchai@redhat.com>
Orit Wasserman [Sat, 8 Aug 2015 15:40:55 +0000 (17:40 +0200)]
Merge pull request #5504 from tchaikov/wip-check-good-yasm
cmake: check for good yasm
Siddharth Sharma [Thu, 14 May 2015 19:38:17 +0000 (19:38 +0000)]
Removing unwanted -fPIC in cflags
Siddharth Sharma [Thu, 14 May 2015 19:11:38 +0000 (19:11 +0000)]
Removing unwanted -grecord-gcc-switches , relro in cflags and adding -fPIC
Siddharth Sharma [Thu, 14 May 2015 18:31:09 +0000 (18:31 +0000)]
Enable security hardening flags globally
Kefu Chai [Sat, 8 Aug 2015 13:42:56 +0000 (21:42 +0800)]
Merge pull request #5293 from majianpeng/oprequest-markevent
osd: Oprequest markevent
Reviewed-by: Huang Jun <hjwsm1989@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 8 Aug 2015 12:38:14 +0000 (20:38 +0800)]
Merge pull request #5267 from dachary/wip-12356-rados-osds-out-in
tests: test-erasure-code.sh/rados_osds_out_in must wait_for_clean
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 8 Aug 2015 12:27:51 +0000 (20:27 +0800)]
Merge pull request #4909 from zhouyuan/rgw_doc_bucket_index
doc: update rgw configuration doc on bucket index sharing feature
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 8 Aug 2015 11:45:17 +0000 (07:45 -0400)]
test/encoding/check-generated: make error msg cut and pasteable
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Aug 2015 11:40:21 +0000 (07:40 -0400)]
osd/HitSet: make subclasses dump deterministically
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Aug 2015 11:40:12 +0000 (07:40 -0400)]
osd/HitSet: mark subclasses that encode nondeterministically
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Aug 2015 11:36:20 +0000 (07:36 -0400)]
mon/PGMap: dump osd_epochs in deterministic order
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Aug 2015 11:28:38 +0000 (07:28 -0400)]
test/encoding/check-generated: skip some tests if non-determinstic encoding
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Aug 2015 11:25:01 +0000 (07:25 -0400)]
ceph-dencoder: add 'is_deterministic' command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Aug 2015 11:23:42 +0000 (07:23 -0400)]
ceph-dencoder: clean up macro name
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Aug 2015 11:23:15 +0000 (07:23 -0400)]
ceph-dencoder: mark PGMap with nondeterministic encoding
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Aug 2015 22:22:51 +0000 (18:22 -0400)]
test/encoding: c++11 STL appears to make fewer copies, yay
The failure was
test/encoding.cc:191: Failure
Value of: 10
Expected: my_key_t::get_copy_ctor()
Which is: 5
test/encoding.cc:196: Failure
Value of: 10
Expected: my_val_t::get_copy_ctor()
Which is: 5
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 7 Aug 2015 05:56:52 +0000 (13:56 +0800)]
cmake: check for good yasm
this enables faster crc32 calculation on x64 intel platforms,
see common/crc32c_intel_fast.c
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 8 Aug 2015 04:23:23 +0000 (12:23 +0800)]
Merge pull request #5500 from oritwas/wip-cmake-isa
cmake: check for better yasm and fix isa
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 7 Aug 2015 22:14:41 +0000 (18:14 -0400)]
mon/PGMap: make PGMap dump osd_epochs too
Signed-off-by: Sage Weil <sage@redhat.com>
Orit Wasserman [Fri, 24 Jul 2015 15:39:52 +0000 (17:39 +0200)]
cmake: check for better yasm and fix isa
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Sage Weil [Fri, 7 Aug 2015 15:08:07 +0000 (11:08 -0400)]
ceph-object-corpus: do not try to decode pre-hammer ObjectStore::Transactions
We don't understand collection_attr any more.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Aug 2015 18:17:01 +0000 (14:17 -0400)]
Merge pull request #5510 from yuyuyu101/fix-async-fix-22
AsyncConnection: Fix wrong order of local message delivering
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Aug 2015 17:49:45 +0000 (13:49 -0400)]
Merge pull request #5512 from ddiss/rbd_initrd_no_tr
rbdnamer: drop unneccessary tr usage
Reviewed-by: Sage Weil <sage@redhat.com>
David Disseldorp [Fri, 7 Aug 2015 17:30:43 +0000 (19:30 +0200)]
rbdnamer: drop unneccessary tr usage
tr is not present by default in Dracut generated initramfs images. The
same logic can anyhow be performed via the existing sed call.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Sage Weil [Fri, 7 Aug 2015 16:59:39 +0000 (12:59 -0400)]
Merge pull request #5310 from ceph/wip-pipefd-leak
Wip pipefd leak
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Samuel Just [Fri, 7 Aug 2015 15:56:38 +0000 (08:56 -0700)]
Merge pull request #5511 from ceph/wip-cxx11
c++11 ftw
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 31 Jul 2015 18:32:13 +0000 (14:32 -0400)]
c++11: xlist needs a value_type for back_inserter
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 31 Jul 2015 17:36:26 +0000 (13:36 -0400)]
c++11: fix shared_ptr conversions to bool
operator bool() is marked as explicit, which prevents it from being used
directly in gtest macros
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 31 Jul 2015 15:50:57 +0000 (11:50 -0400)]
c++11: remove hash_namespace.h and default to std
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 31 Jul 2015 14:56:55 +0000 (10:56 -0400)]
c++11: disambiguate std::isnan
c++11's isnan() is a constexpr function, while c's is a macro
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 30 Jul 2015 20:50:53 +0000 (16:50 -0400)]
c++11: fixes for preprocessor string concatenation
c++11 adds user-defined literals through type suffixes. for example,
"foo"s is a literal of type std::basic_string. this means that any
non-whitespace characters following a string literal will be interpreted
as a suffix. this causes issues with string concatenation done by the
preprocessor, which can only be resolved by adding whitespace
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 7 Aug 2015 15:42:46 +0000 (11:42 -0400)]
c++11: replace boost::assign with initializer list
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Samuel Just [Fri, 7 Aug 2015 15:38:48 +0000 (08:38 -0700)]
Merge pull request #4832 from ceph/wip-11511
osd: Even in objects_read_sync() case don't read past oi.size
Reviewed-by: Samuel Just <sjust@redhat.com>
Haomai Wang [Fri, 7 Aug 2015 15:13:30 +0000 (23:13 +0800)]
AsyncConnection: Fix wrong order of local message delivering
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Sage Weil [Fri, 7 Aug 2015 14:15:10 +0000 (10:15 -0400)]
Merge pull request #5331 from liewegas/wip-collection-list
os: clean up collection_list
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Fri, 7 Aug 2015 13:35:27 +0000 (09:35 -0400)]
Merge pull request #5271 from wonzhq/cache-rate
mon: add cache tier IO rate in the 'osd pool stats' command
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Aug 2015 12:55:57 +0000 (08:55 -0400)]
Merge pull request #5507 from athanatos/wip-12436
blkdev.cc::get_device_by_uuid: do not leak cache
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Aug 2015 12:55:25 +0000 (08:55 -0400)]
Merge pull request #5506 from athanatos/wip-12338
OSD: break connection->session->waiting message->connection cycle
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 14 Jun 2015 00:56:37 +0000 (17:56 -0700)]
os/ObjectStore: drop get_ideal_list_min()
Unused. Fix comment on get_ideal_list_max while we are here.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 29 Apr 2015 23:44:59 +0000 (16:44 -0700)]
os: drop snapid_t arg to collection_list
All this does is filter out objects with old snapids, but this can be
just as easily done in the one caller that specifies a non-zero value
(PGLS and PGNLS), which in fact already do that filtering.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 29 Apr 2015 23:33:42 +0000 (16:33 -0700)]
s/collection_list_impl/collection_list/
Signed-off-by: Sage Weil <sage@redhat.com>
Xiaoxi Chen [Wed, 29 Apr 2015 08:27:16 +0000 (16:27 +0800)]
Kill collection_list in CollectionIndex
Now we use CollectionIndex.collection_list_partial.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Xiaoxi Chen [Wed, 29 Apr 2015 08:24:37 +0000 (16:24 +0800)]
Kill Flat_index.
Too old, remove it entirely.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Xiaoxi Chen [Sat, 25 Apr 2015 03:56:09 +0000 (11:56 +0800)]
Kill collection_list
use collection_list_impl as well.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Xiaoxi Chen [Sat, 25 Apr 2015 01:48:38 +0000 (09:48 +0800)]
Kill collection_list_partial
Use collection_list_impl directly.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Xiaoxi Chen [Fri, 24 Apr 2015 15:16:44 +0000 (23:16 +0800)]
Kill collection_list_range
We can directly use collection_list_impl.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Xiaoxi Chen [Fri, 24 Apr 2015 14:37:32 +0000 (22:37 +0800)]
os/KeyValuestore:Refactor collection_list_range and collection_list_partial
Add collection_list_impl which abstract the common process
of collection list behavior.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Sage Weil [Fri, 10 Jul 2015 17:29:54 +0000 (13:29 -0400)]
os/CollectionIndex: use const ref for end
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Fri, 7 Aug 2015 12:44:49 +0000 (05:44 -0700)]
Merge pull request #5509 from ceph/wip-12536
common/hobject_t: correctly decode pre-infernalis hobject_t min
Reviewed-by: Samuel Just <sjust@redhat.com>
Xiaoxi Chen [Fri, 24 Apr 2015 07:32:36 +0000 (15:32 +0800)]
os/Filestore:Refactor collection_list_range and collection_list_partial
Add collection_list_impl which abstract the common process
of coleection list behavior.
Todo: Refactor Index::collection_list_partial as
well.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Xiaoxi Chen [Fri, 24 Apr 2015 08:04:21 +0000 (16:04 +0800)]
os/Memstore:Refactor collection_list_range and collection_list_partial
Add collection_list_impl which abstract the common process
of collection list behavior.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Kefu Chai [Fri, 7 Aug 2015 12:17:30 +0000 (20:17 +0800)]
Merge pull request #5508 from athanatos/wip-12410
OSDMonitor::preprocess_get_osdmap: send the last map as well
Reviewed-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Fri, 7 Aug 2015 11:50:20 +0000 (04:50 -0700)]
Merge pull request #5413 from guangyy/wip-12523
osd: copy the RecoveryCtx::handle for when creating RecoveryCtx instance from another one
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Thu, 6 Aug 2015 16:17:25 +0000 (17:17 +0100)]
Merge pull request #5488 from oritwas/wip-cmake-fix-rbd
cmake: add global lib to rbd
Reviewed-by: John Spray <john.spray@redhat.com>
Vikhyat Umrao [Wed, 5 Aug 2015 16:55:35 +0000 (22:25 +0530)]
rbd: support size suffixes for size-based options
This patch will provide support for size suffixes for
below given options:
--stripe-unit <size in B/K/M>
--io-size <size in B/K/M/G/T>
--io-total <size in B/K/M/G/T>
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Sage Weil [Thu, 6 Aug 2015 13:29:02 +0000 (09:29 -0400)]
Merge pull request #5475 from cxwshawn/com-fix
rgw_user.h: modify interface comments.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Aug 2015 13:25:55 +0000 (09:25 -0400)]
Merge pull request #5483 from oddomatik/patch-1
Fix location of --access=full in SWIFT user creation
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Aug 2015 13:25:17 +0000 (09:25 -0400)]
Merge pull request #5484 from cxwshawn/de-fix
ceph-dencoder: add RGWRegion, RGWZoneParams, RGWOLHInfo support.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Aug 2015 13:12:24 +0000 (09:12 -0400)]
Merge pull request #5421 from ceph/wip-selinux-policy-no-user
SELinux support for ceph
Reviewed-by: Kefu Chai <kchai@redhat.com>
Tested-by: Yuri Weinstein <yweinstei@redhat.com>
John Spray [Thu, 6 Aug 2015 09:10:03 +0000 (10:10 +0100)]
Merge pull request #5487 from ceph/wip-12619
mds: initialize InodeStoreBase::damage_flags
Reviewed-by: John Spray <john.spray@redhat.com>
Orit Wasserman [Thu, 6 Aug 2015 08:20:04 +0000 (10:20 +0200)]
cmake: add global lib to rbd
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yan, Zheng [Thu, 6 Aug 2015 08:12:27 +0000 (16:12 +0800)]
mds: initialize InodeStoreBase::damage_flags
Fixes: #12619
Signed-off-by: Yan, Zheng <zyan@redhat.com>
shawn [Thu, 6 Aug 2015 02:48:23 +0000 (10:48 +0800)]
ceph-dencoder: add RGWRegion, RGWZoneParams, RGWOLHInfo support.
since ceph-dencoder does not support the up-list structures, so
I add these three supports to analyze data more quickly.
Signed-off-by: shawn chen <cxwshawn@gmail.com>
Brian Andrus [Wed, 5 Aug 2015 23:25:48 +0000 (16:25 -0700)]
Fix location of --access=full in SWIFT user creation
--access=full was incorrectly placed in the output of the command, while it was supposed to have been a flag run with the command.
Boris Ranto [Wed, 5 Aug 2015 15:54:13 +0000 (17:54 +0200)]
ceph.spec.in: Make SELinux opt-out, not opt-in
We should enable SELinux support by default on rpm-based systems that
build with SELinux support to get better QE coverage in future runs.
Signed-off-by: Boris Ranto <branto@redhat.com>
Loic Dachary [Wed, 5 Aug 2015 15:06:02 +0000 (17:06 +0200)]
Merge pull request #5478 from dachary/wip-test-rados-striper
tests: rados striper tests use 7116 instead of 7113
Reviewed-by: Sebastien Ponce <sebastien.ponce@cern.ch>
Sage Weil [Wed, 5 Aug 2015 14:34:21 +0000 (10:34 -0400)]
Merge pull request #5459 from cxwshawn/master
radosgw-admin: use cout instead of cerr to print help message.
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Mon, 27 Jul 2015 10:05:56 +0000 (11:05 +0100)]
osd: make PGLSFilter xattr read optional
The cephfs filter needs to be able to express
interest in an xattr, but not reject objects
which do not have it.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 17 Jul 2015 12:48:30 +0000 (13:48 +0100)]
osd: enable PGLS filters to see hobject_t
We will want this for CephFS, where the name's suffix
(i.e. .
00000000 ) is important to us.
Signed-off-by: John Spray <john.spray@redhat.com>
Boris Ranto [Tue, 28 Jul 2015 18:13:18 +0000 (20:13 +0200)]
selinux: Add .gitignore file
The gitbuilders release script needs this. Otherwise, the ceph-release
build will fail because there were some untracked files.
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Tue, 28 Jul 2015 09:28:40 +0000 (11:28 +0200)]
ceph.spec.in: stop/start service on policy upgrade/removal
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Tue, 28 Jul 2015 09:11:42 +0000 (11:11 +0200)]
selinux: Update the SELinux policy rules
Few new denials were found while testing the policy. Updating the policy
rules to refelct that.
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Sat, 25 Jul 2015 12:05:43 +0000 (14:05 +0200)]
SELinux Makefile can't work in parallel
We need to force single-core compilation of SELinux policy files in the
sub-make target as SELinux Makefile does not work properly when run in
parallel mode.
Signed-off-by: Boris Ranto <branto@redhat.com>
Milan Broz [Fri, 24 Jul 2015 11:30:11 +0000 (13:30 +0200)]
ceph-disk: set selinux context
Ensure that SELinux context is properly set according to policy.We
need this as SELinux context is not preserved across mount points.
Signed-off-by: Milan Broz <mbroz@redhat.com>
Boris Ranto [Wed, 15 Jul 2015 16:20:52 +0000 (18:20 +0200)]
selinux: Allow setuid and setgid to ceph-mon and ceph-osd
Signed-off-by: Boris Ranto <branto@redhat.com>
Milan Broz [Wed, 17 Jun 2015 11:08:17 +0000 (13:08 +0200)]
Update selinux policy (after local test).
Changes enerated with ceph-test package.
Signed-off-by: Milan Broz <mbroz@redhat.com>
Milan Broz [Fri, 12 Jun 2015 11:07:05 +0000 (13:07 +0200)]
Fix selinux context after intitial OSD mount.
The SELinux context is not preserved across file-systems, we need to
manually set the context of the root of the file-system in order to
preserve SELinux context inheritence rules.
Signed-off-by: Milan Broz <mbroz@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Fri, 15 May 2015 13:18:05 +0000 (15:18 +0200)]
Add initial SELinux support
This patch modifies the build system and spec file to provide a support
for SELinux enforcing in an opt-in matter via ceph-selinux package.
Signed-off-by: Boris Ranto <branto@redhat.com>
John Spray [Wed, 5 Aug 2015 13:06:37 +0000 (14:06 +0100)]
Merge pull request #4860 from ceph/wip-nobjectiterator-crash
librados: fix empty NObjectIterator crash on comparisons
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 28 Apr 2015 17:40:57 +0000 (18:40 +0100)]
librados: fix empty NObjectIterator crash on comparisons
This would segfault if you did a
NObjectIterator i;
i == ...
Fix comparisons by allowing pointer-wise comparisons
for iterators with impl==NULL, and asserting in
other methods that require a non-null ::impl
Signed-off-by: John Spray <john.spray@redhat.com>
Loic Dachary [Wed, 5 Aug 2015 12:46:57 +0000 (14:46 +0200)]
tests: rados striper tests use 7116 instead of 7113
Change src/test/libradosstriper/rados-striper.sh monitor address to 7116
because src/test/mon/osd-crush.sh uses 7113 already.
Signed-off-by: Loic Dachary <ldachary@redaht.com>
Kefu Chai [Wed, 5 Aug 2015 08:35:43 +0000 (16:35 +0800)]
Merge pull request #5474 from kylinstorage/wip-sparse_read_bugfix
osd/ReplicatedPG: sparse read should return (extent_map, data_bufferlist)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Yunchuan Wen [Wed, 5 Aug 2015 05:04:38 +0000 (13:04 +0800)]
osd/ReplicatedPG: sparse read should return (extent_map, data_bufferlist)
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
shawn [Wed, 5 Aug 2015 03:40:22 +0000 (11:40 +0800)]
rgw_user.h: modify interface comments.
Signed-off-by: shawn chen <cxwshawn@gmail.com>