Commit Graph

59248 Commits

Author SHA1 Message Date
Brad Hubbard
a271880ee2 Merge pull request #11582 from batrick/ceph-dumpable
core: set dumpable flag after setuid

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2016-10-28 14:43:35 +10:00
Michal Jarzabek
c9b4916098 mds/Mutation.h: add const to member functions
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-10-27 21:51:30 +01:00
Malte Fiala
34cd50c4c4 doc: Fixed mapping error in legacy mds command
Signed-off-by: Malte Fiala <maltefiala@produktion.io>
2016-10-27 19:27:19 +02:00
Sage Weil
fb642810c5 Merge pull request #11666 from tchaikov/wip-cmake
cmake: remove include/Makefile.am
2016-10-27 11:37:54 -05:00
Kefu Chai
3eb384ffef cmake: remove include/Makefile.am
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-27 16:37:46 +08:00
Brad Hubbard
a54c86f9df os/filestore: Fix erroneous WARNING: max attr too small
When we read the conf values from the conf file we call handle_conf_change which
calls set_xattr_limits_via_conf but this is before m_fs_type is initialised so
we fall through to the default comaprison with
filestore_max_xattr_value_size_other (1024) and erroneously issue the warning.
This happens at every startup but subsequent calls once the filestore is mounted
proceed as expected. Don't call set_xattr_limits_via_conf unless the filestore
is mounted.

Fixes: http://tracker.ceph.com/issues/17420
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-10-27 16:02:09 +10:00
Kefu Chai
efa03040c5 Merge pull request #11638 from tchaikov/wip-clang
include/enc: make clang happy

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-27 13:01:17 +08:00
Josh Durgin
3d80e609ee Merge pull request #11658 from hjwsm1989/doc
doc: change the osd_max_backfills default to 1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-10-26 16:17:56 -07:00
Michal Jarzabek
f64ae8a28f mds/MDLog: add const to member functions
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-10-26 22:13:48 +01:00
John Spray
32b15e329a Merge pull request #10887 from michaelsevilla/mantle
fs: Mantle: A Programmable Metadata Load Balancer

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-26 20:31:28 +01:00
Jason Dillaman
fdea4404a4 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>
2016-10-26 11:35:59 -04:00
Kefu Chai
6c4af3c55e common/cmdparse,msg/async: remove unnecessary std::move()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-26 23:30:22 +08:00
Kefu Chai
8b19229df3 librados: postpone cct deletion
RefCountedObject::put() prints log using cct, but RadosClient
relinquishes the reference to cct too early, so when its
`RefCountedObject` member variables print log when they are
destructed, the cct is already freed. hence we have a segfault.

to address this problem, we need postpone destructure of it after all
other RefCountedObject member variables are destroyed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-26 23:20:10 +08:00
Kefu Chai
bdf174f220 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>
2016-10-26 22:37:41 +08:00
Orit Wasserman
670fc74c32 Merge pull request #11630 from cbodley/wip-rgw-curl-upgrade
rgw: remove suggestion to upgrade libcurl
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-26 15:46:18 +02:00
Haomai Wang
8a53a604f3 osd/PGBackend: fix collection_list shadow return value
Fixes: http://tracker.ceph.com/issues/17713
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-10-26 20:21:34 +08:00
Kefu Chai
d712d20832 Merge pull request #11385 from bassamtabbara/wip-rocksdb-external-project
cmake: use external project for rocksdb

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-26 18:48:33 +08:00
Kefu Chai
68ba90d629 doc: remove ending period in section titles
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-26 17:53:22 +08:00
huangjun
e112664bf3 doc: change the osd_max_backfills default to 1
Fixes: http://tracker.ceph.com/issues/17701
  Signed-off-by: huangjun <hjwsm1989@gmail.com>
2016-10-26 16:55:53 +08:00
Kefu Chai
fe1a6cf72f Merge pull request #11653 from ktdreyer/doc-epel-instructions
doc: standardize EPEL instructions

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-26 15:39:42 +08:00
Bassam Tabbara
418bfd7bb5 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>
2016-10-26 09:32:54 +02:00
Bassam Tabbara
5bbcf8547c 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>
2016-10-26 09:32:54 +02:00
Kefu Chai
ed9b0d3273 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>
2016-10-26 15:02:51 +08:00
Kefu Chai
2850f1d863 Merge pull request #11652 from ktdreyer/doc-mgr-syntax
doc: fix mgr literal block rST syntax

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-26 13:53:27 +08:00
huangjun
bf2b50ef95 mon: print the num_pools and num_objects in 'ceph -s -f json/json-pretty'.
Fixes: http://tracker.ceph.com/issues/17703
  Signed-off-by: huangjun <hjwsm1989@gmail.com>
