]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agolibrbd: handle additional journal replay states 7019/head
Jason Dillaman [Fri, 15 Jan 2016 15:40:06 +0000 (10:40 -0500)]
librbd: handle additional journal replay states

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: avoid recursive callback when replaying journal
Jason Dillaman [Fri, 15 Jan 2016 15:38:54 +0000 (10:38 -0500)]
librbd: avoid recursive callback when replaying journal

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: correct googlemock warnings
Jason Dillaman [Fri, 15 Jan 2016 15:32:28 +0000 (10:32 -0500)]
tests: correct googlemock warnings

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: update tests to support replaying snap create / resize
Jason Dillaman [Tue, 22 Dec 2015 20:55:19 +0000 (15:55 -0500)]
tests: update tests to support replaying snap create / resize

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: initial hook points for snap create / resize journal replay
Jason Dillaman [Tue, 22 Dec 2015 19:00:43 +0000 (14:00 -0500)]
librbd: initial hook points for snap create / resize journal replay

After snap create has blocked IO and after resize has ensured clipped
IO boundaries, they will resume the playback of journal events.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: journal events still possible during shutdown
Jason Dillaman [Tue, 22 Dec 2015 18:54:15 +0000 (13:54 -0500)]
librbd: journal events still possible during shutdown

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: new unit test for snap rollback state machine
Jason Dillaman [Tue, 22 Dec 2015 18:40:51 +0000 (13:40 -0500)]
tests: new unit test for snap rollback state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: snapshot rollback should block writes
Jason Dillaman [Tue, 22 Dec 2015 17:05:47 +0000 (12:05 -0500)]
librbd: snapshot rollback should block writes

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: track simple maintenance ops to coordinate replay
Jason Dillaman [Tue, 22 Dec 2015 15:18:33 +0000 (10:18 -0500)]
librbd: track simple maintenance ops to coordinate replay

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: asynchronously replay journal events
Jason Dillaman [Tue, 22 Dec 2015 01:27:36 +0000 (20:27 -0500)]
librbd: asynchronously replay journal events

Properly track when AIO operations are safely committed to
disk before marking the journal events are committed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: unit test cases for all available journal events
Jason Dillaman [Thu, 17 Dec 2015 20:29:40 +0000 (15:29 -0500)]
tests: unit test cases for all available journal events

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: initial integration of maintenance op journal replay
Jason Dillaman [Thu, 17 Dec 2015 20:28:31 +0000 (15:28 -0500)]
librbd: initial integration of maintenance op journal replay

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: AioImageRequest base class is now templated
Jason Dillaman [Thu, 17 Dec 2015 18:21:42 +0000 (13:21 -0500)]
librbd: AioImageRequest base class is now templated

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: updated librbd test cases for updated maint ops API
Jason Dillaman [Thu, 17 Dec 2015 16:09:18 +0000 (11:09 -0500)]
tests: updated librbd test cases for updated maint ops API

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: moved all maintenance ops to new Operations class
Jason Dillaman [Thu, 17 Dec 2015 15:46:00 +0000 (10:46 -0500)]
librbd: moved all maintenance ops to new Operations class

This will permit unit testing and will facilitate proper
serialization of requests (when necessary).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: journal event handling test updates
Jason Dillaman [Thu, 17 Dec 2015 06:25:45 +0000 (01:25 -0500)]
tests: journal event handling test updates

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: unit test case for librbd::operation::ResizeRequest
Jason Dillaman [Thu, 17 Dec 2015 06:22:37 +0000 (01:22 -0500)]
tests: unit test case for librbd::operation::ResizeRequest

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: properly order maintenance ops journal events
Jason Dillaman [Thu, 17 Dec 2015 04:17:22 +0000 (23:17 -0500)]
librbd: properly order maintenance ops journal events

