]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoMerge pull request #11641 from vshankar/rbd-data-pool-assert
Jason Dillaman [Wed, 26 Oct 2016 15:35:59 +0000 (11:35 -0400)]
Merge pull request #11641 from vshankar/rbd-data-pool-assert

librbd: possible assert failure creating image when using data pool

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11570 from tchaikov/wip-revise-SubmittingPatches
Kefu Chai [Wed, 26 Oct 2016 14:37:41 +0000 (22:37 +0800)]
Merge pull request #11570 from tchaikov/wip-revise-SubmittingPatches

doc: reformat SubmittingPatches with more rst syntax

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #11630 from cbodley/wip-rgw-curl-upgrade
Orit Wasserman [Wed, 26 Oct 2016 13:46:18 +0000 (15:46 +0200)]
Merge pull request #11630 from cbodley/wip-rgw-curl-upgrade

rgw: remove suggestion to upgrade libcurl
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11385 from bassamtabbara/wip-rocksdb-external-project
Kefu Chai [Wed, 26 Oct 2016 10:48:33 +0000 (18:48 +0800)]
Merge pull request #11385 from bassamtabbara/wip-rocksdb-external-project

cmake: use external project for rocksdb

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: remove ending period in section titles 11570/head
Kefu Chai [Wed, 26 Oct 2016 09:53:22 +0000 (17:53 +0800)]
doc: remove ending period in section titles

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11653 from ktdreyer/doc-epel-instructions
Kefu Chai [Wed, 26 Oct 2016 07:39:42 +0000 (15:39 +0800)]
Merge pull request #11653 from ktdreyer/doc-epel-instructions

doc: standardize EPEL instructions

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: use external project for rocksdb 11385/head
Bassam Tabbara [Tue, 11 Oct 2016 05:56:18 +0000 (22:56 -0700)]
cmake: use external project for rocksdb

This commit makes rocksdb an external cmake project. This ensures
that rocksdb is no longer built from src/rocksdb, and that make clean
works correctly.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agopickup new rocksdb with support for linux cmake
Bassam Tabbara [Tue, 11 Oct 2016 06:04:18 +0000 (23:04 -0700)]
pickup new rocksdb with support for linux cmake

This picksup a new version of rocksdb with support for
linux cmake.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agoMerge pull request #11619 from dachary/wip-17662-ceph-disk
Kefu Chai [Wed, 26 Oct 2016 07:02:51 +0000 (15:02 +0800)]
Merge pull request #11619 from dachary/wip-17662-ceph-disk

ceph-disk: allow using a regular file as a journal

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11652 from ktdreyer/doc-mgr-syntax
Kefu Chai [Wed, 26 Oct 2016 05:53:27 +0000 (13:53 +0800)]
Merge pull request #11652 from ktdreyer/doc-mgr-syntax

doc: fix mgr literal block rST syntax

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agolibrbd: assert failure when using data pool 11641/head
Venky Shankar [Mon, 24 Oct 2016 13:16:42 +0000 (18:46 +0530)]
librbd: assert failure when using data pool

This fixes a silly assert that's hit during image creation
(cli/api) when the data pool specified is same as the pool
specified by -p/--pool option (or the default).

Signed-off-by: Venky Shankar <vshankar@redhat.com>
8 years agodoc: standardize EPEL instructions 11653/head
Ken Dreyer [Wed, 26 Oct 2016 02:00:48 +0000 (20:00 -0600)]
doc: standardize EPEL instructions

Prior to this change, the documentation pages contained different ways
to enable EPEL. Pick a simple, secure (https) way and standardize on
that.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
8 years agodoc: fix mgr literal block rST syntax 11652/head
Ken Dreyer [Wed, 26 Oct 2016 01:44:57 +0000 (19:44 -0600)]
doc: fix mgr literal block rST syntax

Prior to this change, there were double-colon ("::") characters in the
HTML docs to indicate literal blocks.

The proceeding paragraphs were not pre-formatted because there was no
newline between the double-colon and the to-be-pre-formatted paragraph.

Move the "::" characters inline to simplify the syntax and make Sphinx
properly interpret these texts as literal blocks.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
8 years agoMerge pull request #11594 from cbodley/wip-rgw-init-bucket-sync
Yehuda Sadeh [Tue, 25 Oct 2016 22:06:54 +0000 (15:06 -0700)]
Merge pull request #11594 from cbodley/wip-rgw-init-bucket-sync

