]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agopybind: remove extraneous semicolon in method 7235/head
Abhishek Lekshmanan [Thu, 14 Jan 2016 13:51:32 +0000 (14:51 +0100)]
pybind: remove extraneous semicolon in method

A semicolon on `rbd_build_object_map` method was causing build failures
in current master

Fixes: #14371
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoMerge pull request #7212 from caibo2014/fix-cephin-pipe-error
Kefu Chai [Thu, 14 Jan 2016 12:23:28 +0000 (20:23 +0800)]
Merge pull request #7212 from caibo2014/fix-cephin-pipe-error

ceph.in: avoid a broken pipe error when use ceph command

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoceph.in:avoid a broken pipe error when use ceph command 7212/head
Bo Cai [Wed, 13 Jan 2016 09:20:33 +0000 (17:20 +0800)]
ceph.in:avoid a broken pipe error when use ceph command

Fixes: #14354
Signed-off-by: Bo Cai <cai.bo@h3c.com>
9 years agoMerge pull request #7210 from swamireddy/contrib_list_10
Loic Dachary [Thu, 14 Jan 2016 11:05:56 +0000 (12:05 +0100)]
Merge pull request #7210 from swamireddy/contrib_list_10

mailmap update

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #7227 from dwj192/dwj-paxos
Kefu Chai [Thu, 14 Jan 2016 10:21:15 +0000 (18:21 +0800)]
Merge pull request #7227 from dwj192/dwj-paxos

mon: paxos is_recovering calc error

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7216 from jcsp/wip-14357
Yan, Zheng [Thu, 14 Jan 2016 10:16:58 +0000 (18:16 +0800)]
Merge pull request #7216 from jcsp/wip-14357

mds: advance clientreplay when replying

9 years agoMerge pull request #7219 from aiicore/affiliation
Loic Dachary [Thu, 14 Jan 2016 08:35:00 +0000 (09:35 +0100)]
Merge pull request #7219 from aiicore/affiliation

mailmap: Igor Podoski affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomon: paxos is_recovering calc error 7227/head
Weijun Duan [Thu, 14 Jan 2016 02:16:00 +0000 (21:16 -0500)]
mon: paxos is_recovering calc error

Fix:#14368

Signed-off-by: Weijun Duan <duanweijun@h3c.com>
9 years agoMerge pull request #7224 from dillaman/wip-13818
Josh Durgin [Thu, 14 Jan 2016 01:17:55 +0000 (17:17 -0800)]
Merge pull request #7224 from dillaman/wip-13818

tests: snap rename and rebuild object map in client update test

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agotests: snap rename and rebuild object map in client update test 7224/head
Jason Dillaman [Thu, 14 Jan 2016 00:02:39 +0000 (19:02 -0500)]
tests: snap rename and rebuild object map in client update test

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agopybind/rbd.pyx: add rebuild_object_map method
Jason Dillaman [Wed, 13 Jan 2016 23:07:01 +0000 (18:07 -0500)]
pybind/rbd.pyx: add rebuild_object_map method

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7215 from trociny/wip-rbd-nbd-fixes
Jason Dillaman [Wed, 13 Jan 2016 21:10:56 +0000 (16:10 -0500)]
Merge pull request #7215 from trociny/wip-rbd-nbd-fixes

rbd-nbd: fix up return code handling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agomailmap: Igor Podoski affiliation 7219/head
Igor Podoski [Wed, 13 Jan 2016 16:24:09 +0000 (17:24 +0100)]
mailmap: Igor Podoski affiliation

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
9 years agoMerge pull request #7174 from xiexingguo/xxg-wip-14332
Jason Dillaman [Wed, 13 Jan 2016 15:37:40 +0000 (10:37 -0500)]
Merge pull request #7174 from xiexingguo/xxg-wip-14332

librbd: fix potential memory leak

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7165 from xiexingguo/xxg-wip-14316
Jason Dillaman [Wed, 13 Jan 2016 15:34:12 +0000 (10:34 -0500)]
Merge pull request #7165 from xiexingguo/xxg-wip-14316

cls_rbd: add guards for error cases

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agomailmap: Jacek J. Łakis affiliation 7210/head
Swami Reddy [Wed, 13 Jan 2016 13:54:41 +0000 (19:24 +0530)]
mailmap:  Jacek J. Łakis affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agoMerge pull request #7069 from wonzhq/recovery-cache-hint
Sage Weil [Wed, 13 Jan 2016 13:23:45 +0000 (08:23 -0500)]
Merge pull request #7069 from wonzhq/recovery-cache-hint

