Yan, Zheng
dbc579778f
mds: limit number of pending exports when thash exports is enabled
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 15:23:34 +08:00
Yan, Zheng
6ae33aace1
mds: make MDCache::show_subtree less verbose when thrash exports is enabled
...
Subtree map can be very large when thrash exports is enabled.
Printing subtree map causes size log to increase quickly.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 15:23:34 +08:00
Yan, Zheng
a4e5ad2ff4
mds: don't journal inode when merging subtrees
...
When doing subtree migration or cross subtree rename, we rdlock
fragtreelock of subtree boundaries' inodes. rdlock fragtreelock
has already journaled dirfragtree updates. I can't see why we
need to journal it again when merging subtrees.
The resaon I want to remove this code is that it can journal
unconnected dirfrag in the Migrator::export_reverse() case.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 15:23:30 +08:00
Yan, Zheng
2b7dd50667
mds: fix MDSMap::is_rejoining()
...
the function checks if all recovering mds reach rejoin state. It
need to consider damaged mds set.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 15:19:23 +08:00
Yan, Zheng
3eb1b7bc04
mds: remove stale warning in log replay code
...
we don't re-fill prealloc_inos each time a prealloc ino get used
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 15:19:23 +08:00
Yan, Zheng
60b22247c6
mds: don't modify session->info before ESession get journaled
...
Server::journal_close_session() modifies session->info before
corresponding ESession get journaled. It's possible the updated
session gets saved to sessionmap before Server::_session_logged()
increases sessionmap's version. This confuses the journal replay
code.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 15:19:23 +08:00
Haomai Wang
0bf9c6242e
Merge pull request #12854 from liupan1111/wip-fix-async-dpdk-issue
...
async: fixed coredump when enable dpdk.
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-10 13:09:40 +08:00
Pan Liu
96046f53e9
async: fixed coredump when enable dpdk.
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-10 11:58:23 +08:00
Jason Dillaman
59c0108241
Merge pull request #12849 from xiexingguo/xxg-wip-fix-compile-crash
...
librados: fix compile errors from simplified aio completions
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-01-09 21:45:41 -05:00
Kefu Chai
327791feac
Merge pull request #9032 from tchaikov/wip-15786
...
doc: document repair/scrub features
Reviewed-by: David Zafman <dzafman@redhat.com>
2017-01-10 10:23:39 +08:00
xie xingguo
8b64515d1c
librados: fix building crash
...
See https://github.com/ceph/ceph/pull/12607
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 10:01:54 +08:00
Sage Weil
d4f033c687
Merge pull request #12726 from liewegas/wip-18372
...
osd: _exit() intead of exit() for failure injection
Reviewed-by: Samuel Just <sjust@redhat.com>
2017-01-09 16:24:22 -06:00
Sage Weil
25c9910503
Merge pull request #12607 from liewegas/wip-librados-killack
...
librados,osdc: kill ack vs commit distinction
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-09 16:17:43 -06:00
Sage Weil
4ca7757e4a
Merge pull request #12695 from hjwsm1989/mark-unfound-lost
...
osd/PrimaryLogPG: optimal pick_newest_available
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 16:17:07 -06:00
Sage Weil
0a3a8cd58a
Merge pull request #12724 from kylinstorage/wip-fix-coverity-warning-for-uninitialized-members
...
osd: fix coverity warning for uninitialized members
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 16:14:52 -06:00
Sage Weil
93d7a21e42
Merge pull request #12725 from liewegas/wip-bluestore-bluefs-reclaim
...
os/bluestore/BlueFS: fix reclaim_blocks
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2017-01-09 16:07:15 -06:00
Sage Weil
cc6d926d3c
Merge pull request #12727 from liewegas/wip-18369
...
osd/PG: publish PG stats when backfill-related states change
Reviewed-by: Samuel Just <sjust@redhat.com>
2017-01-09 16:05:30 -06:00
Casey Bodley
e0acce4953
Merge pull request #12731 from oritwas/wip-rgw-realm-set
...
rgw realm set fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-09 10:54:15 -05:00
John Spray
30cfc81bdc
Merge pull request #12274 from ukernel/wip-multimds-misc
...
mds: misc multimds fixes
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-09 13:05:51 +00:00
John Spray
6542a2e0d0
Merge pull request #12588 from jcsp/wip-18311
...
mds: check for errors decoding backtraces
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-09 11:02:32 +00:00
John Spray
96375cd7bb
Merge pull request #12580 from Liuchang0812/fix-clang-warn-client
...
client: fix clang warn of "argument is an uninitialized value"
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 11:02:02 +00:00
John Spray
572a09cbe3
Merge pull request #12557 from stiopaa1/libcephfs_memoryLeakCephContext
...
libcephfs.cc: fix memory leak
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 10:36:39 +00:00
John Spray
8a7ad3d9ee
Merge pull request #12161 from jcsp/wip-remove-cap
...
client: simplify remove_cap interface
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-01-09 10:30:27 +00:00
John Spray
411bd53555
Merge pull request #12515 from kylinstorage/wip-safe-trace
...
client: fix potential buffer overflow
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 10:29:47 +00:00
Kefu Chai
637ec53e48
Merge pull request #12560 from wjwithagen/wip-wjw-rocksdb-NO-FAIL
...
src/CMakeLists.txt: disable -Werror on rocksdb
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-09 18:16:29 +08:00
Kefu Chai
70307c1d6a
Merge pull request #12799 from tchaikov/wip-sepia-bt
...
script/sepia_bt.sh: download packages from shaman not gitbuilder
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-09 10:59:47 +08:00
Jason Dillaman
0fb99b79b3
Merge pull request #12816 from SUSE/wip-18440
...
tests: subst repo and branch in git.ceph.com URL in qa/tasks/cram.py and qa/tasks/qemu.py
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-08 09:57:36 -05:00
Jason Dillaman
43f401365c
Merge pull request #12818 from SUSE/wip-drop-rbd_functional_tests
...
tests: drop unused rbd_functional_tests.pl script
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-08 09:56:59 -05:00
Mykola Golub
f1eb435770
Merge pull request #12639 from dillaman/wip-18327
...
librbd: new API method to force break a peer's exclusive lock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-08 14:23:12 +02:00
Orit Wasserman
4facc5f4f3
radosgw-admin: check for name mistmatch in realm set
...
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-01-08 12:15:42 +02:00
Orit Wasserman
b8b3ae3be3
radosgw-admin: relam set can use input redirection
...
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-01-08 12:15:35 +02:00
Orit Wasserman
e23339c9ef
radosgw-admin: realm set should create a new realm
...
Fixes: http://tracker.ceph.com/issues/18333
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-01-08 12:15:27 +02:00
Haomai Wang
e3c54bc8eb
Merge pull request #12812 from optimistyzy/16_0
...
NVMEDevice: fix bug in data_buf_next_sge
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-08 13:17:37 +08:00
Yehuda Sadeh
5e633a9d5c
Merge pull request #12767 from linuxbox2/rgw-invalid-aio-read4
...
rgw: remove invalid read size4
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-01-07 17:08:58 -08:00
optimistyzy
201d4fc606
NVMEDevice: Eliminate virt to physical address translation in data_buf_next_sge
...
After SPDK is updated, SPDK requires virtual address
instead of physical address in huge page memory. Thus,
we do not need to pass the physical address since SPDK
library will do the address translation work.If we
still use the original code, it seems a bug.
In this patch, we will also use spdk_zmalloc instead of
dpdk's rte_malloc_socket function.
Signed-off-by: optimistyzy <optimistyzy@gmail.com>
2017-01-08 08:17:32 +08:00
Matt Benjamin
c0233c4abb
rgw_rados: sanitize dout print in GWRados::get_obj_iterate_cb(...)
...
We cannot assume pbl may be deferenced. Per review, move the dout
print into the r < 0 condition--since it's now an error, make it's
trace level 0.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-01-07 18:34:47 -05:00
Matt Benjamin
d10c37adf9
rgw_rados: add guard assert in add_io()
...
Use the iterator-returning insert operation in std::map, check
assert the insert case. As a side effect, this makes use of the
inserted object record more clear.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-01-07 18:22:33 -05:00
Nathan Cutler
276ffb4631
tests: drop unused rbd_functional_tests.pl script
...
This script is no longer used.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 23:33:12 +01:00
Nathan Cutler
2484a55461
tests: subst repo and branch in qemu test urls
...
References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 22:49:56 +01:00
Nathan Cutler
74689df754
tests: subst branch and repo in qa/tasks/qemu.py
...
References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 22:49:54 +01:00
Nathan Cutler
ed0e8be0b2
tests: subst repo name in krbd/unmap/tasks/unmap.yaml
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 13:40:06 +01:00
Nathan Cutler
56e37e41f4
tests: subst repo name in qa/tasks/cram.py
...
Inspired by bcbe45d948
Fixes: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 13:40:06 +01:00
Jason Dillaman
a159f3d1c0
Merge pull request #12549 from trociny/wip-16555
...
librbd: permit removal of image being bootstrapped by rbd-mirror
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 17:57:53 -05:00
Jason Dillaman
21a8c69313
Merge pull request #12638 from yangdongsheng/rbd_remove_incompatible
...
librbd: don't continue to remove an image w/ incompatible features
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 17:56:53 -05:00
Dan Mick
54c2880152
Merge pull request #12787 from jamincollins/arch-linux
...
ceph-detect-init: adding Arch Linux support
Reviewed-by: Dan Mick <dmick@redhat.com>
2017-01-06 13:12:26 -08:00
Matt Benjamin
437a187c77
Merge pull request #11776 from ceph/wip-rgw-openssl-7
...
Wip rgw openssl 7
2017-01-06 12:08:38 -05:00
Jason Dillaman
9242a2e4e1
librados: blacklist_add should wait for latest OSD map
...
This ensures that future operations against the OSDs force
a OSD map update to notice the blacklisted client.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:21 -05:00
Jason Dillaman
c720f6e370
librbd: prevent assertion failure when journal IO is blacklisted
...
Fixes: http://tracker.ceph.com/issues/18429
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:20 -05:00
Jason Dillaman
418dcf29cb
librbd: ignore blacklist error when releasing exclusive lock
...
This ensures the journal and object map are properly closed so that the
image can be properly closed w/o failing any assertions.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:20 -05:00
Jason Dillaman
47b89f4d48
librbd: fail immediately if the exclusive lock cannot be acquired
...
Fixes: http://tracker.ceph.com/issues/16988
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:20 -05:00