rgw: fix for passing temporary in InitBucketSyncStatus

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11505 from cbodley/wip-17571
Yehuda Sadeh [Tue, 25 Oct 2016 22:05:27 +0000 (15:05 -0700)]
Merge pull request #11505 from cbodley/wip-17571

rgw: clean up RGWShardedOmapCRManager on early return

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11504 from cbodley/wip-17568
Yehuda Sadeh [Tue, 25 Oct 2016 22:04:02 +0000 (15:04 -0700)]
Merge pull request #11504 from cbodley/wip-17568

rgw: RGWSimpleRadosReadCR tolerates empty reads

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11352 from dachary/wip-17526-rados-bench
John Wilkins [Tue, 25 Oct 2016 19:26:31 +0000 (12:26 -0700)]
Merge pull request #11352 from dachary/wip-17526-rados-bench

doc: document hostname constraints for rados bench

reviewed-by: John Wilkins <jowilkin@redhat.com>

8 years agoMerge pull request #11602 from dillaman/wip-17665
John Wilkins [Tue, 25 Oct 2016 19:23:31 +0000 (12:23 -0700)]
Merge pull request #11602 from dillaman/wip-17665

doc: clarify QEMU rbd cache settings

reviewed-by: John Wilkins <jowilkin@redhat.com>

8 years agoMerge pull request #9825 from liewegas/wip-addrvec
Kefu Chai [Tue, 25 Oct 2016 17:38:01 +0000 (01:38 +0800)]
Merge pull request #9825 from liewegas/wip-addrvec

msg: add entity_addr_t types; add new entity_addrvec_t type

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11517 from ukernel/wip-17562
John Spray [Tue, 25 Oct 2016 11:30:42 +0000 (12:30 +0100)]
Merge pull request #11517 from ukernel/wip-17562

Fix #17562 (backtrace check fails when scrubbing directory created by fsstress)

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11593 from ukernel/wip-17275
John Spray [Tue, 25 Oct 2016 11:16:05 +0000 (12:16 +0100)]
Merge pull request #11593 from ukernel/wip-17275

osdc/ObjectCacher: wake up dirty stat waiters after removing buffers

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11604 from stiopaa1/mds_inotable_addOverride
John Spray [Tue, 25 Oct 2016 11:15:30 +0000 (12:15 +0100)]
Merge pull request #11604 from stiopaa1/mds_inotable_addOverride

mds/InoTable.h: add override to virtual functs

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11613 from stiopaa1/mds_cdir_removeUnneededUseofCount
John Spray [Tue, 25 Oct 2016 11:14:42 +0000 (12:14 +0100)]
Merge pull request #11613 from stiopaa1/mds_cdir_removeUnneededUseofCount

mds/CDir.cc: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11611 from batrick/i17670
John Spray [Tue, 25 Oct 2016 11:14:23 +0000 (12:14 +0100)]
Merge pull request #11611 from batrick/i17670

mds: check if down mds is known

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11191 from renhwztetecs/renhw-wip-add-libcephfs
John Spray [Tue, 25 Oct 2016 10:59:11 +0000 (11:59 +0100)]
Merge pull request #11191 from renhwztetecs/renhw-wip-add-libcephfs

libcephfs: add ceph_fsetattr&&ceph_lchmod&&ceph_lutime

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11560 from ukernel/wip-mds-context-wrapping
John Spray [Tue, 25 Oct 2016 10:58:42 +0000 (11:58 +0100)]
Merge pull request #11560 from ukernel/wip-mds-context-wrapping

MDS: reduce usage of context wrapper

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11345 from jcsp/wip-mgr-assert
Kefu Chai [Tue, 25 Oct 2016 08:02:33 +0000 (16:02 +0800)]
Merge pull request #11345 from jcsp/wip-mgr-assert

messages: fix out of range assertion

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11632 from VictorDenisov/group_pool_fix
Jason Dillaman [Tue, 25 Oct 2016 03:55:17 +0000 (23:55 -0400)]
Merge pull request #11632 from VictorDenisov/group_pool_fix