osd: add cache hint when pushing raw clone during recovery

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7117 from efirs/ef_light_pg_get_put
Sage Weil [Wed, 13 Jan 2016 13:23:29 +0000 (08:23 -0500)]
Merge pull request #7117 from efirs/ef_light_pg_get_put

osd: avoid debug std::string initialization in PG::get/put

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7139 from tchaikov/wip-check-for-overlapped-rule
Sage Weil [Wed, 13 Jan 2016 13:22:50 +0000 (08:22 -0500)]
Merge pull request #7139 from tchaikov/wip-check-for-overlapped-rule

crush/CrushTester: check for overlapped rules

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7156 from xiexingguo/xxg-wip-14299
Sage Weil [Wed, 13 Jan 2016 13:21:32 +0000 (08:21 -0500)]
Merge pull request #7156 from xiexingguo/xxg-wip-14299

librados: fix several flaws introduced by the enumeration_objects API

Reviewed-by: John Spray <jspray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agomailmap: Drunkard Zhang affiliation
Swami Reddy [Wed, 13 Jan 2016 13:00:59 +0000 (18:30 +0530)]
mailmap: Drunkard Zhang affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Anthony Alba affiliation
Swami Reddy [Wed, 13 Jan 2016 12:56:46 +0000 (18:26 +0530)]
mailmap: Anthony Alba affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Dunrong Huang affiliation
Swami Reddy [Wed, 13 Jan 2016 12:36:43 +0000 (18:06 +0530)]
mailmap: Dunrong Huang affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Jeremy Qian affiliation
Swami Reddy [Wed, 13 Jan 2016 12:27:42 +0000 (17:57 +0530)]
mailmap: Jeremy Qian affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Shang Ding affiliation
Swami Reddy [Wed, 13 Jan 2016 12:25:59 +0000 (17:55 +0530)]
mailmap: Shang Ding affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Chuanhong Wang affiliation
Swami Reddy [Wed, 13 Jan 2016 12:07:44 +0000 (17:37 +0530)]
mailmap: Chuanhong Wang affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomds: advance clientreplay when replying 7216/head
John Spray [Wed, 13 Jan 2016 11:38:17 +0000 (11:38 +0000)]
mds: advance clientreplay when replying

...not just at the end of _dispatch.  Often we reply
to clients (i.e. complete a request) outside of
_dispatch, and currently in these cases we fail
to check for clientreplay completion (only hitting
that next time someone talks to _dispatch)

Fixes: #14357
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomailmap: Marc Koderer affiliation
Swami Reddy [Wed, 13 Jan 2016 12:00:06 +0000 (17:30 +0530)]
mailmap:  Marc Koderer affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Kongming Wu name normalization
Swami Reddy [Wed, 13 Jan 2016 11:47:08 +0000 (17:17 +0530)]
mailmap: Kongming Wu name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Zhang Huan affiliation
Swami Reddy [Wed, 13 Jan 2016 11:20:56 +0000 (16:50 +0530)]
mailmap: Zhang Huan affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Wei Feng affiliation
Swami Reddy [Wed, 13 Jan 2016 11:12:37 +0000 (16:42 +0530)]
mailmap: Wei Feng affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agotests: improve rbd-nbd tests 7215/head
Mykola Golub [Wed, 13 Jan 2016 10:55:32 +0000 (12:55 +0200)]
tests: improve rbd-nbd tests

- cleanup on a test failure;
- minimize interference with other processes (tests) that are
  run concurrently;
- use xmlstarlet when parsing rbd output;
- add exit status test.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agorbd-nbd: correctly set exit status if map command failed
Mykola Golub [Wed, 13 Jan 2016 10:47:58 +0000 (12:47 +0200)]
rbd-nbd: correctly set exit status if map command failed

- parent_wait() returns child exit status so test for "!= 0";
- do_map() is expected to return a negative value on failure.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agorbd-nbd: returned length equal requested only for read and write
Mykola Golub [Wed, 13 Jan 2016 10:42:47 +0000 (12:42 +0200)]
rbd-nbd: returned length equal requested only for read and write

