]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoadd -f flag for btrfs mkfs 7222/head
Darrell Enns [Wed, 13 Jan 2016 19:44:40 +0000 (11:44 -0800)]
add -f flag for btrfs mkfs

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 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 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 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>
9 years agoos/bluestore/BlockDevice: make pread() safe
Sage Weil [Wed, 6 Jan 2016 17:57:12 +0000 (12:57 -0500)]
os/bluestore/BlockDevice: make pread() safe

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix fiemap
Sage Weil [Wed, 6 Jan 2016 17:54:23 +0000 (12:54 -0500)]
os/bluestore: fix fiemap

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: drop unused TransContext mutex and cond
Sage Weil [Tue, 5 Jan 2016 16:12:27 +0000 (11:12 -0500)]
os/bluestore: drop unused TransContext mutex and cond

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlockDevice: quieter default log level
Sage Weil [Tue, 5 Jan 2016 16:12:18 +0000 (11:12 -0500)]
os/bluestore/BlockDevice: quieter default log level

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlockDevice: make flush a no-op if there was no IO
Sage Weil [Tue, 5 Jan 2016 03:04:28 +0000 (22:04 -0500)]
os/bluestore/BlockDevice: make flush a no-op if there was no IO

fdatasync(2) does a cache flush on the device, which we want to avoid if
we didn't actually write anything.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix fiemap on object with no data
Sage Weil [Tue, 5 Jan 2016 14:00:32 +0000 (09:00 -0500)]
os/bluestore: fix fiemap on object with no data

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlockDevice: initiate bufferd writes at aio_write time
Sage Weil [Tue, 5 Jan 2016 03:13:07 +0000 (22:13 -0500)]
os/bluestore/BlockDevice: initiate bufferd writes at aio_write time

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: buffered writes
Sage Weil [Tue, 5 Jan 2016 03:08:31 +0000 (22:08 -0500)]
os/bluestore/BlueFS: buffered writes

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: no lock on read
Sage Weil [Mon, 4 Jan 2016 18:49:23 +0000 (13:49 -0500)]
os/bluestore/BlueFS: no lock on read

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: do not wait for IO on flush
Sage Weil [Mon, 4 Jan 2016 18:44:32 +0000 (13:44 -0500)]
os/bluestore/BlueFS: do not wait for IO on flush

Wait on fsync and _flush_log only.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: read_random
Sage Weil [Mon, 4 Jan 2016 18:42:51 +0000 (13:42 -0500)]
os/bluestore/BlueFS: read_random

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlockDevice: read_buffered
Sage Weil [Mon, 4 Jan 2016 18:42:06 +0000 (13:42 -0500)]
os/bluestore/BlockDevice: read_buffered

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: keep bool random in FileReader
Sage Weil [Mon, 4 Jan 2016 17:54:06 +0000 (12:54 -0500)]
os/bluestore/BlueFS: keep bool random in FileReader

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: reserve first block for label when bluefs = false
Sage Weil [Mon, 4 Jan 2016 16:29:47 +0000 (11:29 -0500)]
os/bluestore: reserve first block for label when bluefs = false

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix bdev label error message
Sage Weil [Mon, 4 Jan 2016 16:28:13 +0000 (11:28 -0500)]
os/bluestore: fix bdev label error message

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: send all old bluefs IOContexts for reap by bdev
Sage Weil [Mon, 4 Jan 2016 16:11:53 +0000 (11:11 -0500)]
os/bluestore: send all old bluefs IOContexts for reap by bdev

Doing it in the aio thread ensures that there isn't a use-after-free.
Note that this is only bluefs written files.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix valgrind warning on fsid read
Sage Weil [Mon, 4 Jan 2016 15:30:31 +0000 (10:30 -0500)]
os/bluestore: fix valgrind warning on fsid read

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/keyvaluestore: fix valgrind warning on fsid read
Sage Weil [Mon, 4 Jan 2016 14:07:22 +0000 (09:07 -0500)]
os/keyvaluestore: fix valgrind warning on fsid read

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/filestore: fix valgrind warning on fsid read
Sage Weil [Mon, 4 Jan 2016 14:05:34 +0000 (09:05 -0500)]
os/filestore: fix valgrind warning on fsid read

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotest/mon/osd-erasure-code-profile: pick new mon port 7161/head
Sage Weil [Fri, 8 Jan 2016 18:04:57 +0000 (13:04 -0500)]
test/mon/osd-erasure-code-profile: pick new mon port