rbd: fix parsing of group and image specific pools

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd: fix parsing of group and image specific pools 11632/head
Victor Denisov [Mon, 24 Oct 2016 23:50:19 +0000 (16:50 -0700)]
rbd: fix parsing of group and image specific pools

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
8 years agoMerge pull request #11036 from tomy-ac/wip-tc-rados_append
Yuri Weinstein [Mon, 24 Oct 2016 21:45:42 +0000 (14:45 -0700)]
Merge pull request #11036 from tomy-ac/wip-tc-rados_append

Added append functionality to rados tool.

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #11221 from stiopaa1/osd_osdmap_removeUseOfCount
Yuri Weinstein [Mon, 24 Oct 2016 21:45:00 +0000 (14:45 -0700)]
Merge pull request #11221 from stiopaa1/osd_osdmap_removeUseOfCount

osd/OSDMap.cc: remove unneeded use of count

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11388 from ukernel/wip-17177
Yuri Weinstein [Mon, 24 Oct 2016 21:44:04 +0000 (14:44 -0700)]
Merge pull request #11388 from ukernel/wip-17177

os/ObjectStore: properly clear object map when replaying OP_REMOVE

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw: remove suggestion to upgrade libcurl 11630/head
Casey Bodley [Mon, 24 Oct 2016 19:02:39 +0000 (15:02 -0400)]
rgw: remove suggestion to upgrade libcurl

Reported-by: Ken Dreyer <kdreyer@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11143 from kylinstorage/wip-fix-write-hang
Kefu Chai [Mon, 24 Oct 2016 16:16:17 +0000 (00:16 +0800)]
Merge pull request #11143 from kylinstorage/wip-fix-write-hang

osd: fix rados write op hang

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #11532 from javeme/run_in_thread-return
Kefu Chai [Mon, 24 Oct 2016 16:15:30 +0000 (00:15 +0800)]
Merge pull request #11532 from javeme/run_in_thread-return

pybind: avoid "exception 'int' object is not iterable"

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11610 from liewegas/wip-mon-forward-features
Sage Weil [Mon, 24 Oct 2016 16:10:54 +0000 (11:10 -0500)]
Merge pull request #11610 from liewegas/wip-mon-forward-features

messages/MForward: reencode forwarded message if target has differing features

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/Message: fix set_middle vs throttler 11610/head
Sage Weil [Sun, 23 Oct 2016 23:10:00 +0000 (18:10 -0500)]
msg/Message: fix set_middle vs throttler

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomsg: adjust byte_throttler from Message::encode
Sage Weil [Sun, 23 Oct 2016 23:40:57 +0000 (18:40 -0500)]
msg: adjust byte_throttler from Message::encode

Normally we never call encode on a message that has a byte_throttler set
because we only use it for messages we received.  However, for forwarded
messages that we clear_payload() before resending, we *do* reencode, and in
that case we need to retake the appropriate number of bytes from the
throttler--just like we release them in clear_payload().

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomessages/MForward: reencode forwarded message if target has differing features
Sage Weil [Sat, 22 Oct 2016 18:01:34 +0000 (14:01 -0400)]
messages/MForward: reencode forwarded message if target has differing features

This ensures we reencode the payload with the
appropriate set of features if the client, us, or the
target do not have identical features.  Otherwise we
may forward an encoding with more features than the
target can handle.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11595 from liewegas/wip-move-ranges
Sage Weil [Mon, 24 Oct 2016 16:08:06 +0000 (11:08 -0500)]
Merge pull request #11595 from liewegas/wip-move-ranges

os: fix offsets for move_ranges operation

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11160 from VictorDenisov/consistency_groups_namespaces
Jason Dillaman [Mon, 24 Oct 2016 15:55:48 +0000 (11:55 -0400)]
Merge pull request #11160 from VictorDenisov/consistency_groups_namespaces

librbd: add support for snapshot namespaces

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoceph-disk: allow using a regular file as a journal 11619/head
Jayashree Candadai [Fri, 21 Oct 2016 17:52:05 +0000 (13:52 -0400)]
ceph-disk: allow using a regular file as a journal

Because of a missing return, ceph-disk prepare would fail if given a
regular file as a journal. If the journal file does not exist, ceph-disk
will create it but fail to ensure that the ceph user owns it. The
symlink to the journal file is not set when the journal file is
specified on the command line and the journal file does not exist at
all. The ceph-osd daemon will silently create it as a file but it will
not be the file given in argument.