On success aio_discard returns 0.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agomailmap: Lenz Grimmer affiliation
Swami Reddy [Wed, 13 Jan 2016 09:37:49 +0000 (15:07 +0530)]
mailmap: Lenz Grimmer affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Igor Fedotov affiliation
Swami Reddy [Wed, 13 Jan 2016 09:17:30 +0000 (14:47 +0530)]
mailmap: Igor Fedotov affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Igor Podoski affiliation
Swami Reddy [Wed, 13 Jan 2016 09:12:16 +0000 (14:42 +0530)]
mailmap: Igor Podoski affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Cilang Zhao affiliation
Swami Reddy [Wed, 13 Jan 2016 09:00:05 +0000 (14:30 +0530)]
mailmap: Cilang Zhao affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agoMerge pull request #6505 from aiicore/reduce_strings
Sage Weil [Wed, 13 Jan 2016 02:28:46 +0000 (21:28 -0500)]
Merge pull request #6505 from aiicore/reduce_strings

osd: reduce string use in coll_t::calc_str()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Evgeniy Firsov <evgeniy.firsov@sandisk.com>
9 years agoMerge pull request #7054 from songbaisen/master
Sage Weil [Wed, 13 Jan 2016 02:27:52 +0000 (21:27 -0500)]
Merge pull request #7054 from songbaisen/master

osd: optimize the session_handle_reset function

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7055 from xiexingguo/xxg-wip-14185
Sage Weil [Wed, 13 Jan 2016 02:27:11 +0000 (21:27 -0500)]
Merge pull request #7055 from xiexingguo/xxg-wip-14185

osd: several small cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7085 from tchaikov/wip-11692
Sage Weil [Wed, 13 Jan 2016 02:26:24 +0000 (21:26 -0500)]
Merge pull request #7085 from tchaikov/wip-11692

config: complains when a setting is not tracked

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7097 from tchaikov/bloat-leveldb-new
Sage Weil [Wed, 13 Jan 2016 02:25:39 +0000 (21:25 -0500)]
Merge pull request #7097 from tchaikov/bloat-leveldb-new

tools: ceph_monstore_tool: add inflate-pgmap command

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7109 from Aran85/wip-mon-laggy-interval
Sage Weil [Wed, 13 Jan 2016 02:25:19 +0000 (21:25 -0500)]
Merge pull request #7109 from Aran85/wip-mon-laggy-interval

mon/OSDMonitor: osdmap laggy set a maximum limit for interval

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7151 from ceph/wip-14256
Sage Weil [Wed, 13 Jan 2016 02:24:18 +0000 (21:24 -0500)]
Merge pull request #7151 from ceph/wip-14256

osdc: Fix race condition with tick_event and shutdown

Reviewed-by: John Spray <jspray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7157 from songbaisen/song3
Sage Weil [Wed, 13 Jan 2016 02:23:45 +0000 (21:23 -0500)]
Merge pull request #7157 from songbaisen/song3

crush: clean up whitespace removal

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agomailmap: Hector Martin affiliation
Swami Reddy [Tue, 12 Jan 2016 23:28:57 +0000 (04:58 +0530)]
mailmap: Hector Martin affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Tao Chang affiliation
Swami Reddy [Tue, 12 Jan 2016 23:00:57 +0000 (04:30 +0530)]
mailmap: Tao Chang affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Florent Manens affiliation
Swami Reddy [Tue, 12 Jan 2016 22:50:32 +0000 (04:20 +0530)]
mailmap: Florent Manens affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Evgeniy Firsov affiliation
Swami Reddy [Tue, 12 Jan 2016 22:39:29 +0000 (04:09 +0530)]
mailmap: Evgeniy Firsov affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agoMerge pull request #6944 from linuxbox2/wip-civetwarn
Yehuda Sadeh [Tue, 12 Jan 2016 18:51:20 +0000 (10:51 -0800)]
Merge pull request #6944 from linuxbox2/wip-civetwarn

rgw: warn on suspicious civetweb frontend parameters

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6332 from dx9/wip-12406-test_librdb_fsx
Ilya Dryomov [Tue, 12 Jan 2016 12:18:24 +0000 (13:18 +0100)]
Merge pull request #6332 from dx9/wip-12406-test_librdb_fsx

test/librbd/fsx: Use c++11 std::mt19937 generator instead of random_r()

