Sage Weil
a93fdb6e6f
Merge pull request #6689 from 0003ydlom/doubled_cond
...
osd: avoid duplicate op->mark_started in ReplicatedBackend
Reviewed-by: xinxin shu <xinxin.shu@intel.com>
2015-12-03 06:40:13 -05:00
Sage Weil
71e172fbc6
Merge pull request #6681 from ifed01/wip-objstore-bench-stabilization
...
ceph_objectstore_bench: fix race condition, bugs
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-12-03 06:39:09 -05:00
Sage Weil
c80945fb60
Merge pull request #6677 from jack-changtao/test-bench
...
rados: bench: fix off-by-one to avoid writing past object_size
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-12-03 06:38:19 -05:00
Sage Weil
eb82a85236
Merge pull request #6555 from mslovy/wip-reduce-omap-transaction
...
osd: don't update epoch and rollback_info objects attrs if there is no need
Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-03 06:37:11 -05:00
Yehuda Sadeh
39ba840fce
Merge pull request #6784 from ceph/wip-5073
...
rgw multitenancy
Buckets and users can now have a tenant associated with them. Buckets can be specified as [<tenant>:]<bucket> and users can be specified as [<tenant>$]<uid>. The existing users and buckets are part of the default global tenant.
This is first phase. Future work will add tighter integration (e.g., swift tenant mapping, s3 subdomain tenant mapping, etc.)
Reviewed-by: Pete Zaitcev <zaitcev@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 21:52:00 -08:00
Loic Dachary
12efe7f2c9
Merge pull request #6727 from smithfarm/wip-index
...
doc/dev/index.rst: begin writing Contributing to Ceph
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-03 00:18:31 +01:00
Nathan Cutler
b6f9a9b2b1
doc/dev/index.rst: begin writing Contributing to Ceph
...
Replace existing index.rst with the beginnings of a comprehensive
developer guide.
Move the old index.rst to index-old.rst.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-02 23:37:06 +01:00
Danny Al-Gaaf
efab777828
Merge pull request #6775 from mkoderer/doc/fixowner
...
doc: remove unnecessary period in headline
Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-12-02 20:18:37 +01:00
Marc Koderer
1997144f5d
doc: remove unnecessary period in headline
...
Signed-off-by: Marc Koderer <marc@koderer.com>
2015-12-02 20:05:26 +01:00
Yehuda Sadeh
42305044d5
rgw: remove comments
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 10:45:42 -08:00
Yehuda Sadeh
eda44cd39c
rgw: a minor cleanup
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 10:45:41 -08:00
Yehuda Sadeh
bf0a7b41e7
rgw: don't re-set bucket tenant and name when selecting location
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 10:45:41 -08:00
Yehuda Sadeh
ddb4caaf9c
rgw: fix a typo
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 10:45:41 -08:00
Yehuda Sadeh
2287ce9ff2
rgw: don't allow cross-tenant bucket creation
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 10:45:41 -08:00
Yehuda Sadeh
e5bfd94405
rgw: avoid calling rgw_make_bucket_entry_name() when not needed
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 10:45:41 -08:00
Yehuda Sadeh
9425b04a70
rgw: objexp hint name backward compatibility
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 10:45:41 -08:00
Yehuda Sadeh
e8de3493d6
rgw: inherit bucket tenant from user if not specified
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-12-02 10:45:41 -08:00
Samuel Just
7f0edaaf42
Merge pull request #6739 from dreamhost/wip-13920
...
Gentoo: _FORTIFY_SOURCE fix.
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-12-02 09:58:52 -08:00
Loic Dachary
e5c9e20a16
Merge pull request #6771 from dillaman/wip-backtrace-fixes
...
common: re-enable backtrace support
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-02 17:14:07 +01:00
Jason Dillaman
1786fa8aa9
Merge pull request #6657 from kylinstorage/wip-rbd-nbd
...
rbd-nbd: network block device (NBD) support for RBD
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-12-02 10:38:54 -05:00
branto1
ca777e8974
Merge pull request #6769 from aiicore/configure_fix
...
configure.ac: macro fix
Reviewed-by: Boris Ranto <branto@redhat.com>
2015-12-02 14:31:48 +01:00
Igor Podoski
e8002c38d5
configure.ac: macro fix
...
Configure fails with autoconf 2.63 on Centos 6.6 with:
./configure: line 34026: syntax error near unexpected token `newline'
./configure: line 34026: ` yes:no:'
Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
2015-12-02 11:58:07 +01:00
Yan, Zheng
0716debe92
Merge pull request #5685 from ceph/wip-12133
...
cephfs-data-scan: scrub tag filtering (#12133 and #12145 )
2015-12-02 16:15:50 +08:00
John Spray
e04beab82a
tools/cephfs: enable tag filter in DataScan
...
Fixes : #12133
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-02 15:24:04 +08:00
John Spray
9e71abaa0a
tools/cephfs: fix datascan kwarg parsing
...
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-02 15:16:20 +08:00
John Spray
786d111a97
cls_cephfs: add PGLSCephFSFilter
...
Special purpose filter for use with CephFS disaster
recovery.
Fixes : #12145
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-02 15:16:16 +08:00
Jason Dillaman
9c266e5995
common: re-enable backtrace support
...
A recent porting effort disabled support for backtrace creation. It
also didn't initialize all variables, which would lead to a crash when
deleting a backtrace instance.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-02 00:43:48 -05:00
Yan, Zheng
9d42f1abcb
Merge pull request #6719 from jcsp/wip-13898
...
tools: Fix layout handing in cephfs-data-scan (#13898 )
2015-12-02 11:44:22 +08:00
Yunchuan Wen
b0deee4961
Update man page for new rbd nbd command
...
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2015-12-02 11:29:41 +08:00
Yunchuan Wen
dcb78b25dd
update test_librbd_fsx to support rbd-nbd
...
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2015-12-02 11:29:31 +08:00
Yunchuan Wen
2c7cc532a8
add rbd-nbd man page reference
...
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2015-12-02 11:29:30 +08:00
Yunchuan Wen
330c7f86f5
add rbd-nbd wrap to rbd CLI
...
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2015-12-02 11:29:01 +08:00
Josh Durgin
fdd1a6b010
Merge pull request #6661 from xiaoxichen/rbd_misc_fix1
...
cls/cls_rbd.cc: fix misused metadata_name_from_key
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-01 19:06:44 -08:00
Xiaoxi Chen
bff706f48b
cls/cls_rbd.cc: no need to skip key == after.
...
We already skip the pair where key == after in both LevelDBWholeSpaceIteratorImpl::upper_bound
and RocksDBWholeSpaceIteratorImpl::upper_bound.
Fixes : #13922
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-12-02 11:01:11 +08:00
Josh Durgin
18c5e18fc5
Merge pull request #6742 from dillaman/wip-13913
...
librbd: automatically flush IO after blocking write operations
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-01 08:31:14 -08:00
wangchaunhong
2f36909e1e
init-ceph: fix systemd-run cant't start ceph daemon sometimes
...
Fixes : #13474
Signed-off-by: Chuanhong Wang <wang.chuanhong@zte.com.cn>
2015-12-01 10:29:09 -05:00
Loic Dachary
9bd4f745d7
Merge pull request #6749 from dachary/wip-doc-install
...
doc: INSTALL redirect to online documentation
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-01 16:03:54 +01:00
John Spray
2ab79d72f3
tools/cephfs: fix layout handling in injection
...
When the stashed-layout handling stuff was added,
the guessing part got lost from the path where
we only had a single object. Broke test_data_scan.
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-01 14:57:23 +00:00
Jason Dillaman
b2370e4135
Merge pull request #6729 from majianpeng/librbd-journal
...
librbd: only send signal when AIO completions queue empty
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-12-01 09:24:05 -05:00
John Spray
c07c76b8bc
Merge pull request #6751 from ceph/wip-cmake-strerror_r
...
cmake: define STRERROR_R_CHAR_P for GNU-specific strerror_r
Reviewed-by: John Spray <john.spray@redhat.com>
2015-12-01 14:17:46 +00:00
Jason Dillaman
2884d8b4b5
Merge pull request #5465 from yuyuyu101/wip-librbd-ap
...
librbd: support eventfd for AIO completion notifications
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-12-01 09:16:19 -05:00
Ilya Dryomov
184914b8de
cmake: define STRERROR_R_CHAR_P for GNU-specific strerror_r
...
This is what autotools does with AC_FUNC_STRERROR_R bit. It takes us
from
$ monmaptool --print nonexistant
monmaptool: monmap file nonexistant
monmaptool: couldn't open nonexistant: (2)
to
$ monmaptool --print nonexistant
monmaptool: monmap file nonexistant
monmaptool: couldn't open nonexistant: (2) No such file or directory
on cmake - otherwise we end up using GNU-specific version as if it was
the POSIX version.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-12-01 15:07:48 +01:00
Sage Weil
57c7d55856
Merge pull request #6745 from drunkard/master
...
doc: fix typo in cephfs/quota
2015-12-01 08:59:57 -05:00
Sage Weil
48abbe7081
Merge remote-tracking branch 'gh/jewel'
2015-12-01 08:51:48 -05:00
Loic Dachary
e27109ba39
doc: INSTALL redirect to online documentation
...
The INSTALL file has obsolete and misleading instructions to compile
from sources (-pg actually fails at link time). Replace with links to
the online installation and build from source documentations.
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-01 14:44:02 +01:00
Drunkard Zhang
9fba402413
doc: typo fix in cephfs/quota
2015-12-01 17:15:29 +08:00
Jianpeng Ma
fd684ca15d
librbd/JournalReplay: Only Send signal when aio completions queue empty.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-12-01 17:14:37 +08:00
Loic Dachary
ac20f38f1f
Merge pull request #6697 from XinzeChi/wip-scrub-test
...
test: fix osd-scrub-snaps.sh
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-01 09:50:06 +01:00
Xinze Chi
2548ad8b67
test: fix osd-scrub-snaps.sh
...
when we run run-make-check.sh in hdd disk, it would spend much more
time to finish scrub.
Signed-off-by: Xinze Chi <xinze@xsky.com>
2015-12-01 11:10:10 +08:00
Xinze Chi
ce2d3c73ba
test: add pg_scrub for ceph-helpers.sh
...
Signed-off-by: Xinze Chi <xinze@xsky.com>
2015-12-01 11:10:10 +08:00