Add a test case to verify using a regular file as a journal works as
expected.

Fixes: http://tracker.ceph.com/issues/17662
Signed-off-by: Jayashree Candadai <jayaajay@indiana.edu>
Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomds: fix compile error from merges
John Spray [Mon, 24 Oct 2016 12:36:32 +0000 (13:36 +0100)]
mds: fix compile error from merges

Two patches both added these definitions
in slightly different places, so git let them
merge without a conflict.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge remote-tracking branch 'ukernel/wip-mdstypes-split'
John Spray [Mon, 24 Oct 2016 11:02:48 +0000 (12:02 +0100)]
Merge remote-tracking branch 'ukernel/wip-mdstypes-split'

8 years agoMerge pull request #11576 from ukernel/wip-17636-debug
John Spray [Mon, 24 Oct 2016 11:00:48 +0000 (12:00 +0100)]
Merge pull request #11576 from ukernel/wip-17636-debug

mds: add debug assertion for issue #17636

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11578 from jcsp/wip-backtrace-repair
John Spray [Mon, 24 Oct 2016 10:53:47 +0000 (11:53 +0100)]
Merge pull request #11578 from jcsp/wip-backtrace-repair

mds: repair backtraces during scrub

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11596 from liewegas/wip-osdmap-features
Sage Weil [Mon, 24 Oct 2016 10:28:44 +0000 (05:28 -0500)]
Merge pull request #11596 from liewegas/wip-osdmap-features

mon/OSDMonitor: encode OSDMap::Incremental with same features as OSDMap

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agounittest_bluestore_types: fix csum const name
Sage Weil [Fri, 21 Oct 2016 16:46:11 +0000 (12:46 -0400)]
unittest_bluestore_types: fix csum const name

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge branch 'wip-bluestore-per-pool-compress2' of https://github.com/ifed01/ceph
Sage Weil [Mon, 24 Oct 2016 09:57:34 +0000 (04:57 -0500)]
Merge branch 'wip-bluestore-per-pool-compress2' of https://github.com/ifed01/ceph

8 years agoMerge pull request #8751 from flyd1005/wip-fix-typo
Kefu Chai [Mon, 24 Oct 2016 03:15:12 +0000 (11:15 +0800)]
Merge pull request #8751 from flyd1005/wip-fix-typo

doc: fix typos

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #10955 from objoo/YD-mailmap-updates-Sept
Loic Dachary [Sun, 23 Oct 2016 21:32:34 +0000 (23:32 +0200)]
Merge pull request #10955 from objoo/YD-mailmap-updates-Sept

mailmap updates sept

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agomds/CDir.cc: remove unneeded use of count 11613/head
Michal Jarzabek [Sun, 23 Oct 2016 10:24:14 +0000 (11:24 +0100)]
mds/CDir.cc: remove unneeded use of count

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agomds: check if down mds is known 11611/head
Patrick Donnelly [Sat, 22 Oct 2016 22:47:03 +0000 (18:47 -0400)]
mds: check if down mds is known

This avoids an assertion failure where an MDS receives an mdsmap that
causes it to enter up:replay and also see another MDS go down.

Fixes: http://tracker.ceph.com/issues/17670
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #11607 from xiexingguo/xxg-wip-bluestore-1022
Sage Weil [Sat, 22 Oct 2016 14:54:54 +0000 (09:54 -0500)]
Merge pull request #11607 from xiexingguo/xxg-wip-bluestore-1022