Improve portability - random_r() is GNU-specific.

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
9 years agoMerge pull request #7029 from H3C/wip-yrf-rgw-fix1
Yehuda Sadeh [Mon, 11 Jan 2016 23:17:51 +0000 (15:17 -0800)]
Merge pull request #7029 from H3C/wip-yrf-rgw-fix1

rgw: let radosgw-admin bucket stats return a standard josn

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
9 years agoMerge pull request #7068 from ukernel/wip-14146
John Spray [Mon, 11 Jan 2016 23:14:03 +0000 (23:14 +0000)]
Merge pull request #7068 from ukernel/wip-14146

mds: expose state of recovery to status ASOK command

9 years agoMerge pull request #7155 from jdurgin/wip-rbd-defaults-test
Jason Dillaman [Mon, 11 Jan 2016 20:42:31 +0000 (15:42 -0500)]
Merge pull request #7155 from jdurgin/wip-rbd-defaults-test

pybind/test_rbd: fix test_create_defaults

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7171 from tchaikov/wip-enable-git-version
Casey Bodley [Mon, 11 Jan 2016 15:12:06 +0000 (10:12 -0500)]
Merge pull request #7171 from tchaikov/wip-enable-git-version

cmake: Add ENABLE_GIT_VERSION to avoid rebuilding

9 years agoMerge pull request #5882 from aiicore/add_thread_names
Sage Weil [Mon, 11 Jan 2016 14:04:29 +0000 (09:04 -0500)]
Merge pull request #5882 from aiicore/add_thread_names

common: add thread names

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7053 from xiaoxichen/fix_preboot
Sage Weil [Mon, 11 Jan 2016 14:04:06 +0000 (09:04 -0500)]
Merge pull request #7053 from xiaoxichen/fix_preboot

osd: check health state before pre_booting

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7059 from xiexingguo/xxg-wip-14187
Sage Weil [Mon, 11 Jan 2016 14:03:29 +0000 (09:03 -0500)]
Merge pull request #7059 from xiexingguo/xxg-wip-14187

osd: misc FileStore fixes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7083 from cxwshawn/wip-pg_stat-fix
Sage Weil [Mon, 11 Jan 2016 14:01:46 +0000 (09:01 -0500)]
Merge pull request #7083 from cxwshawn/wip-pg_stat-fix

mon: PGMonitor: acting primary diff with cur_stat, should not set pg to stale

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7092 from kylinstorage/cleanup_PGLog
Sage Weil [Mon, 11 Jan 2016 14:01:07 +0000 (09:01 -0500)]
Merge pull request #7092 from kylinstorage/cleanup_PGLog

osd: PGLog: clean up read_log

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7096 from H3C/wip-yrf-message-leak
Sage Weil [Mon, 11 Jan 2016 14:00:48 +0000 (09:00 -0500)]
Merge pull request #7096 from H3C/wip-yrf-message-leak

msg/simple: pipe: memory leak when signature check failed

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7107 from xiexingguo/xxg-wip-14227
Sage Weil [Mon, 11 Jan 2016 14:00:28 +0000 (09:00 -0500)]
Merge pull request #7107 from xiexingguo/xxg-wip-14227

osd: small fixes to memstore

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7125 from mslovy/wip-fix-bluestore-onode-attr-leak
Sage Weil [Mon, 11 Jan 2016 14:00:12 +0000 (09:00 -0500)]
Merge pull request #7125 from mslovy/wip-fix-bluestore-onode-attr-leak

osd: bluestore: fix bluestore onode_t attr leak

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7130 from liewegas/wip-bluestore
Sage Weil [Mon, 11 Jan 2016 13:59:54 +0000 (08:59 -0500)]
Merge pull request #7130 from liewegas/wip-bluestore

osd: bluestore: more fixes

9 years agoMerge pull request #7168 from tchaikov/wip-fix-bluestore-test
Sage Weil [Mon, 11 Jan 2016 13:35:28 +0000 (08:35 -0500)]
Merge pull request #7168 from tchaikov/wip-fix-bluestore-test

osd: bluestore: fix bluestore_wal_transaction_t encoding test

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7189 from dachary/wip-mailmap
Loic Dachary [Mon, 11 Jan 2016 13:05:51 +0000 (14:05 +0100)]
Merge pull request #7189 from dachary/wip-mailmap

