Commit Graph

68862 Commits

Author SHA1 Message Date
Gui Hecheng
f6cc953900 test/librbd: handle writesame op in librados_test_stub, required
Based on pr: https://github.com/ceph/ceph/pull/10019.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2017-02-23 17:25:27 +08:00
Gui Hecheng
ca737d0678 librbd: handle perfcounter for writesame separately
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2017-02-23 17:25:24 +08:00
Gui Hecheng
3fe9ab5140 librbd: writesame do discard on an all-zero buffer
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2017-02-23 17:25:22 +08:00
Gui Hecheng
4014bae7bf librbd: implement writesame API
Based on pr: https://github.com/ceph/ceph/pull/10019.
This drops the original writesame2 api.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2017-02-23 17:25:19 +08:00
Gui Hecheng
969200a30c librbd: handle writesame request in AioImageRequestWQ
Based on pr: https://github.com/ceph/ceph/pull/10019.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2017-02-23 17:25:17 +08:00
Gui Hecheng
ffd8ffb956 librbd: add writesame AioImageRequest
Based on pr: https://github.com/ceph/ceph/pull/10019.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2017-02-23 17:25:14 +08:00
Gui Hecheng
b71335b94a librbd/journal: handle writesame event
Based on pr: https://github.com/ceph/ceph/pull/10019.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2017-02-23 17:25:10 +08:00
Gui Hecheng
b96529ef33 librbd: add writesame AioObjectRequest
Based on pr: https://github.com/ceph/ceph/pull/10019.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2017-02-23 17:25:07 +08:00
Loic Dachary
c733d48580 Merge pull request #13589 from dachary/wip-crush-doc
doc: crush: API documentation fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-23 00:36:36 +01:00
Matt Benjamin
98b28d675d Merge pull request #13590 from linuxbox2/wip-badbuck
rgw_file: avoid stranding invalid-name bucket handles in fhcache
2017-02-22 16:35:19 -05:00
Casey Bodley
abb6eec3a6 Merge pull request #13324 from dongbula/make-sync-thread-name-clear
rgw: make sync thread name clear

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 13:52:23 -05:00
Jason Dillaman
e0143b4952 Merge pull request #13361 from ddiss/rbdmap_unmap_from_file
rbdmap: consider /etc/ceph/rbdmap when unmapping images

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-22 12:53:55 -05:00
Casey Bodley
99060b2e56 Merge pull request #13387 from Jing-Scott/clean-up-rgw-list-redundant-code
rgw: clean up the redundant assignment in last_entry_in_listing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:47:33 -05:00
Casey Bodley
e7d7b8d035 Merge pull request #13460 from theanalyst/fix/rgw-rest-user-fixme
wip: rgw: rest_admin/user avoid double checking input args

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:45:42 -05:00
Casey Bodley
e5e981c796 Merge pull request #13461 from theanalyst/doc/rgw-system-user
doc: rgw: make a note abt system users vs normal users

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:44:39 -05:00
Casey Bodley
ac79e29be4 Merge pull request #13576 from jronak/doc
rgw:Fixes typo in rgw_admin.cc

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:24:22 -05:00
Casey Bodley
a78c0f3eff Merge pull request #13578 from Liuchang0812/wip-fix-typo-in-rgw
rgw: fix typo in comment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-22 11:22:16 -05:00
Matt Benjamin
6cde812c92 rgw_file: avoid stranding invalid-name bucket handles in fhcache
To avoid a string copy in the common mkdir path, handles for
proposed buckets currently are staged in the handle table, before
being rejected.  They need to be destaged, not just marked deleted
(because deleted objects are now assumed not to be linked, as of
beaeff0593).

This triggered an unhandled Boost assert when deleting staged
handles, as current safe_link mode requires first removing from
the FHCache.

Fixes: http://tracker.ceph.com/issues/19036

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-22 10:43:48 -05:00
John Spray
64eae76fbe Merge pull request #12897 from renhwztetecs/renhw-wip-client-cleanup
client: priority to verify the correctness of the "flag" 

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 10:08:14 +00:00
John Spray
de5249436c Merge pull request #13359 from jcsp/wip-logrotate-sshexception
qa: handle SSHException in logrotate

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-22 10:05:07 +00:00
John Spray
c068fa879f Merge pull request #13429 from ukernel/wip-18941
test/libcephfs: avoid buffer overflow when testing ceph_getdents()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 10:04:22 +00:00
John Spray
fa55ed5ab2 Merge pull request #13455 from ukernel/wip-18953
mds: ignore fs full check for CEPH_MDS_OP_SETFILELOCK

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 09:50:56 +00:00
John Spray
4fb5286af0 Merge pull request #13465 from jcsp/wip-mds-voidfn
mds: replace C_VoidFn in MDSDaemon with lambdas

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-22 09:49:17 +00:00
John Spray
0d817a2ae0 Merge pull request #13471 from batrick/fs-new-eexist
mon: detect existing fs and duplicate name earlier

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-22 09:48:36 +00:00
Abhishek L
7ae1981855 Merge pull request #13572 from theanalyst/doc/changelog/v0.94.10
doc: add changelog for v0.94.10

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-02-22 10:27:54 +01:00
Abhishek L
aa59cbd427 Merge pull request #13152 from smithfarm/wip-hammer-release-notes
doc: hammer 0.94.10 release notes

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-02-22 10:25:24 +01:00
Loic Dachary
51f4e3bd93 Merge pull request #13573 from dachary/wip-17821-revert
ceph-disk: dmcrypt activate must use the same cluster as prepare

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-22 09:15:22 +01:00
Ronak Jain
58837ef6ce rgw: Fixes typo in rgw_admin.cc
Issue: http://tracker.ceph.com/issues/19026
Signed-off-by: Ronak Jain <ronakjain@outlook.in>
2017-02-22 13:29:32 +05:30
liuchang0812
f0061f4b0b rgw: fix typo in comment
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-22 15:20:59 +08:00
Loic Dachary
7f66672b67 ceph-disk: dmcrypt activate must use the same cluster as prepare
When dmcrypt is used, the fsid cannot be retrieved from the data
partition because it is encrypted. Store the fsid in the lockbox to
enable dmcrypt activation using the same logic as regular activation.