os/bluestore: simplify can_split_at()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: literal changes 11607/head
xie xingguo [Sat, 22 Oct 2016 06:14:41 +0000 (14:14 +0800)]
os/bluestore: literal changes
1. drop redundant semicolon
2. fix wrong output message

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agotest/libcephfs: add ceph_fsetattr() test 11191/head
huanwen ren [Tue, 18 Oct 2016 08:24:16 +0000 (16:24 +0800)]
test/libcephfs: add ceph_fsetattr() test

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
8 years agocls_rbd: Allow snapshots with the same name in different namespaces 11160/head
Victor Denisov [Thu, 20 Oct 2016 00:31:31 +0000 (17:31 -0700)]
cls_rbd: Allow snapshots with the same name in different namespaces

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
8 years agorbd: Use user snapshot namespace in rbd_mirror for now
Victor Denisov [Wed, 21 Sep 2016 04:36:26 +0000 (21:36 -0700)]
rbd: Use user snapshot namespace in rbd_mirror for now

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
8 years agolibrbd: By default create snapshots in UserNamespace
Victor Denisov [Wed, 21 Sep 2016 04:35:30 +0000 (21:35 -0700)]
librbd: By default create snapshots in UserNamespace

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
8 years agocls_rbd: Add snapshot namespaces data structures
Victor Denisov [Wed, 21 Sep 2016 04:30:56 +0000 (21:30 -0700)]
cls_rbd: Add snapshot namespaces data structures

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
8 years agoos/bluestore: simplify can_split_at()
xie xingguo [Sat, 22 Oct 2016 02:33:20 +0000 (10:33 +0800)]
os/bluestore: simplify can_split_at()

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11026 from jcsp/wip-pg-files
Gregory Farnum [Fri, 21 Oct 2016 21:48:31 +0000 (14:48 -0700)]
Merge pull request #11026 from jcsp/wip-pg-files

tools/cephfs: add pg_files command

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11456 from tchaikov/wip-17558
Gregory Farnum [Fri, 21 Oct 2016 21:40:46 +0000 (14:40 -0700)]
Merge pull request #11456 from tchaikov/wip-17558

mon: send updated monmap to its subscribers

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agomds/InoTable.h: add override to virtual functs 11604/head
Michal Jarzabek [Fri, 21 Oct 2016 21:32:15 +0000 (22:32 +0100)]
mds/InoTable.h: add override to virtual functs

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11599 from tanghaodong25/wip-2q-cache
Sage Weil [Fri, 21 Oct 2016 20:14:45 +0000 (15:14 -0500)]
Merge pull request #11599 from tanghaodong25/wip-2q-cache

os/bluestore: make 2q cache kin/kout size tunable

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11603 from liewegas/wip-bluestore-obj-remove
Sage Weil [Fri, 21 Oct 2016 19:45:08 +0000 (14:45 -0500)]
Merge pull request #11603 from liewegas/wip-bluestore-obj-remove

os/bluestore: clear extent map on object removal

8 years agoMerge pull request #11597 from ifed01/wip-bluestore-reshard-fix
Sage Weil [Fri, 21 Oct 2016 19:43:16 +0000 (14:43 -0500)]
Merge pull request #11597 from ifed01/wip-bluestore-reshard-fix

os/bluestore: fix lack of resharding

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: clear extent map on object removal 11603/head
Sage Weil [Fri, 21 Oct 2016 19:42:19 +0000 (15:42 -0400)]
os/bluestore: clear extent map on object removal

Clear ExtentMap (esp shards, etc.) when an object is removed.  Otherwise
if we recreate it we will have stale state (like the shards vector or
inline_bl) that are bogus.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc: clarify QEMU rbd cache settings 11602/head
Jason Dillaman [Fri, 21 Oct 2016 18:49:13 +0000 (14:49 -0400)]
doc: clarify QEMU rbd cache settings

http://tracker.ceph.com/issues/17665
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11230 from yehudasa/wip-rgw-resharding
Orit Wasserman [Fri, 21 Oct 2016 17:49:41 +0000 (19:49 +0200)]
Merge pull request #11230 from yehudasa/wip-rgw-resharding

rgw: bucket resharding
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoos/bluestore: make 2q cache kin/kout size tunable 11599/head
haodong [Fri, 21 Oct 2016 06:05:56 +0000 (14:05 +0800)]
os/bluestore: make 2q cache kin/kout size tunable

default kin/hot queue size is 50% of max buffer size.
50% is a better choice for the number of page slot in kout.
we make it tunable.

Signed-off-by: Haodong Tang <haodong.tang@intel.com>
8 years agoos/bluestore: fix black of resharding 11597/head
Igor Fedotov [Fri, 21 Oct 2016 16:30:36 +0000 (16:30 +0000)]
os/bluestore: fix black of resharding

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agomon/OSDMonitor: encode OSDMap::Incremental with same features as OSDMap 11596/head
Sage Weil [Fri, 21 Oct 2016 16:25:08 +0000 (12:25 -0400)]
mon/OSDMonitor: encode OSDMap::Incremental with same features as OSDMap

