Commit Graph

80999 Commits

Author SHA1 Message Date
Kefu Chai
e109f95718 bluestore: assert(!num_running) before releasing running_aios
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-20 12:33:40 +08:00
Kefu Chai
ca7e91d147 bluestore: extract IOContext logic out of BlueStore
to avoid HAVE_LIBAIO appearing in BlueStore.cc

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-20 12:24:19 +08:00
Jos Collin
11e96600c7 githubmap: Add oritwas
Added oritwas to .githubmap.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-20 09:12:51 +05:30
Sage Weil
25b7965f88 qa/suites/rados: test for recovery_unfound bug
See http://tracker.ceph.com/issues/22145

Signed-off-by: Sage Weil <sage@redhat.com>
2017-11-19 21:32:57 -06:00
Sage Weil
e2a75c91dd osd/PG: document state hierarchy
Signed-off-by: Sage Weil <sage@redhat.com>
2017-11-19 21:32:57 -06:00
Kefu Chai
a11ab928f7 cmake: check libaio on linux before building SPDK
SPDK requires libaio on linux.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-20 11:18:02 +08:00
Kefu Chai
57e792bcae bluestore: enable building bluestore w/o libaio
KernelDevice is tightly coupled with libaio. more work is needed to
decouple aio from it. but by guarding KernelDevice with HAVE_LIBAIO, we
can enable bluestore on platforms w/o libaio.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-20 11:18:02 +08:00
Yan, Zheng
959fad28b2 mds: don't delay processing completed requests in replay queue
Completed requests can also be in replay queue, they need to be processed
(treated as lookup request) in clientreplay stage. MDS will be stuck at
clientreplay stage if it delays processing requests of this type.