In general, the op shoud only start after the jouranl event is
safely committed.  Snapshot create and resize need special treatment
to record the event while no IO is in-progress.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: fixed "hidden" virtual methods
Jason Dillaman [Wed, 16 Dec 2015 21:18:55 +0000 (16:18 -0500)]
librbd: fixed "hidden" virtual methods

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: handle journal and IO commits in either sequence
Jason Dillaman [Wed, 16 Dec 2015 18:46:16 +0000 (13:46 -0500)]
librbd: handle journal and IO commits in either sequence

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: allocate and associate op tids to maint op journal events
Jason Dillaman [Wed, 16 Dec 2015 15:48:08 +0000 (10:48 -0500)]
librbd: allocate and associate op tids to maint op journal events

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: unit tests for librbd Journal
Jason Dillaman [Tue, 15 Dec 2015 21:16:53 +0000 (16:16 -0500)]
tests: unit tests for librbd Journal

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: journal replay flush should be async
Jason Dillaman [Tue, 15 Dec 2015 18:20:48 +0000 (13:20 -0500)]
librbd: journal replay flush should be async

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: convert journal classes to templates for unit testing
Jason Dillaman [Tue, 15 Dec 2015 16:13:34 +0000 (11:13 -0500)]
librbd: convert journal classes to templates for unit testing

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: compile RBD and RGW types into ceph-dencoder when enabled
Jason Dillaman [Wed, 16 Dec 2015 15:40:56 +0000 (10:40 -0500)]
tests: compile RBD and RGW types into ceph-dencoder when enabled

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: move journal support classes to journal namespace
Jason Dillaman [Tue, 15 Dec 2015 15:34:24 +0000 (10:34 -0500)]
librbd: move journal support classes to journal namespace

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge branch 'wip-compressor'
Sage Weil [Fri, 15 Jan 2016 00:04:46 +0000 (19:04 -0500)]
Merge branch 'wip-compressor'

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoCompressor: compressor plugins unit tests
Ved-vampir [Tue, 10 Nov 2015 15:47:18 +0000 (18:47 +0300)]
Compressor: compressor plugins unit tests

Signed-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
9 years agoCompressor: compressor code extention: plugin system added
Ved-vampir [Tue, 10 Nov 2015 15:20:02 +0000 (18:20 +0300)]
Compressor: compressor code extention: plugin system added

Signed-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
9 years agoMerge pull request #6425 from branch-predictor/bp-delayed-pglog-index-v2
Sage Weil [Fri, 15 Jan 2016 00:02:30 +0000 (19:02 -0500)]
Merge pull request #6425 from branch-predictor/bp-delayed-pglog-index-v2

osd: delay populating in-memory PG log hashmaps

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6797 from mathslinux/fix-parse-return
Sage Weil [Fri, 15 Jan 2016 00:01:00 +0000 (19:01 -0500)]
Merge pull request #6797 from mathslinux/fix-parse-return

rgw: fix wrong check for parse() return

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7087 from H3C/wip-yrf-cephdf
Sage Weil [Fri, 15 Jan 2016 00:00:16 +0000 (19:00 -0500)]
Merge pull request #7087 from H3C/wip-yrf-cephdf

mon: add RAW USED column to ceph df detail

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7106 from tchaikov/wip-11101
Sage Weil [Thu, 14 Jan 2016 23:59:46 +0000 (18:59 -0500)]
Merge pull request #7106 from tchaikov/wip-11101

ceph: improve the error message

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7122 from xiexingguo/xxg-wip-bluefs
Sage Weil [Thu, 14 Jan 2016 23:59:12 +0000 (18:59 -0500)]
Merge pull request #7122 from xiexingguo/xxg-wip-bluefs

osd: bluestore: fix several bugs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7196 from liewegas/wip-bluestore
Sage Weil [Thu, 14 Jan 2016 23:57:57 +0000 (18:57 -0500)]
Merge pull request #7196 from liewegas/wip-bluestore

osd: bluestore: fix space rebalancing, collection split, buffered reads