The Incremental encode stashes encode_features, which is
what we use later to reencode the updated OSDMap.  Use
the same features so that the encoding will match!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: do not encode osdmap with MSG_ADDR2 until kraken flag is set 9825/head
Sage Weil [Fri, 30 Sep 2016 22:28:42 +0000 (18:28 -0400)]
mon/OSDMonitor: do not encode osdmap with MSG_ADDR2 until kraken flag is set

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos: fix offsets in move_ranges 11595/head
Sage Weil [Fri, 21 Oct 2016 16:07:05 +0000 (12:07 -0400)]
os: fix offsets in move_ranges

This simplifies the interface, and avoids problems in
bluestore with alignment.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11566 from oritwas/wip-rgw-put-acl-underscore
Casey Bodley [Fri, 21 Oct 2016 16:00:53 +0000 (12:00 -0400)]
Merge pull request #11566 from oritwas/wip-rgw-put-acl-underscore

rgw: fix put_acls for objects starting and ending with underscore

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11591 from liewegas/wip-bluestore-test-dev
Sage Weil [Fri, 21 Oct 2016 15:57:26 +0000 (10:57 -0500)]
Merge pull request #11591 from liewegas/wip-bluestore-test-dev

ceph_test_objectstore: smaller device

8 years agoMerge pull request #11444 from cbodley/wip-rgw-get-system-obj
Orit Wasserman [Fri, 21 Oct 2016 15:25:17 +0000 (17:25 +0200)]
Merge pull request #11444 from cbodley/wip-rgw-get-system-obj

rgw: get_system_obj does not use result of get_system_obj_state
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11588 from xiexingguo/wip-fix-fastinfo-id
Sage Weil [Fri, 21 Oct 2016 13:56:08 +0000 (08:56 -0500)]
Merge pull request #11588 from xiexingguo/wip-fix-fastinfo-id

osd: fix duplicated id of incompat feature "fastinfo"

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw: fix for passing temporary in InitBucketSyncStatus 11594/head
Casey Bodley [Fri, 21 Oct 2016 02:59:35 +0000 (22:59 -0400)]
rgw: fix for passing temporary in InitBucketSyncStatus

Fixes: http://tracker.ceph.com/issues/17661
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoosdc/ObjectCacher: wake up dirty stat waiters after removing buffers 11593/head
Yan, Zheng [Fri, 21 Oct 2016 13:24:15 +0000 (21:24 +0800)]
osdc/ObjectCacher: wake up dirty stat waiters after removing buffers

Fixes: http://tracker.ceph.com/issues/17275
Signed-off-by: Yan, Zheng <zyan@redhat.com>
8 years agoceph_test_objectstore: smaller device 11591/head
Sage Weil [Fri, 21 Oct 2016 13:17:30 +0000 (09:17 -0400)]
ceph_test_objectstore: smaller device

This is faster.  The bitmap has to be scanned during
startup and fsck and that's slow.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomessages: fix out of range assertion 11345/head
John Spray [Thu, 6 Oct 2016 10:20:47 +0000 (12:20 +0200)]
messages: fix out of range assertion

When clang uses an 8 bit type for the enum, it
complains (out of range) if comparing <256,
and complains (tautological) if comparing <=256.

Avoid this by explicitly making the enum an
uint8_t, and just asserting that that it has
that size at the point that we assume so for
the encoding (in case someone modified the
type definition without checking how it was used).

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: repair backtraces during scrub 11578/head
John Spray [Thu, 20 Oct 2016 10:49:42 +0000 (11:49 +0100)]
mds: repair backtraces during scrub

Fixes: http://tracker.ceph.com/issues/17639
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: fix CDir::log_mark_dirty() 11560/head
Yan, Zheng [Fri, 21 Oct 2016 03:38:44 +0000 (11:38 +0800)]
mds: fix CDir::log_mark_dirty()

CDir::log_mark_dirty() moves dirfrag to current log segment's dirty
dirfrag list, but it does not submit any log event. Old log segments
(that include events which dirty the dirfrag) may get expired before
the dirfrag gets committed. If MDS crashes, the changes in expired
log segments get lost.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
8 years agomds: avoid wrapping contexts during logging
Yan, Zheng [Wed, 19 Oct 2016 15:41:43 +0000 (23:41 +0800)]
mds: avoid wrapping contexts during logging