the bug was introduced by commit 0afbc033
(mds: don't rdlock locks in replica object while auth mds is recovering)

Fixes: http://tracker.ceph.com/issues/22163
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-11-20 09:01:42 +08:00
Mykola Golub
08544e7f91 test/rbd_mirror: fix valgrind warnings in unittest
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-19 19:37:09 +02:00
Jos Collin
593f65aa13 doc: Update COMMANDS section in radosgw-admin
Updated the COMMANDS section in RADOSGW-ADMIN doc page, using the latest commands from rgw_admin.cc::usage()

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-19 18:44:16 +05:30
Yan, Zheng
035a58859d
Merge pull request #18776 from JianyuLi/joa-mul-mds
MDS: make popular counter decay at proper rate
2017-11-19 20:47:58 +08:00
Yan, Zheng
aaaa6f616c
Merge pull request #18784 from taodd/client-bugfix
Client:Fix readdir bug
2017-11-19 20:47:09 +08:00
Yan, Zheng
b730db7dc7
Merge pull request #18786 from taodd/master
Client: setattr should drop "Fs" rather than "As" for mtime and size
2017-11-19 20:46:22 +08:00
Yan, Zheng
d4c96095e7
Merge pull request #18836 from taodd/cephfs-hadoop
MDS: correct the error msg when init mon client
2017-11-19 20:44:43 +08:00
Yan, Zheng
7bcaf9522f
Merge pull request #18892 from taodd/client-bugfix2
MDS: add null check before we push_back "onfinish"
2017-11-19 20:43:39 +08:00
Yan, Zheng
6fa601019b
Merge pull request #18893 from taodd/mds-inotable-cleanup
mds: simplify the code logic in replay_alloc_ids
2017-11-19 20:43:03 +08:00
Yan, Zheng
67d1e6d0c7
Merge pull request #18904 from taodd/mds-sesseionmap-cleanup
mds: get rid of the "if" check which is unnecessary inside a loop
2017-11-19 20:40:48 +08:00
Yan, Zheng
ff71fbdcbb mds: properly execute scrub finish context
Bug was introduced by commit 7e52729699 (mds: flush after scrub repairs)

Fixes: http://tracker.ceph.com/issues/22058
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-11-19 20:26:41 +08:00
Mykola Golub
a168d838c1 rbd-mirror: missing lock when re-sending update_sync_point
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-19 09:45:41 +02:00
Shinobu Kinjo
0279c6f874 src/libcephfs.cc: Cleanup nullptr initializations against deleted objects, etc
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-11-19 07:24:46 +09:00
Mykola Golub
b9ea759556
Merge pull request #19003 from dillaman/wip-22158
librbd: set deleted parent pointer to null

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-18 18:07:48 +02:00
Jason Dillaman
7b53256bb8 librbd: set deleted parent pointer to null
Fixes: http://tracker.ceph.com/issues/22158
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-18 08:30:27 -05:00
Kefu Chai
a83609b9b5
Merge pull request #18963 from amitkumar50/test-cov-test-9
test: Incorrect conversion to double

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-18 21:14:16 +08:00
Kefu Chai
e5aee684a9
Merge pull request #18901 from jan--f/jan-crushtool-decompile-missing-ids
tools/crushtool: skip device id if no name exists

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-18 21:12:23 +08:00
Kefu Chai
fe2b7ffc73
Merge pull request #18939 from majianpeng/bluestore-reap-collection
os/bluestore: fix the wrong usage for map_any

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-11-18 21:10:52 +08:00
Kefu Chai
eb413d18c5
Merge pull request #18913 from yaozongyou/wip-rados-add-touch-command
tools/rados: add touch command to change object modification time

Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-18 21:10:16 +08:00
Kefu Chai
205609cd9d
Merge pull request #18848 from jcsp/wip-22098
mgr/dashboard: fix audit log loading

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-18 21:08:29 +08:00
Kefu Chai
d5bb6e4034
Merge pull request #18847 from jcsp/wip-mgr-mon-upness
mgr/dashboard: show warnings if data is out of date or mons are down

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2017-11-18 21:05:50 +08:00
Kefu Chai
e0a7ef57e0
Merge pull request #18484 from Liuchang0812/wip-mgr-request-osd-metadata
mgr: request daemon's metadata when receiving a report from an unknown server

Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-18 21:04:37 +08:00
Kefu Chai
6515dbeccd
Merge pull request #18976 from yahooguntu/patch-1
udev: Fix typo in udev OSD rules file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-18 20:57:56 +08:00
Kefu Chai
1ac89cb799 rpm: add cunit-devel for 'suse_version'
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 14:05:25 +08:00
Kefu Chai
b9c822a29d
Merge pull request #18944 from tchaikov/wip-dpdk-spdk
cmake: WITH_SPDK=ON by default

Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
2017-11-18 13:15:52 +08:00
chunmei
0610332585 msg/async: rebase msg/async/dpdk to spdk/dpdk
Signed-off-by: Liu-Chunmei <chunmei.liu@intel.com>
2017-11-18 10:45:28 +08:00
Kefu Chai
a69bd61b8c cmake: use BuildDPDK if libdpdk not found
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:45:26 +08:00
Kefu Chai
e8add075ec cmake: add rte_mempool_{ring,stack} to Finddpdk.cmake
* also refactor it a little bit

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:44:56 +08:00
Kefu Chai
9964ac9251 cmake: BuildDPDK: do not build kernel modules
see also http://pkgs.fedoraproject.org/cgit/rpms/dpdk.git/tree/dpdk.spec

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:44:56 +08:00
Kefu Chai
79db2c4095 cmake: remove duplicated spdk linkage
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:44:56 +08:00
Kefu Chai
dbe04b4a85 cmake: refactor dpdk related code
* move the check of `USE_CRYPTOPP` to $top_srcdir/CMakeLists.txt
* remove reference of DPDK_LIBRARY, it's defined nowhere
* move the dpdk code to a single place

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-18 10:43:33 +08:00
Peter Woodman
dff64a2de2 doc: add 'deep' state to pg-states.rst, change description of 'scrubbing' state to differentiate from 'deep' state
Signed-off-by: Peter Woodman <peter@shortbus.org>
2017-11-17 16:38:34 -08:00
Peter Woodman
8c93c0eeaf mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin
without this the endpoint throws 500s when any PG is doing a deep scrub.

Signed-off-by: Peter Woodman <peter@shortbus.org>
Fixes: http://tracker.ceph.com/issues/22116
2017-11-17 16:38:34 -08:00
Andrew Schoen
664a2f9fae
Merge pull request #18988 from ceph/wip-rm22154
ceph-disk: create deprecation warnings

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-11-17 14:36:42 -06:00
Alfredo Deza
e433efe514 doc/ceph-volume create a migration section to help users coming from ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-17 13:39:17 -05:00
Alfredo Deza
c9da92e1ec ceph-disk add deprecation warnings in favor of ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Fixes: http://tracker.ceph.com/issues/22154
2017-11-17 13:38:02 -05:00
Yuri Weinstein
f870729aa1
Merge pull request #18917 from ZVampirEM77/wip-em-copyobjdata-cleanup
rgw: cleanup unused parameters in RGWRados::copy_obj_data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-11-17 09:55:29 -08:00
Mitch Birti
515417294c udev: Fix typo in udev OSD rules file
The rule for lockbox partitions had an invalid UUID for the "change" action.

Signed-off-by: Mitch Birti <yahooguntu@gmail.com>
2017-11-17 11:31:38 -06:00
J. Eric Ivancich
a5c88f61cb rgw clean-up: remove unused var & func in RGWRados::SystemObject
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-11-17 11:59:26 -05:00
Yuri Weinstein
383dd576d9
Merge pull request #18922 from Synesis-LLC/fix-22122
rgw: fix radosgw-admin bucket rm with --purge-objects and --bypass-gc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-17 08:49:31 -08:00
Yuri Weinstein
6ce6be64db
Merge pull request #18956 from Jeegn-Chen/wip-issue-22129
rgw: AWS v4 authorization work when INIT_MULTIPART is chunked

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2017-11-17 08:48:37 -08:00
Andrew Schoen
ee4447e3a6
Merge pull request #18984 from ceph/wip-cv-unittest-fix
ceph-volume tests.devices.lvm prepare isn't bluestore specific anymore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-11-17 09:38:08 -06:00
Casey Bodley
3bb3419c19
Merge pull request #18968 from joscollin/wip-rgwadmin-rewrite
rgw: fix rewrite options usage text

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-17 10:25:47 -05:00