Yan, Zheng
92d7b659ec
mds: add FSMapUser
...
FSMapUser is compact version of FSMap, it includes FSMap data that are
visiable to normal users.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-10 09:25:06 +08:00
Loic Dachary
9806fcda17
Merge pull request #9617 from liewegas/wip-fix-ec-min-size-test
...
test/mon/misc: fix pool set test given new default ec k
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-06-10 00:57:51 +02:00
Sage Weil
565fe60a5f
test/mon/misc: fix pool set test given new default ec k
...
k is no longer min_size by default; adjust test accordingly.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-09 17:09:58 -04:00
Sage Weil
a763fd9d5a
test/osd/osd-markdown: make test more reliable
...
This can fail if the osd hasn't gotten the map for the
last time it was marked down and come back up. This
should make this test much more reliable (fewer false
positives).
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-09 17:04:38 -04:00
Michal Jarzabek
824b84fc74
osdc/ObjectCacher.h: remove public access specifier
...
This is duplicated 3 times, so can be removed.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-06-09 21:41:48 +01:00
Mykola Golub
b48aec78fb
Merge pull request #9594 from dillaman/wip-16165
...
rbd-mirror: fix journal shut down ordering
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-09 23:34:11 +03:00
Mykola Golub
bbbd910290
Merge pull request #9598 from dillaman/wip-16196
...
rbd-mirror: refresh image after creating sync point
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-09 21:23:34 +03:00
Jason Dillaman
9dbf0a530d
Merge pull request #9433 from jbernard/master
...
librbd: refresh image if needed in mirror functions
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-09 13:38:56 -04:00
Sage Weil
31e769ac16
Merge pull request #9538 from chhabaramesh/master
...
os/bluestore: Unaligned device length and Correct alloc size fix for BitMap allocator
2016-06-09 09:44:48 -04:00
Sage Weil
0b358dbdb7
Merge pull request #9600 from stiopaa1/osdc_objectcacher_moveCwritecommit
...
osdc/ObjectCacher.h: move classes to cc file
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-09 09:41:11 -04:00
Sage Weil
763495eb3d
Merge pull request #9596 from liewegas/wip-statfs
...
os: fix statfs for filestore and fusestore
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-09 09:15:57 -04:00
Mykola Golub
5e295b96bf
Merge pull request #9597 from dillaman/wip-cls_rbd-encoding
...
cls_rbd: encode entity_addr_t with features
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-09 16:15:07 +03:00
John Spray
a833882df0
Merge pull request #8779 from ukernel/wip-cephfs-rstat
...
mds: fix rstat bugs
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-09 11:43:52 +01:00
John Spray
dcff7be553
Merge pull request #8780 from ukernel/wip-renew-caps
...
client: renew caps for read/write if mds session got killed.
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-09 11:30:01 +01:00
Ramesh Chander
251dd460bf
correct allocation block size for bluestore and bluefs
...
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-06-09 02:51:09 -07:00
Ramesh Chander
4bc4b2bfa8
remove truncation of unaligned blocks at init
...
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-06-09 02:51:09 -07:00
John Spray
a4a5a02344
Merge pull request #9443 from vishalkanaujia/master
...
mds: Removed tmap fetch code from Cdir
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-09 10:48:58 +01:00
John Spray
835d16b2ea
Merge pull request #9536 from xiexingguo/xxg-wip-fix-prdwrv
...
client: fix sanity check of preadv/pwritev
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-09 10:48:14 +01:00
John Spray
840e18e7db
Merge pull request #9523 from liewegas/wip-pg-to-osds
...
osd/OSDMap: pg_to_osds -> pg_to_raw_osds, fix libcephfs caller to get acting osds
Reviewed-by: Song Baisen <song.baisen@zte.com.cn>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-06-09 10:46:07 +01:00
John Spray
73430aeb31
Merge pull request #9507 from xiexingguo/xxg-wip-fix-mdsutility
...
tools/cephfs: fix message leak; add flush for dump cmd
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-09 10:43:41 +01:00
John Spray
4b25c753fd
Merge pull request #8890 from ukernel/wip-15634
...
client: enable fuse_use_invalidate_cb by default
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-09 10:36:43 +01:00
John Spray
a0d081624b
Merge pull request #9509 from ukernel/wip-16137
...
client: skip executing async invalidates while umounting
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-09 10:36:02 +01:00
Jason Dillaman
7c9cea0c59
Merge pull request #9541 from renhwztetecs/renhw-wip-rbd
...
rbd: cleanup unnecessary switch breaks
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 21:06:28 -04:00
Michal Jarzabek
d2db4e72bf
osdc/ObjectCacher.h: move classes to cc file
...
Move C_WriteCommit and C_WaitForWrite to cc file.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-06-08 23:16:01 +01:00
Samuel Just
abebc2413d
Merge pull request #9595 from tchaikov/wip-librados-do-not-return-local-ref
...
librados: get_pool_name() should not return ref of a local variable
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-06-08 14:54:06 -07:00
Jason Dillaman
c9a3e3be7d
rbd-mirror: refresh image after creating sync point snapshot
...
Fixes: http://tracker.ceph.com/issues/16196
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 17:23:48 -04:00
Jason Dillaman
03f5e4a917
rbd-mirror: consistently use dout/derr for debug logging
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 17:23:48 -04:00
Jason Dillaman
f4e0bab479
Merge pull request #8830 from trociny/wip-rbd-mirror-bootstrap-cancel
...
rbd-mirror: support bootstrap canceling
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 17:08:51 -04:00
Jason Dillaman
051c96589e
cls_rbd: encode entity_addr_t with features
...
mirror_image_status_get method call currently fails with EIO
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 15:15:58 -04:00
Sage Weil
976189d7b3
osd/osd_types: fix description of store_statfs_t::available field
...
It's bytes, not blocks.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-08 15:10:56 -04:00
Sage Weil
abd84f4f1b
os/filestore: fix statfs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-08 15:02:55 -04:00
Sage Weil
655b75bab2
os/FuseStore: fix statfs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-08 15:02:14 -04:00
Loic Dachary
b5eb28b649
Merge pull request #9386 from tchaikov/wip-bye-py2.6
...
ceph-detect-init,ceph-disk: drop support of py2.6
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-06-08 20:44:49 +02:00
Kefu Chai
25dfbd09f4
Merge pull request #9476 from ceph/wip-no-unittests-in-deb
...
packaging: do not package unused unittests in deb
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-09 01:52:28 +08:00
Sage Weil
4dc3d08ef7
Merge pull request #9475 from tchaikov/wip-debian
...
debian: package compressor plugins and silence dpkg-shlibdeps warnings
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-08 12:43:50 -04:00
Kefu Chai
0657fd61f3
Merge pull request #9315 from ShiqiCooperation/master
...
mon: remove unused local variable "proposal_bl"
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-09 00:34:36 +08:00
Kefu Chai
ff6bc74250
librados: get_pool_name() should not return ref of a local variable
...
was introduced by 1a44e6f
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-09 00:11:43 +08:00
Mykola Golub
5568107d56
Merge pull request #9023 from dillaman/wip-15791
...
librbd: journal IO error results in failed assertion in AioCompletion
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-08 18:22:17 +03:00
Mykola Golub
c320bb2f72
Merge pull request #9440 from dillaman/wip-16114
...
librbd: prevent error messages when journal externally disabled
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-08 18:21:16 +03:00
Casey Bodley
baa99901b4
Merge pull request #9573 from tchaikov/wip-cmake-rocksdb
...
cmake: fix rocksdb linkage with jemalloc installed but not enabled
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-08 11:10:13 -04:00
Jason Dillaman
8374d45c76
librbd: quickly check for duplicate snap name upon create
...
During journal replay, quickly check for a duplicate snap name
before allocating a snapshot sequence from the OSDs and
reverting due to the duplicate name.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 11:06:20 -04:00
Jason Dillaman
88bd300208
rbd-mirror: stop external replayer before closing remote journaler
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 11:06:20 -04:00
Jason Dillaman
5aa6eb2782
librbd: stop journal recorder before starting external replay
...
Fixes: http://tracker.ceph.com/issues/16165
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 11:06:20 -04:00
Yuri Weinstein
c841ac0e84
Merge pull request #8008 from cernceph/dvanders_minsize
...
mon: default ec min_size to k+1
Dan van der Ster <daniel.vanderster@cern.ch>
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-06-08 07:34:04 -07:00
Yuri Weinstein
9d54c924a5
Merge pull request #8789 from vuhuong/wip-msgr-flex-prop-list
...
msgr,xio: flexible Messenger::create options
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-08 07:30:17 -07:00
Yuri Weinstein
f69f1bd0c5
Merge pull request #9184 from liewegas/wip-addr-work
...
msg: encode entity_addr_t with features
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-08 07:26:50 -07:00
Sage Weil
0246ba7572
Merge pull request #9486 from ifed01/wip-bluestore-stats3
...
os/bluestore: add per-store allocation/compression statistics
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-08 10:24:33 -04:00
Yuri Weinstein
870fd846d8
Merge pull request #9314 from xiexingguo/xxg-wip-fix-radosclient
...
RadosClient: reduce cpu burning; fix message leak
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-08 07:21:58 -07:00
Yuri Weinstein
3984afd405
Merge pull request #9413 from stiopaa1/common_simplecache_addMove
...
common/simple_cache.hpp: add std::move
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-08 07:20:42 -07:00
Yuri Weinstein
4f76fbc34d
Merge pull request #9414 from branch-predictor/bp-no-invalidate-new-ptr
...
buffer: don't invalidate crc cache of new ptr before zeroing it
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-08 07:19:08 -07:00