For each log event, mds allocate two extra contexts, one for
marking op tracker event, one for updating log's safe_pos after
executing the finish context. This is sub-optimization.

This patch defines MDSLogContextBase for log event context.
MDSLogContextBase::complete() function can do the extra jobs.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
8 years agomds: avoid wrapping C_IO_Wrapper with C_OnFinisher
Yan, Zheng [Wed, 19 Oct 2016 12:42:25 +0000 (20:42 +0800)]
mds: avoid wrapping C_IO_Wrapper with C_OnFinisher

Signed-off-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #11575 from ceph/wip-17260
Kefu Chai [Fri, 21 Oct 2016 03:54:53 +0000 (11:54 +0800)]
Merge pull request #11575 from ceph/wip-17260

cmake: link tests against static librados

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10490 from Yan-waller/yj-wip-msgtest-0729
xiexingguo [Fri, 21 Oct 2016 03:01:32 +0000 (11:01 +0800)]
Merge pull request #10490 from Yan-waller/yj-wip-msgtest-0729

msg/test: fix the guided compile-command to ceph_test_msgr

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoosd: fix duplicated id of incompat feature "fastinfo" 11588/head
xie xingguo [Fri, 21 Oct 2016 02:38:23 +0000 (10:38 +0800)]
osd: fix duplicated id of incompat feature "fastinfo"

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11436 from chhabaramesh/master
Sage Weil [Fri, 21 Oct 2016 01:26:16 +0000 (20:26 -0500)]
Merge pull request #11436 from chhabaramesh/master

kv/MemDB: making memdb code adapt to generic maps

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11455 from stiopaa1/mds_mutation_simplifyConstructors
John Spray [Thu, 20 Oct 2016 21:55:17 +0000 (23:55 +0200)]
Merge pull request #11455 from stiopaa1/mds_mutation_simplifyConstructors

mds/Mutation.h: simplify constructors

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11509 from stiopaa1/mds_fsmapuser_makeAssignCopyDefault
John Spray [Thu, 20 Oct 2016 21:43:58 +0000 (23:43 +0200)]
Merge pull request #11509 from stiopaa1/mds_fsmapuser_makeAssignCopyDefault

mds/FSMapUser.h: remove copy ctr and assign op

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #10359 from songbaisen/b11
Yuri Weinstein [Thu, 20 Oct 2016 21:34:34 +0000 (14:34 -0700)]
Merge pull request #10359 from songbaisen/b11

mon:  paxos add the timeout function when peon recovery

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
8 years agoMerge pull request #11165 from xiexingguo/xxg-wip-throttle-0921
Yuri Weinstein [Thu, 20 Oct 2016 21:33:08 +0000 (14:33 -0700)]
Merge pull request #11165 from xiexingguo/xxg-wip-throttle-0921

common/throttle: simplify Throttle::_wait()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11583 from stiopaa1/mds_snapserver_addOverride
John Spray [Thu, 20 Oct 2016 21:21:28 +0000 (23:21 +0200)]
Merge pull request #11583 from stiopaa1/mds_snapserver_addOverride

mds/SnapServer.h: add override to virtual functs

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11523 from stiopaa1/mds_migrator_removeUnneededCount
John Spray [Thu, 20 Oct 2016 21:14:58 +0000 (23:14 +0200)]
Merge pull request #11523 from stiopaa1/mds_migrator_removeUnneededCount

mds/Migrator.cc: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11543 from batrick/cdir-unique-ptr
John Spray [Thu, 20 Oct 2016 21:14:26 +0000 (23:14 +0200)]
Merge pull request #11543 from batrick/cdir-unique-ptr

mds: use unique_ptr to simplify resource mgmt

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11581 from yehudasa/wip-17635
Casey Bodley [Thu, 20 Oct 2016 21:14:06 +0000 (17:14 -0400)]
Merge pull request #11581 from yehudasa/wip-17635

rgw: handle empty POST condition

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11565 from stiopaa1/mds_sessionmap_removeUnneededFunction
John Spray [Thu, 20 Oct 2016 21:04:17 +0000 (23:04 +0200)]
Merge pull request #11565 from stiopaa1/mds_sessionmap_removeUnneededFunction

mds/SessionMap.h: remove unneeded function

Reviewed-by: Greg Farnum <gfarnum@redhat.com>