Commit Graph

54541 Commits

Author SHA1 Message Date
Mykola Golub
cf186eacf1 Merge pull request #9618 from dillaman/wip-16226
rbd-mirror: fix deletion propagation edge cases

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-10 16:38:56 +03:00
Jason Dillaman
55b3cf6913 Merge pull request #9620 from trociny/rbd-mirror-error-formatting
rbd-mirror: fix error message formatting

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-10 09:36:40 -04:00
Jason Dillaman
5226db9d31 Merge pull request #9464 from vumrao/wip-vumrao-15807
rbd: add error message "snapshot is already protected"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-10 09:35:15 -04:00
Casey Bodley
db7a636e12 Merge pull request #9420 from weiqiaomiao/wqm-wip-rgw-fixmemleak
rgw:fix data sync memory leaks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-10 08:30:07 -04:00
Mykola Golub
2af72480d9 rbd-mirror: fix error messages formatting
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-06-10 14:04:04 +03:00
John Spray
90ab9ca925 Merge pull request #8386 from ukernel/wip-monntbyfsname
client: mount non-default filesystem by name

Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-10 10:50:59 +01:00
Jason Dillaman
d72a8cb67f rbd-mirror: image deleter properly handles multiple snapshots
Fixes: http://tracker.ceph.com/issues/16226
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-10 00:15:27 -04:00
Jason Dillaman
a0c526a237 rbd-mirror: propagate deletions even if image replayer is stopped
If an image deletion which causes the replayer to stop (due to an error)
before the deletion is detected, the deletion should still occur.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-10 00:15:27 -04:00
Jason Dillaman
de15b198cd qa/workunits/rbd: improve deletion propagation test case
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-10 00:15:20 -04:00
Yan, Zheng
e07839f8cf messages: fix MFSMap::get_type_name()
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-10 09:30:20 +08:00
Yan, Zheng
53c2255f20 client: mount non-default filesystem by name
To mount non-default filesytem, user needs to provide mds namespace ID.
This is inconvenience.

This patch makes user be able to mount filesystem by name. To do this,
client first subscribes to FSMapUser. Subscribe to mdsmap.<ID> after
knowning ID of the filesystem.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-10 09:30:20 +08:00
Yan, Zheng
049debf74f MDSMonitor: handle fsmap.user subscription
return FSMap data that are visiable to normal users.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-10 09:30:19 +08:00
Yan, Zheng
4276042edc messages: add MFSMapUser
For mon clients that subscribe to 'fsmap.user'

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-10 09:25:07 +08:00
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
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