mailmap updates

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agoReduce string use in coll_t::calc_str() 6505/head
Igor Podoski [Mon, 9 Nov 2015 13:33:10 +0000 (14:33 +0100)]
Reduce string use in coll_t::calc_str()

1. Reduce string use.
2. Speedup dec and hex to char conversion.

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
9 years agoMerge pull request #7021 from tchaikov/wip-rados-manpage
Loic Dachary [Mon, 11 Jan 2016 11:35:42 +0000 (12:35 +0100)]
Merge pull request #7021 from tchaikov/wip-rados-manpage

man: document listwatchers cmd in "rados" manpage

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomailmap: Dongmao Zhang affiliation 7189/head
Loic Dachary [Mon, 11 Jan 2016 11:32:40 +0000 (12:32 +0100)]
mailmap: Dongmao Zhang affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agomailmap: sort files
Loic Dachary [Mon, 11 Jan 2016 11:31:02 +0000 (12:31 +0100)]
mailmap: sort files

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #7173 from thesues/master
Loic Dachary [Mon, 11 Jan 2016 11:28:42 +0000 (12:28 +0100)]
Merge pull request #7173 from thesues/master

Change organization for Dongmao Zhang

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #7132 from jcsp/wip-14144-jcsp
Yan, Zheng [Mon, 11 Jan 2016 11:21:03 +0000 (19:21 +0800)]
Merge pull request #7132 from jcsp/wip-14144-jcsp

mds: fix standby replay thread creation

9 years agoRBD: remove redundant parent check 7174/head
xie xingguo [Mon, 11 Jan 2016 10:29:01 +0000 (18:29 +0800)]
RBD: remove redundant parent check

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoRBD: fix unhandle result code during list/list_children
xie xingguo [Mon, 11 Jan 2016 10:25:07 +0000 (18:25 +0800)]
RBD: fix unhandle result code during list/list_children

Fixes: #14333
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoRBD: fix potential memory leak
xie xingguo [Mon, 11 Jan 2016 09:05:37 +0000 (17:05 +0800)]
RBD: fix potential memory leak

Fixes: #14332
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #7072 from dllgzcl/wip-zcl-ceph-s
Kefu Chai [Mon, 11 Jan 2016 08:54:07 +0000 (16:54 +0800)]
Merge pull request #7072 from dllgzcl/wip-zcl-ceph-s

mon/PGMap: show rd/wr iops separately in status reports

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoChange organization for Dongmao Zhang 7173/head
Dongmao Zhang [Mon, 11 Jan 2016 07:40:48 +0000 (15:40 +0800)]
Change organization for Dongmao Zhang

Signed-off-by: Dongmao Zhang <deanraccoon@gmail.com>
9 years agoCrush:Remove all the before and after space in better way. 7157/head
songbaisen [Fri, 8 Jan 2016 06:45:47 +0000 (14:45 +0800)]
Crush:Remove all the before and after space in better way.

Fixes: #14302
Signed-off-by: songbaisen song.baisen@zte.com.cn
9 years agocmake: Add ENABLE_GIT_VERSION to avoid rebuilding 7171/head
Kefu Chai [Mon, 11 Jan 2016 04:33:13 +0000 (12:33 +0800)]
cmake: Add ENABLE_GIT_VERSION to avoid rebuilding

it is a pain to see something like
"expected plugin ./ec_plugins/libec_jerasure.so version
 v10.0.1-1239-g73c5763 but it claims to be v10.0.1-1241-gdb83f12
 instead" from time to time. so this is a cmake port of b227426.
the option ENABLE_GIT_VERSION is ON by default. if it is set OFF,
ceph_ver.h will not be recreated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoos/bluestore: fix bluestore_wal_transaction_t encoding test 7168/head
Kefu Chai [Sun, 10 Jan 2016 10:34:57 +0000 (18:34 +0800)]
os/bluestore: fix bluestore_wal_transaction_t encoding test

bluestore_wal_transaction_t::seq is encoded/dumped but it is not
initialized in its ctor. so set it to 0 in its ctor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7126 from tchaikov/wip-detect-bzip2-lz4
Casey Bodley [Sat, 9 Jan 2016 18:09:44 +0000 (13:09 -0500)]
Merge pull request #7126 from tchaikov/wip-detect-bzip2-lz4

cmake: detect bzip2 and lz4