7108 is used by mark-down.sh

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6911 from stiopaa1/const_variable_length
Sage Weil [Fri, 8 Jan 2016 17:45:39 +0000 (12:45 -0500)]
Merge pull request #6911 from stiopaa1/const_variable_length

tests: add const for ec test

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6989 from stiopaa1/message_inline
Sage Weil [Fri, 8 Jan 2016 17:44:46 +0000 (12:44 -0500)]
Merge pull request #6989 from stiopaa1/message_inline

msg: remove unneeded inline

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7160 from yehudasa/wip-rgw-warn
Sage Weil [Fri, 8 Jan 2016 16:50:36 +0000 (11:50 -0500)]
Merge pull request #7160 from yehudasa/wip-rgw-warn

rgw: fix compilation warning

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agorgw: fix compilation warning 7160/head
Yehuda Sadeh [Fri, 8 Jan 2016 16:44:10 +0000 (08:44 -0800)]
rgw: fix compilation warning

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoObjecter: fix typo and wrong tracing messages 7156/head
xie xingguo [Fri, 8 Jan 2016 09:34:40 +0000 (17:34 +0800)]
Objecter: fix typo and wrong tracing messages

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoObjecter: fix potential null pointer access
xie xingguo [Fri, 8 Jan 2016 05:18:12 +0000 (13:18 +0800)]
Objecter: fix potential null pointer access

Fixes: #14301
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoObjecter: exit if we detect read error
xie xingguo [Fri, 8 Jan 2016 04:59:19 +0000 (12:59 +0800)]
Objecter: exit if we detect read error

Fixes: #14300
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoObjecter: abort enumeration when we encouter pool dne
xie xingguo [Fri, 8 Jan 2016 04:56:06 +0000 (12:56 +0800)]
Objecter: abort enumeration when we encouter pool dne

Otherwise we may risk of executing the callback twice, which is fatal.

Fixes: #14299
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agopybind/test_rbd: fix test_create_defaults 7155/head
Josh Durgin [Fri, 8 Jan 2016 03:50:23 +0000 (19:50 -0800)]
pybind/test_rbd: fix test_create_defaults

Adjust for default order only being applied via ceph conf since
16d50459c4996cd3b188bc5da100d1ce069f05cd

Fixes: #14279
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7149 from fullerdj/wip-14280
Josh Durgin [Fri, 8 Jan 2016 02:29:15 +0000 (18:29 -0800)]
Merge pull request #7149 from fullerdj/wip-14280

cls_rbd: enable object map checksums for object_map_save

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7154 from liewegas/wip-make-check
Josh Durgin [Fri, 8 Jan 2016 02:01:07 +0000 (18:01 -0800)]
Merge pull request #7154 from liewegas/wip-make-check

unittest_ipaddr: fix segv

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agounittest_ipaddr: fix segv 7154/head
Sage Weil [Fri, 8 Jan 2016 01:53:19 +0000 (20:53 -0500)]
unittest_ipaddr: fix segv

Since b6d0fc9e0e515e50894c08217d688a8c94db7570 we need ifa_name to
be defined.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoAdd copyright for rbd-nbd 7166/head
Li Wang [Fri, 8 Jan 2016 01:42:15 +0000 (09:42 +0800)]
Add copyright for rbd-nbd

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
9 years agoMerge pull request #6002 from Sandy4999/wip-12890
Yehuda Sadeh [Fri, 8 Jan 2016 01:12:21 +0000 (17:12 -0800)]
Merge pull request #6002 from Sandy4999/wip-12890

rgw: add a method to purge all associate keys when removing a subuser

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6080 from clever215/wkm-master-139
Yehuda Sadeh [Fri, 8 Jan 2016 01:10:43 +0000 (17:10 -0800)]
Merge pull request #6080 from clever215/wkm-master-139

rgw: modify documents and help infos' descriptions to the usage of option date when executing command "log show"

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>