9 years agoMerge pull request #7200 from xiexingguo/xxg-wip-14343
Sage Weil [Thu, 14 Jan 2016 23:57:26 +0000 (18:57 -0500)]
Merge pull request #7200 from xiexingguo/xxg-wip-14343

osd: bluestore: bluefs: fix several small bugs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7213 from xiexingguo/xxg-wip-14351
Sage Weil [Thu, 14 Jan 2016 23:56:16 +0000 (18:56 -0500)]
Merge pull request #7213 from xiexingguo/xxg-wip-14351

osd: kstore: several small fixes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'upstream/jewel'
Jason Dillaman [Thu, 14 Jan 2016 21:21:05 +0000 (16:21 -0500)]
Merge remote-tracking branch 'upstream/jewel'

9 years agoMerge pull request #7222 from dack/master
Sage Weil [Thu, 14 Jan 2016 20:49:03 +0000 (15:49 -0500)]
Merge pull request #7222 from dack/master

ceph-disk: add -f flag for btrfs mkfs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge branch 'greg-fs-testing'
Greg Farnum [Thu, 14 Jan 2016 18:27:17 +0000 (10:27 -0800)]
Merge branch 'greg-fs-testing'

9 years agofsx: checkout old version until it compiles properly on miras
Greg Farnum [Wed, 13 Jan 2016 21:17:53 +0000 (13:17 -0800)]
fsx: checkout old version until it compiles properly on miras

I sent a patch to xfstests upstream at
http://article.gmane.org/gmane.comp.file-systems.fstests/1665, but
until that's fixed we need a version that works in our test lab.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge branch 'wip-13569' of git://github.com/ukernel/ceph into greg-fs-testing
Greg Farnum [Wed, 13 Jan 2016 02:37:56 +0000 (18:37 -0800)]
Merge branch 'wip-13569' of git://github.com/ukernel/ceph into greg-fs-testing

https://github.com/ceph/ceph/pull/6463

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge branch 'wip-13127-master' into greg-fs-testing
Greg Farnum [Wed, 13 Jan 2016 02:37:24 +0000 (18:37 -0800)]
Merge branch 'wip-13127-master' into greg-fs-testing

https://github.com/ceph/ceph/pull/5990

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge remote-tracking branch 'origin/wip-libcephfs-acl' into greg-fs-testing
Greg Farnum [Thu, 14 Jan 2016 18:24:15 +0000 (10:24 -0800)]
Merge remote-tracking branch 'origin/wip-libcephfs-acl' into greg-fs-testing

https://github.com/ceph/ceph/pull/5658

Reviewed-by: John Spray <jspray@redhat.com>
Conflicts:
src/common/config_opts.h

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge branch 'wip-root-metadata' of git://github.com/jcsp/ceph into greg-fs-testing
Greg Farnum [Wed, 13 Jan 2016 01:57:04 +0000 (17:57 -0800)]
Merge branch 'wip-root-metadata' of git://github.com/jcsp/ceph into greg-fs-testing

https://github.com/ceph/ceph/pull/6179

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agodoc/release-notes: v10.0.2
Sage Weil [Thu, 14 Jan 2016 14:47:29 +0000 (09:47 -0500)]
doc/release-notes: v10.0.2

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7235 from theanalyst/fix/pybind-build-failure
Jason Dillaman [Thu, 14 Jan 2016 14:30:46 +0000 (09:30 -0500)]
Merge pull request #7235 from theanalyst/fix/pybind-build-failure

pybind: fix build failure, remove extraneous semicolon in method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agopybind/rbd.pyx: drop stray semicolon
Sage Weil [Thu, 14 Jan 2016 14:22:48 +0000 (09:22 -0500)]
pybind/rbd.pyx: drop stray semicolon

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/FreelistManager: fix _dump locking 7196/head
Sage Weil [Thu, 14 Jan 2016 14:18:24 +0000 (09:18 -0500)]
os/bluestore/FreelistManager: fix _dump locking

