Sage Weil
65a3c21931
test/encoding/readable.sh: fix make check for autotools
...
Use ./ if ceph-dencoder is in the local directory.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-25 01:12:45 -04:00
Dongsheng Yang
b73d2f20c6
FreelistManager: change return type of allocate() and release() to void
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-04-25 00:57:53 -04:00
Dongsheng Yang
c2c92b16ac
bluestore: change the return type of _txc_finalize to void
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-04-25 00:57:53 -04:00
Dongsheng Yang
30b3b35128
KStore: change the return type of _txc_finalize to void
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-04-25 00:57:53 -04:00
Dongsheng Yang
0b47e11642
bluestore: check return value of db->submit_transaction() by assert(0 == r)
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-04-25 00:57:52 -04:00
Dongsheng Yang
8aad324369
kstore: check return value of db->submit_transaction() by assert(0 == r)
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2016-04-25 00:57:52 -04:00
Kefu Chai
9d3c0d5b46
Merge pull request #8719 from SUSE/wip-fix-multidump
...
multi-dump.sh: fix usage function
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-25 11:04:47 +08:00
Yan Jun
0519f938e1
msg/async: fix some return values and misspellings.
...
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2016-04-25 09:45:20 +08:00
ibravo
893b7a0069
Doc: Updated ceph-deploy osd to choose underlying file system
...
Included paragraph about --fs-type and --bluestore
Signed-off-by: Ignacio Bravo ibravo@hotmail.com
2016-04-24 20:28:35 -04:00
ibravo
485ef83e58
Doc: Update quick-ceph-deploy.rst
...
Signed-off-by: Ignacio Bravo ibravo@hotmail.com
2016-04-24 19:28:55 -04:00
Sage Weil
47ddc266b5
osd/osd_types: render notify OSDOp properly
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-24 16:03:05 -04:00
Sage Weil
749fcadfd3
Merge pull request #8640 from xiexingguo/xxg-wip-osdsideeffect
...
osd/ReplicatedPG: allow CMPXATTR ops to trigger side effects too
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:51:06 -04:00
Sage Weil
56697d0406
Merge pull request #8694 from wuxingyi/fixincomplete
...
osd/PG: PG is only likely to go active when min_size turns smaller.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:50:00 -04:00
Sage Weil
401804e354
osd: honour result code passed in; tidy-up changesReviewed-by: Sage Weil <sage@redhat.com>
...
osd: honour result code passed in; tidy-up changes
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:49:09 -04:00
Sage Weil
c78b354eff
Merge pull request #8675 from roidayan/xio-build_deb_with_xio
...
xio: add MNop.h to dist tarball
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:48:35 -04:00
Sage Weil
2f2cb9eb42
Merge pull request #8678 from jack-changtao/pgbackend
...
osd/PGBackend: if min > max, PGBackend::objects_list_partial will list all objects of that pg
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:48:25 -04:00
Sage Weil
c2defeb2c0
Merge pull request #8680 from ceph/rm-distribute
...
tools: remove installation for distribute. It is no longer maintained
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:48:09 -04:00
Sage Weil
2c3ef6d7ed
Merge pull request #8681 from xiexingguo/xxg-wip-crushfix
...
crush: fix mishandled result of get_bucket() method
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:47:57 -04:00
Sage Weil
93d7deff53
Merge pull request #8707 from liewegas/wip-kv-merge
...
kv: add merge operator support, fix test
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:47:22 -04:00
Sage Weil
1e1d898d1f
Merge pull request #8688 from xiexingguo/xxg-wip-crushtooltip
...
tools/crushtool: add straw2 support for help message
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:47:08 -04:00
Sage Weil
e4409981b8
Merge pull request #8671 from majianpeng/rados-objectsize-smaller-blocksize
...
tools/rados: fix "Floating point exception" if objectsize smaller than blocksize when do write-bench.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:46:57 -04:00
Sage Weil
8c3ddbea8b
Merge pull request #8502 from songbaisen/song20
...
crushtool: do not allow to compile crushmap with repeat ruleset.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:46:40 -04:00
Sage Weil
bf93c05e41
Merge pull request #8724 from aderumier/master
...
sysvinit: fix ceph init script
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 10:31:09 -04:00
Alexandre Derumier
b581dd56be
fix ceph init script
...
commit 65963739cd6815b8008282c8f64cd64365662e60 have introduce a bug
test variables need to be quoted, or -n always return true, even if variables don't exist
2016-04-24 09:55:35 +02:00
wangsongbo
048469255b
doc: correct wrong spell 'mnay' to 'many'
...
Signed-off-by: wangsongbo <wangsongbo@unitedstack.com>
2016-04-24 11:19:09 +08:00
Nathan Cutler
bc9478edc6
multi-dump.sh: fix usage function
...
The usage() function was not producing any output.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-04-23 18:43:16 +02:00
Nathan Cutler
df893f395e
systemd: make Ceph daemon units "want" time-sync.target
...
Fixes: http://tracker.ceph.com/issues/15419
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-04-23 17:48:08 +02:00
Karol Mroz
088cc66a94
global-init: fixup inconsistent use of ceph ctx and conf
...
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-23 15:41:52 +02:00
Karol Mroz
9c82d8466a
global-init: chown pid files
...
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-23 15:41:51 +02:00
Karol Mroz
9d513793b3
global-init: chown run dir
...
Also performs log file chown() operations if permission drop has been
deferred. Documents that admin socket chown() happen in the common init
path.
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-23 15:41:51 +02:00
Karol Mroz
206585c1d0
common-init: chown admin socket after service thread started
...
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-23 15:41:51 +02:00
Karol Mroz
a0ad13db7a
global-init: check init flags and set accordingly
...
If init flags have changed between the time ceph context was
instantiated and now, update them. This can happen, for example, if
between manual global_pre_init() and global_init() calls, a daemon adds
modifies it's init flags.
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-23 13:36:01 +02:00
Karol Mroz
860977b105
global-init: add a path chown wrapper function
...
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-23 13:35:02 +02:00
Karol Mroz
aecab14089
ceph-context: add function to set init flags
...
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-23 13:32:45 +02:00
Yan Jun
69a587b139
msg/async: delete the confused comments.
...
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2016-04-23 15:50:35 +08:00
Yan Jun
f08ca0a089
msg/async: add numevents statistics for external_events
...
Maybe we need to add the statistics for external_events.
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2016-04-23 15:50:35 +08:00
runsisi
bc67d0c805
cmake: use LINK_PRIVATE instead of PRIVATE for CMake version == 2.8.11
...
with version 2.8.11, i.e., the minimum version required by the building
system, we will hit a compile error as follows:
/usr/bin/ld: cannot find -lPRIVATE
collect2: error: ld returned 1 exit status
make[2]: *** [lib/librbd.so.1.0.0] Error 1
make[1]: *** [src/librbd/CMakeFiles/librbd.dir/all] Error 2
Signed-off-by: runsisi <runsisi@zte.com.cn>
2016-04-23 14:57:36 +08:00
xie xingguo
f17ba6a66c
osd/ReplicatedBackend: mark op as started for better tracing
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:25 +08:00
xie xingguo
0ab8468695
osd: use pif directly
...
We don't have to call past_intervals.begin() again as we currently
have pif point to it already.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:25 +08:00
xie xingguo
fd76b2e7ba
osd: initialize role of pg more properly
...
"O" means pg is primary, we can't declare that at construction.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:25 +08:00
xie xingguo
b304c12dc0
osd: kill find_entry() method of pg_log_t
...
1. it is never used by anyone.
2. the implementation of this method is a little bit problematic, e.g.,
we don't do sanity check against traversing cross the list boundary.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:25 +08:00
xie xingguo
b98e6e643d
common: fix constructer member type of hobject mismatch
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:25 +08:00
xie xingguo
10898dfbeb
osd: fix indention, typo etc.
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:25 +08:00
xie xingguo
d5aa9f8f53
osd: fix dump type mistach of scrubber
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:25 +08:00
xie xingguo
91195b05e4
osd: kill CheckRepops event, which is never used
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:25 +08:00
xie xingguo
40add6a63d
osd: kill sub_op_scrub_stop, it never works
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:24 +08:00
xie xingguo
27e5305599
osd: reset backfill to false directly when we create a brand-new pg
...
Because under this case result is set to RES_NON and result == RES_SELF
shall always return false.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:24 +08:00
xie xingguo
8d18e40b54
osd: avoid duplicated call, which is unnecessary.
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:24 +08:00
xie xingguo
026f38dd60
os/filestore: do not reset result code if _do_clone_range() failed
...
Because _do_clone_range() is not a standard system call, it may return
some customized error code instead. Therefore the output result code
may get overwritten by errno.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:24 +08:00
xie xingguo
2004b2ac28
os/filestore: drop duplicated tracked conf key
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-23 09:11:24 +08:00