Kefu Chai
25d43f4d32
Merge pull request #11639 from atheism/mgr-PyModules-remove-duplicated-else-if
...
mgr: PyModules.cc: remove duplicated if condition for fs_map
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-30 11:48:51 +08:00
Kefu Chai
9ae1fe88ff
Merge pull request #11659 from tchaikov/wip-delete-cct-later
...
librados: postpone cct deletion
Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-30 11:47:06 +08:00
Kefu Chai
5354e7c26f
Merge pull request #11314 from jcsp/wip-mgr-flake8
...
pybind: clean up mgr stuff for flake8
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-29 12:21:33 +08:00
Kefu Chai
278632c28f
Merge pull request #11650 from wjwithagen/wip-wjw-log-loging
...
Log: Replace namespace log with logging
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-29 12:11:08 +08:00
Kefu Chai
15ebffaf4e
Merge pull request #11680 from tchaikov/wip-17728
...
test/ceph_test_msgr: do not use Message::middle for holding transient…
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-10-29 11:43:07 +08:00
David Zafman
d22d6ca649
Merge pull request #11397 from dzafman/wip-scrub-misc
...
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-28 11:17:12 -07:00
Kefu Chai
56896a7ed2
test/ceph_test_msgr: do not use Message::middle for holding transient data
...
Message::middle is used for holding encoded data, so we we can not stuff
it with payload and leave the "payload" field empty. this change
refactors the ceph_test_msgr by introducing a Payload class which
encodes all test data in it.
Fixes: http://tracker.ceph.com/issues/17728
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-29 02:06:37 +08:00
Kefu Chai
7842ea170d
Merge pull request #11677 from ceph/wip-rocksdb-no-march-native
...
rocksdb: do not build with --march=native
Reviewed-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2016-10-28 21:48:39 +08:00
Jason Dillaman
44bd8db678
Merge pull request #11678 from tchaikov/wip-silence-rbd-warning
...
librbd: silence the unused variable warning
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-28 09:23:18 -04:00
Kefu Chai
e321f1539f
librbd: silence the unused variable warning
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-28 20:40:02 +08:00
Kefu Chai
4b2046eb68
rocksdb: do not build with --march=native
...
we can not assume that building host has the same arch (or the same cpu
capability) with the target machine.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-28 19:00:12 +08:00
Sage Weil
82ee518c21
Merge pull request #11663 from stiopaa1/mds_mdslog_addConstToMemFunc
...
mds/MDLog: add const to member functions
2016-10-28 05:52:23 -05:00
Sage Weil
dcc777a619
Merge pull request #11668 from Enproduktion/master
...
doc: Fixed mapping error in legacy mds command
2016-10-28 05:49:25 -05:00
John Spray
94f08a256e
Merge pull request #11446 from ukernel/wip-cephfs-scan-links
...
tools/cephfs: add scan_links command which fixes linkages errors
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-28 11:03:12 +01:00
John Spray
649f24cffe
Merge pull request #11609 from stiopaa1/mds_snaprealm_unneededuseofcount
...
mds/SnapRealm: remove unneeded use of count
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-28 11:01:59 +01:00
John Spray
c88a71a8a8
Merge pull request #11625 from stiopaa1/mds_damageTable_removeUnneededCount
...
mds/DamageTable.cc: remove unneeded use of count
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-28 11:01:34 +01:00
Kefu Chai
e7291ce22c
Merge pull request #9304 from dzafman/wip-13937
...
osd: handle EC recovery read errors
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-28 17:21:09 +08:00
Venky Shankar
f2ef834413
Merge pull request #11645 from dillaman/wip-librbd-discard-after-write
...
test: new librbd discard after write test case
2016-10-28 14:26:49 +05:30
Yan, Zheng
d98a6eea2d
Merge pull request #11670 from stiopaa1/mds_mutation_addConstToMemFun
...
mds/Mutation.h: add const to member functions
2016-10-28 02:31:40 -05:00
Yan, Zheng
5c8e873c87
Merge pull request #11608 from atheism/mds-duplicated-check
...
client: Client.cc: remove duplicated op type checking against CEPH_MD…
2016-10-28 02:25:53 -05:00
Weibing Zhang
32a665e74b
client: Client.cc: correct the op type checking for CEPH_MDS_OP_CREATE
...
Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
2016-10-28 14:47:42 +08:00
David Zafman
c6cf05b302
global: Always log loading erasure code for tests
...
Fix for broken test-erasure-code.sh and test-erasure-eio.sh
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:42:11 -07:00
David Zafman
b4c080b1b4
test.sh: Make check for flags more robust
...
Low space broke test, saw "flags nearfull,pauserd,pausewr...."
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:42:11 -07:00
David Zafman
6904529d1b
test: Remove extra objectstore_tool call which causes a recovery
...
Caused by: 70e000a9a4
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:42:11 -07:00
David Zafman
bfe3ebd94f
test: Handle object removals in a non-racey way
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:42:11 -07:00
David Zafman
73a27533be
osd: Fix hang on unfound object after mark_unfound_lost is done
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:42:11 -07:00
David Zafman
c51d70e1e8
osd: Handle recovery read errors
...
Fixes: http://tracker.ceph.com/issues/13937
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:42:10 -07:00
David Zafman
b40ec3fe89
osd: Fix log messages
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:42:10 -07:00
David Zafman
36fd68c966
osd: CLEANUP: Remove unused pending_read member
...
Remove unused struct
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:42:10 -07:00
David Zafman
1fceb344be
Revert "test: Disable tests due to recovery race"
...
This reverts commit 5bc55338f5
.
Conflicts:
src/test/Makefile.am (no longer exists)
src/test/erasure-code/Makefile.am (no longer exists)
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-10-27 22:40:20 -07:00
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
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
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