The fsid is used to retrive the cluster name that was used during
prepare, reason why activation does not and must not have a --cluster
argument.

Fixes: http://tracker.ceph.com/issues/17821

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-22 01:49:12 +01:00
Nathan Cutler
374423e0ca Merge pull request #13515 from smithfarm/wip-17613
rpm: build ceph-resource-agents by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-02-22 00:13:20 +01:00
Abhishek Lekshmanan
2a79c6e5cc doc: add changelog for v0.94.10
Generated as
```
$ git log tags/v0.94.9..tags/v0.94.10 --after="Tue Aug 30 11:33:36 2016 +0000"
```

in order to avoid the qa suite merge commits
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-02-21 23:51:12 +01:00
Loic Dachary
d3409d4562 Revert "ceph-disk: change get_dmcrypt_key test to support different cluster name"
Merged by mistake, teuthology ceph-disk fails

This reverts commit 1c74747360.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-21 23:48:34 +01:00
Loic Dachary
bf6fca7591 Revert "ceph-disk: Adding cluster name support for dmcrypt"
Merged by mistake, teuthology ceph-disk fails

This reverts commit d98d4dbc27.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-21 23:47:25 +01:00
Yuri Weinstein
9d295f7588 Merge pull request #12623 from LiumxNL/fix-boot-epoch
osd: correct epoch setting of osd boot msg

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 13:01:23 -08:00
Yuri Weinstein
d0c5df3a87 Merge pull request #13418 from dreamhost/wip-18928
msg/async: support IPv6 QoS.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-21 12:59:42 -08:00
Yuri Weinstein
f0e93ea02e Merge pull request #13530 from tangwenjun3/wip-tang-nvme
os/bluestore rm unused variable in aio_read()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 12:57:14 -08:00
Jason Dillaman
e2f14be298 Merge pull request #13536 from Liuchang0812/wip-add-override-in-rbd-headers
librbd: add override keyword in header files

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-21 11:51:50 -05:00
Kefu Chai
9341329781 Merge pull request #13558 from ceph/wip-19016-remove-mon_osd_min_down_reports
doc: remove mentions about mon_osd_min_down_reports

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 23:40:59 +08:00
Kefu Chai
445434048b Merge pull request #12295 from wjwithagen/wip-wjw-TEMP_FAILURE
rgw/rgw_main.cc: fix parenteses and function result

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-21 23:39:52 +08:00
Casey Bodley
70d1f90d79 Merge pull request #13291 from prallabh/obj_stat
rgw: Let the object stat command be shown in the usage

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-21 09:19:09 -05:00
Barbora Ančincová
2918439f57 doc: remove mentions about mon_osd_min_down_reports
Fixes: http://tracker.ceph.com/issues/19016
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-02-21 13:43:03 +01:00
Kefu Chai
d694b61d49 Merge pull request #13550 from tchaikov/wip-18968
mon/MonClient: persist global_id across re-connecting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-21 17:22:42 +08:00
liuchang0812
f72b881249 librbd: add override in header files
Fixes: http://tracker.ceph.com/issues/19012

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-21 16:54:35 +08:00
root
0fe76f83d1 rgw: Let the object stat command be shown in the usage
Fixes: http://tracker.ceph.com/issues/19013
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2017-02-21 14:01:55 +05:30
Kefu Chai
8bb6193c8f mon/MonClient: persist global_id across re-connecting
MonClient should re-use previously assigned global-id after
re-connecting. and should not have its global-id changed once it is
authenticated unless monitor thinks otherwise.

Fixes: http://tracker.ceph.com/issues/18968
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-21 12:01:12 +08:00
John Spray
a4fcdb6133 Merge pull request #13346 from batrick/mds-doc-fix
doc: update to new ceph fs commands

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-20 23:58:55 +00:00
Matt Benjamin
ecb4820e07 Merge pull request #13529 from linuxbox2/wip-dir-orphan
rgw: wip dir orphan
2017-02-20 16:11:26 -05:00
Matt Benjamin
4454765e7d rgw_file: fix marker computation
Fixes: http://tracker.ceph.com/issues/19018

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-20 15:17:31 -05:00
Mykola Golub
357cea27af Merge pull request #13447 from dillaman/wip-13025
librbd: scatter/gather support for the C API

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-20 22:02:13 +02:00