Signed-off-by: Sage Weil <sage@redhat.com>
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 agoosd: less chatter about tick 7234/head
Sage Weil [Thu, 14 Jan 2016 13:46:45 +0000 (08:46 -0500)]
osd: less chatter about tick

Signed-off-by: Sage Weil <sage@redhat.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 agokstore: remove unreachable code 7122/head
xie xingguo [Thu, 14 Jan 2016 12:01:27 +0000 (20:01 +0800)]
kstore: remove unreachable code

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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 agoBlueStore: decrease max listed object number from 5 to 1
xie xingguo [Thu, 14 Jan 2016 06:49:50 +0000 (14:49 +0800)]
BlueStore: decrease max listed object number from 5 to 1

For the sake of performance.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agokstore: decrease max listed object number from 5 to 1
xie xingguo [Thu, 14 Jan 2016 06:47:07 +0000 (14:47 +0800)]
kstore: decrease max listed object number from 5 to 1

For the sake of performance.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: kill warnings
xie xingguo [Thu, 14 Jan 2016 06:43:59 +0000 (14:43 +0800)]
BlueStore: kill warnings

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix wrong verification of object key
xie xingguo [Wed, 13 Jan 2016 08:59:47 +0000 (16:59 +0800)]
BlueStore: fix wrong verification of object key

Fixes: #14353
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix unhandle error cases during block file setup
xie xingguo [Tue, 12 Jan 2016 02:41:28 +0000 (10:41 +0800)]
BlueStore: fix unhandle error cases during block file setup

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: remove unused local variable "empty"
xie xingguo [Wed, 6 Jan 2016 08:50:46 +0000 (16:50 +0800)]
BlueStore: remove unused local variable "empty"

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: remove redundant omap_head check
xie xingguo [Wed, 6 Jan 2016 08:48:58 +0000 (16:48 +0800)]
BlueStore: remove redundant omap_head check

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix potential null pointer access
xie xingguo [Wed, 6 Jan 2016 08:47:36 +0000 (16:47 +0800)]
BlueStore: fix potential null pointer access

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix result code overwritten
xie xingguo [Wed, 6 Jan 2016 08:43:26 +0000 (16:43 +0800)]
BlueStore: fix result code overwritten

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix shared_ptr leak during fsck
xie xingguo [Wed, 6 Jan 2016 08:40:19 +0000 (16:40 +0800)]
BlueStore: fix shared_ptr leak during fsck

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix shared_ptr leak during mount
xie xingguo [Wed, 6 Jan 2016 08:37:19 +0000 (16:37 +0800)]
BlueStore: fix shared_ptr leak during mount

Fixes: #14261
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix typo
xie xingguo [Wed, 6 Jan 2016 07:50:58 +0000 (15:50 +0800)]
BlueStore: fix typo

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix memory leak in several abnormal cases
xie xingguo [Wed, 6 Jan 2016 07:46:33 +0000 (15:46 +0800)]
BlueStore: fix memory leak in several abnormal cases

Fixes: #14260
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: reset result code to errno for better tracing
xie xingguo [Wed, 6 Jan 2016 07:12:36 +0000 (15:12 +0800)]
BlueStore: reset result code to errno for better tracing

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: skip CRC verification if unable to read label
xie xingguo [Wed, 6 Jan 2016 07:02:12 +0000 (15:02 +0800)]
BlueStore: skip CRC verification if unable to read label

Fixes: #14259
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: differentiate error code for better tracing
xie xingguo [Wed, 6 Jan 2016 06:45:41 +0000 (14:45 +0800)]
BlueStore: differentiate error code for better tracing

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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 agoMerge pull request #7220 from dillaman/wip-13810-jewel
Josh Durgin [Thu, 14 Jan 2016 01:07:27 +0000 (17:07 -0800)]
Merge pull request #7220 from dillaman/wip-13810-jewel