9 years agoMerge pull request #7166 from kylinstorage/wip-rbdnbd-misc
Li Wang [Sat, 9 Jan 2016 13:25:06 +0000 (21:25 +0800)]
Merge pull request #7166 from kylinstorage/wip-rbdnbd-misc

rbd-nbd: add copyright

9 years agoRBD: fix unmatched output format 7165/head
xie xingguo [Sat, 9 Jan 2016 08:09:48 +0000 (16:09 +0800)]
RBD: fix unmatched output format

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoRBD: fix result code overwritten during header&footer write
xie xingguo [Sat, 9 Jan 2016 08:02:53 +0000 (16:02 +0800)]
RBD: fix result code overwritten during header&footer write

Fixes: #14317
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoRBD: exit if we are unable to read object map footer
xie xingguo [Sat, 9 Jan 2016 07:55:51 +0000 (15:55 +0800)]
RBD: exit if we are unable to read object map footer

Fixes: #14316
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: fix allocation vs reservation for bluefs extents 7130/head
Sage Weil [Fri, 8 Jan 2016 21:11:02 +0000 (16:11 -0500)]
os/bluestore: fix allocation vs reservation for bluefs extents

- drop the MIN cruft
- unreserve what we didn't get

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: bluestore_debug_prefill = <fill ratio>
Sage Weil [Fri, 8 Jan 2016 20:22:25 +0000 (15:22 -0500)]
os/bluestore: bluestore_debug_prefill = <fill ratio>

Prefill the objectstore by fragmenting the freespace.  Max free allocations
are bluestore_debug_prefragment_max bytes (default 1M).  Prefill defaults
to 0, of course.  One would normally just set this to .8 to get something
resembling an aged disk.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7161 from liewegas/wip-port
Loic Dachary [Fri, 8 Jan 2016 18:12:06 +0000 (19:12 +0100)]
Merge pull request #7161 from liewegas/wip-port

test/mon/osd-erasure-code-profile: pick new mon port

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoos/bluestore: pad trailing zeros for WAL write past eof
Sage Weil [Fri, 8 Jan 2016 17:26:05 +0000 (12:26 -0500)]
os/bluestore: pad trailing zeros for WAL write past eof

If we're past EOF, we need to zero the rest of the block.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/kstore: make fiemap behave past EOF
Sage Weil [Fri, 8 Jan 2016 16:17:02 +0000 (11:17 -0500)]
os/kstore: make fiemap behave past EOF

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: make fiemap return valid result beyond EOF
Sage Weil [Fri, 8 Jan 2016 16:16:22 +0000 (11:16 -0500)]
os/bluestore: make fiemap return valid result beyond EOF

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agovstart.sh: debug bluestore = 30
Sage Weil [Fri, 8 Jan 2016 15:26:18 +0000 (10:26 -0500)]
vstart.sh: debug bluestore = 30

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotest/osd/RadosModel: fix sparse read result check
Sage Weil [Fri, 8 Jan 2016 14:19:36 +0000 (09:19 -0500)]
test/osd/RadosModel: fix sparse read result check

The object may have trailing zeros.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/kstore: implement minimal fiemap
Sage Weil [Thu, 7 Jan 2016 14:14:57 +0000 (09:14 -0500)]
os/kstore: implement minimal fiemap

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: remove #warning cruft
Sage Weil [Wed, 6 Jan 2016 22:59:58 +0000 (17:59 -0500)]
os/bluestore: remove #warning cruft

These are on my todo list elsewhere.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/fs: make aio EAGAIN backoff exponential
Sage Weil [Wed, 6 Jan 2016 19:19:54 +0000 (14:19 -0500)]
os/fs: make aio EAGAIN backoff exponential

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlockDevice: reduce aio queue size
Sage Weil [Wed, 6 Jan 2016 19:19:43 +0000 (14:19 -0500)]
os/bluestore/BlockDevice: reduce aio queue size

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: clean up _do_read debug output
Sage Weil [Wed, 6 Jan 2016 18:56:04 +0000 (13:56 -0500)]
os/bluestore: clean up _do_read debug output

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: fix _compact_log seq jump
Sage Weil [Wed, 6 Jan 2016 18:55:47 +0000 (13:55 -0500)]
os/bluestore/BlueFS: fix _compact_log seq jump

Signed-off-by: Sage Weil <sage@redhat.com>