Sage Weil
e46a855e5f
s/collection_list_impl/collection_list/
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-07 08:45:34 -04:00
Xiaoxi Chen
7ee3eeffa6
Kill collection_list in CollectionIndex
...
Now we use CollectionIndex.collection_list_partial.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:34 -04:00
Xiaoxi Chen
5df688a5df
Kill Flat_index.
...
Too old, remove it entirely.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:33 -04:00
Xiaoxi Chen
c5dc4047e2
Kill collection_list
...
use collection_list_impl as well.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:32 -04:00
Xiaoxi Chen
2d5ed30f02
Kill collection_list_partial
...
Use collection_list_impl directly.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:14 -04:00
Xiaoxi Chen
716551090e
Kill collection_list_range
...
We can directly use collection_list_impl.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:14 -04:00
Xiaoxi Chen
7bf999cfd2
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>
2015-08-07 08:45:14 -04:00
Sage Weil
26668d6f9b
os/CollectionIndex: use const ref for end
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-07 08:45:09 -04:00
Xiaoxi Chen
921c4586f1
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>
2015-08-07 08:43:43 -04:00
Xiaoxi Chen
d171537bd4
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>
2015-08-07 08:43:43 -04:00
John Spray
b3f1b3acfa
Merge pull request #5488 from oritwas/wip-cmake-fix-rbd
...
cmake: add global lib to rbd
Reviewed-by: John Spray <john.spray@redhat.com>
2015-08-06 17:17:25 +01:00
Sage Weil
b63f2afadb
Merge pull request #5475 from cxwshawn/com-fix
...
rgw_user.h: modify interface comments.
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-06 09:29:02 -04:00
Sage Weil
e61976b245
Merge pull request #5483 from oddomatik/patch-1
...
Fix location of --access=full in SWIFT user creation
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-06 09:25:55 -04:00
Sage Weil
0ab7926c00
Merge pull request #5484 from cxwshawn/de-fix
...
ceph-dencoder: add RGWRegion, RGWZoneParams, RGWOLHInfo support.
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-06 09:25:17 -04:00
Sage Weil
b436a35f3e
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>
2015-08-06 09:12:24 -04:00
John Spray
0de2ea65f1
Merge pull request #5487 from ceph/wip-12619
...
mds: initialize InodeStoreBase::damage_flags
Reviewed-by: John Spray <john.spray@redhat.com>
2015-08-06 10:10:03 +01:00
Orit Wasserman
1559d5e953
cmake: add global lib to rbd
...
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-08-06 10:20:04 +02:00
Yan, Zheng
6b29233065
mds: initialize InodeStoreBase::damage_flags
...
Fixes : #12619
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-08-06 16:14:01 +08:00
shawn
5d7cb4c212
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>
2015-08-06 10:48:27 +08:00
Brian Andrus
e67539e370
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.
2015-08-05 16:25:48 -07:00
Boris Ranto
8c53a5824a
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>
2015-08-05 17:55:53 +02:00
Loic Dachary
f4853d8831
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>
2015-08-05 17:06:02 +02:00
Sage Weil
1092ed95a7
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>
2015-08-05 10:34:21 -04:00
Boris Ranto
736fe06235
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>
2015-08-05 15:21:47 +02:00
Boris Ranto
c6d6c783f4
ceph.spec.in: stop/start service on policy upgrade/removal
...
Signed-off-by: Boris Ranto <branto@redhat.com>
2015-08-05 15:21:47 +02:00
Boris Ranto
73bf34d90f
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>
2015-08-05 15:21:47 +02:00
Boris Ranto
03d7a65b94
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>
2015-08-05 15:21:47 +02:00
Milan Broz
c014f2b61e
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>
2015-08-05 15:21:47 +02:00
Boris Ranto
bed5703367
selinux: Allow setuid and setgid to ceph-mon and ceph-osd
...
Signed-off-by: Boris Ranto <branto@redhat.com>
2015-08-05 15:21:47 +02:00
Milan Broz
d0fd8ffa40
Update selinux policy (after local test).
...
Changes enerated with ceph-test package.
Signed-off-by: Milan Broz <mbroz@redhat.com>
2015-08-05 15:21:47 +02:00
Milan Broz
9db80da128
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>
2015-08-05 15:21:47 +02:00
Boris Ranto
c52eb995e0
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>
2015-08-05 15:21:41 +02:00
John Spray
01b38737db
Merge pull request #4860 from ceph/wip-nobjectiterator-crash
...
librados: fix empty NObjectIterator crash on comparisons
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-05 14:06:37 +01:00
John Spray
c40df505f0
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>
2015-08-05 14:03:07 +01:00
Loic Dachary
b04bafc03a
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>
2015-08-05 14:46:57 +02:00
Kefu Chai
21581a499b
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>
2015-08-05 16:35:43 +08:00
Yunchuan Wen
28bc30c76f
osd/ReplicatedPG: sparse read should return (extent_map, data_bufferlist)
...
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
2015-08-05 13:46:38 +08:00
shawn
0cdd77d681
rgw_user.h: modify interface comments.
...
Signed-off-by: shawn chen <cxwshawn@gmail.com>
2015-08-05 11:40:27 +08:00
Josh Durgin
7d11b6b9d1
Merge remote-tracking branch 'origin/next'
...
Conflicts:
src/Makefile-client.am (link rbd to libglobal again)
2015-08-04 18:13:52 -07:00
Jason Dillaman
add30145a4
Revert "rbd: remove dependency on non-ABI controlled CephContext"
...
This reverts commit fa78739933
.
Original approach broke krbd map/unmap functions and did not fully
address ABI issues.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-08-04 18:10:52 -07:00
Sage Weil
13ccfb4eb3
Merge pull request #5446 from ceph/wip-systemd
...
systemd support
Reviewed-by: Owen Synge <osynge@suse.com>
2015-08-04 14:05:41 -04:00
Loic Dachary
cdd5f770e3
Merge pull request #5469 from theanalyst/doc/v0.94.3-release
...
doc: release notes for v0.94.3
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-08-04 19:13:02 +02:00
Abhishek Lekshmanan
793fe5205d
doc: release notes for v0.94.3
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-08-04 21:23:27 +05:30
Sage Weil
de40c40932
client/Makefile: ship InodeRef
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-04 09:57:41 -04:00
John Spray
653dbecdfb
Merge pull request #4753 from ceph/wip-client-inode-refs
...
client: hold reference for returned inode
Reviewed-by: John Spray <john.spray@redhat.com>
2015-08-04 14:13:40 +01:00
John Spray
694990ffe7
Merge pull request #5466 from ceph/wip-12578
...
mds: open base inode's snaprealm after decoding snapblob
Reviewed-by: John Spray <john.spray@redhat.com>
2015-08-04 14:12:38 +01:00
Yan, Zheng
0e69527fc1
mds: open base inode's snaprealm after decoding snapblob
...
base inode has no parent, so can we mark its snaprealm open
immediately. This change makes sure replica mdsdir's snaplream
is opened.
Fixes : #12578
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-08-04 19:28:01 +08:00
Kefu Chai
68e4d620d0
Merge pull request #5140 from tchaikov/wip-pg-ls-update-pending-rel-notes
...
doc: add changes to "pg ls*" commands to pending release notes
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-08-04 19:08:24 +08:00
Kefu Chai
963c52417e
doc: add changes to "pg ls*" commands to pending release notes
...
"pg ls*" commands now accept recovering instead of recovery as
one of its states.
Fixes : #11569
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-04 19:06:21 +08:00
Kefu Chai
a400b48bfd
Merge pull request #5337 from branch-predictor/bp-reduce-mallocs
...
Thread.cc: remove malloc/free pair
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-04 15:04:29 +08:00