tests: notification slave needs to wait for master

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7208 from dillaman/wip-14163-jewel
Josh Durgin [Thu, 14 Jan 2016 00:56:29 +0000 (16:56 -0800)]
Merge pull request #7208 from dillaman/wip-14163-jewel

helgrind: fix real (and imaginary) race conditions

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 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 agoos/bluestore: use auto for freelist map type
Sage Weil [Wed, 13 Jan 2016 19:28:10 +0000 (14:28 -0500)]
os/bluestore: use auto for freelist map type

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlockDevice: disable readahead of fd_buffered
Sage Weil [Wed, 13 Jan 2016 18:51:26 +0000 (13:51 -0500)]
os/bluestore/BlockDevice: disable readahead of fd_buffered

Readahead can break our mix of aio/dio and buffered io.  Although the
dio path will invalidate pages before and after initiating the IO, and we
do not issue racing buffered reads, the readahead code might.  That would
result in pages in the page cache that are not coherent with an aio write.

This is easy to reproduce with ceph_test_objectstore's Synthetic case
when bluestore_default_buffered_read=true.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agounittest_rocksdb_option_static: fix signed/unsigned warnings
Sage Weil [Mon, 11 Jan 2016 22:32:56 +0000 (17:32 -0500)]
unittest_rocksdb_option_static: fix signed/unsigned warnings

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: add flag to make reads default to buffered
Sage Weil [Mon, 11 Jan 2016 22:22:11 +0000 (17:22 -0500)]
os/bluestore: add flag to make reads default to buffered

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotests: notification slave needs to wait for master 7220/head
Jason Dillaman [Wed, 13 Jan 2016 17:44:01 +0000 (12:44 -0500)]
tests: notification slave needs to wait for master

If the slave instance starts before the master, race
conditions are possible.

Fixes: #13810
Backport: infernalis, hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: log write/discard errors from clip operation
Jason Dillaman [Wed, 13 Jan 2016 17:42:05 +0000 (12:42 -0500)]
librbd: log write/discard errors from clip operation

Signed-off-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 ago10.0.2 v10.0.2
Jenkins Build Slave User [Wed, 13 Jan 2016 16:22:27 +0000 (16:22 +0000)]
10.0.2

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 agoosdc: hold rwlock when updating crush location config 7208/head
Jason Dillaman [Wed, 13 Jan 2016 14:53:29 +0000 (09:53 -0500)]
osdc: hold rwlock when updating crush location config

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agomsg/simple: destroy spinlock in destructor
Jason Dillaman [Tue, 12 Jan 2016 14:50:25 +0000 (09:50 -0500)]
msg/simple: destroy spinlock in destructor

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoosdc: hold writer lock when updating session ops
Jason Dillaman [Mon, 11 Jan 2016 14:50:15 +0000 (09:50 -0500)]
osdc: hold writer lock when updating session ops

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrados: hold lock while testing state variable
Jason Dillaman [Wed, 13 Jan 2016 01:35:06 +0000 (20:35 -0500)]
librados: hold lock while testing state variable

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoconfig: avoid re-entrant locking on observer callback
Jason Dillaman [Wed, 13 Jan 2016 01:34:41 +0000 (20:34 -0500)]
config: avoid re-entrant locking on observer callback

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoWorkQueue: delay registering PointerWQ with thread pool
Jason Dillaman [Wed, 13 Jan 2016 01:33:22 +0000 (20:33 -0500)]
WorkQueue: delay registering PointerWQ with thread pool

Derived classes should be responsible for registration to avoid
accessing a partially constructed object.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agohelgrind: suppress race conditions in external libraries
Jason Dillaman [Wed, 13 Jan 2016 01:32:35 +0000 (20:32 -0500)]
helgrind: suppress race conditions in external libraries

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agohelgrind: annotate false-positive race conditions
Jason Dillaman [Fri, 8 Jan 2016 17:34:45 +0000 (12:34 -0500)]
helgrind: annotate false-positive race conditions

Fixes: #14163
Signed-off-by: Jason Dillaman <dillaman@redhat.com>