2016-10-26 11:40:05 +08:00
Venky Shankar
a5fff40be3 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>
2016-10-26 08:11:17 +05:30
Ken Dreyer
9411017fd3 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>
2016-10-25 20:02:48 -06:00
Ken Dreyer
be7de7ab0d 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>
2016-10-25 19:51:53 -06:00
Yehuda Sadeh
6b966bed79 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>
2016-10-25 15:06:54 -07:00
Yehuda Sadeh
574f4fde1f Merge pull request #11505 from cbodley/wip-17571
rgw: clean up RGWShardedOmapCRManager on early return

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-25 15:05:27 -07:00
Yehuda Sadeh
3a7546d443 Merge pull request #11504 from cbodley/wip-17568
rgw: RGWSimpleRadosReadCR tolerates empty reads

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-25 15:04:02 -07:00
Michael Sevilla
5cc43cf0a7 mantle: re-design and fixes
- fix legacy encoding in mds map and add balancer to dumps
- fix blocking rados read and remove temporary files
- fix beacon message spamming

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
2016-10-25 13:27:34 -07:00
Michael Sevilla
0829028d1c mantle: store balancer in RADOS, balancer version in MDSMap
- add docs and sample balancer (greedy-spill)

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
2016-10-25 13:27:34 -07:00
Michael Sevilla
b44340abf5 mantle: write balancer policies in Lua
Introduces Mantle, a programmable metadata load balancer. Policies for making
migration decisions are written in Lua but the Migrator and Balancer modules
still do fragmentation and migration. If the Lua balancer fails, control falls
back to the original balancer implementation.

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
2016-10-25 13:27:32 -07:00
John Wilkins
f7a761ac22 Merge pull request #11352 from dachary/wip-17526-rados-bench
doc: document hostname constraints for rados bench

reviewed-by: John Wilkins <jowilkin@redhat.com>
2016-10-25 12:26:31 -07:00
John Wilkins
2e987aef46 Merge pull request #11602 from dillaman/wip-17665
doc: clarify QEMU rbd cache settings

reviewed-by: John Wilkins <jowilkin@redhat.com>
2016-10-25 12:23:31 -07:00
Willem Jan Withagen
05f4be44dc Log: Replace namespace log with loging
- This to avoid a nameing confilct that Clang finds with
   std::log from cmath

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-10-25 19:45:24 +02:00
Kefu Chai
70d2d40233 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>
2016-10-26 01:38:01 +08:00
Jason Dillaman
b2f8ff9301 test: new librbd discard after write test case
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-10-25 09:55:32 -04:00
John Spray
bbdfd1375e 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>
2016-10-25 12:30:42 +01:00
John Spray
1a67328b35 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>
2016-10-25 12:16:05 +01:00
John Spray
c755d056b2 Merge pull request #11604 from stiopaa1/mds_inotable_addOverride
mds/InoTable.h: add override to virtual functs

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-25 12:15:30 +01:00
John Spray
32838f72e1 Merge pull request #11613 from stiopaa1/mds_cdir_removeUnneededUseofCount
mds/CDir.cc: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-25 12:14:42 +01:00
John Spray
4f1c042c78 Merge pull request #11611 from batrick/i17670
mds: check if down mds is known

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-25 12:14:23 +01:00
John Spray
e5c43e9d90 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>
2016-10-25 11:59:11 +01:00
John Spray
5b9bc5f908 Merge pull request #11560 from ukernel/wip-mds-context-wrapping
MDS: reduce usage of context wrapper

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-25 11:58:42 +01:00
Kefu Chai
0919de25cb Merge pull request #11345 from jcsp/wip-mgr-assert
messages: fix out of range assertion

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-25 16:02:33 +08:00
Weibing Zhang
a06dac4472 mgr: PyModules.cc: remove duplicated if condition for fs_map
Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
2016-10-25 15:07:12 +08:00
Kefu Chai
71b1f758a7 test/encoding: fix the build with clang
put the overloaded operator<<() into namespace std, so clang's name
resolution is able to find it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-25 12:40:46 +08:00
Kefu Chai
5f36c080bf cmake: add definitions for glibc
"-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" is not for gcc, it's for glibc
actually. so enable it on LINUX.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-25 12:40:46 +08:00