Commit Graph

46001 Commits

Author SHA1 Message Date
Loic Dachary
09cd89edd6 Merge pull request #6671 from dzafman/wip-jenkins-fix
Fix Jenkins make check errors due to deep-scrub randomization

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-22 10:41:50 +01:00
David Zafman
0fe26c25c5 test: osd-scrub-snaps.sh: Randomized deep-scrubs can now happen during a scrub
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-11-21 10:57:16 -08:00
Loic Dachary
240542da1a Merge pull request #6659 from cholcombe973/master
Doc: Typo in the apt-get command

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-21 18:18:22 +01:00
Chris Holcombe
07f68b5b7a Typo in the apt-get command.
Signed-off-by: Chris Holcombe <xfactor973@gmail.com>
2015-11-20 08:00:14 -08:00
Sage Weil
f3e88ace74 Merge remote-tracking branch 'gh/jewel' 2015-11-20 10:44:39 -05:00
John Spray
d9b12df658 Merge pull request #6553 from ukernel/wip-13777
mds: properly set STATE_STRAY/STATE_ORPHAN for stray dentry/inode

Reviewed-by: John Spray <john.spray@redhat.com>
2015-11-20 14:25:28 +00:00
John Spray
0b21492ef5 Merge pull request #6603 from ukernel/wip-13782
client: avoid creating orphan object in Client::check_pool_perm()

Reviewed-by: John Spray <john.spray@redhat.com>
2015-11-20 13:59:06 +00:00
Sage Weil
28c0f8fe18 Merge branch 'osd-op-create' of git://github.com/majianpeng/ceph
Conflicts:
	src/osd/ReplicatedPG.cc

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-20 07:01:19 -05:00
Sage Weil
b584388ce9 Merge pull request #6489 from xiexingguo/xxg-wip-13715
librados: fix pool alignment API overflow issue

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2015-11-20 06:57:43 -05:00
Sage Weil
8771aa19b5 Merge pull request #6492 from cxwshawn/wip-perf-fix
osd: change mutex to spinlock to optimize thread context switch.

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-20 06:56:35 -05:00
Sage Weil
bc7d677185 Merge pull request #6550 from cernceph/wip-deepscrub
osd: randomize deep scrubbing

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-20 06:56:04 -05:00
Sage Weil
e0dfa0d2c0 Merge pull request #6568 from ghost/wip-scrub-error
scrub: do not assign value if read error

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-11-20 06:55:38 -05:00
Sage Weil
dcd1834ca7 Merge pull request #6609 from liewegas/wip-newstore
newstore: misc updates (including kv and os/fs stuff)
2015-11-20 06:55:14 -05:00
Sage Weil
dddf7d1a2c Merge pull request #6622 from liewegas/wip-13796
osd: partial revert of "ReplicatedPG: result code not correctly set in some cases."

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-11-20 06:54:32 -05:00
Loic Dachary
4bc39bcdda Merge pull request #6658 from dachary/wip-releases
doc: add v0.80.11 to the release timeline

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
2015-11-20 00:10:53 +01:00
Orit Wasserman
97bf0bcf02 Merge pull request #6057 from rahul1aggarwal/master
Bug #13207:  Rados Gateway: Anonymous user is able to read bucket with authenticated read ACL
2015-11-20 00:07:12 +01:00
Loic Dachary
1420a1f150 doc: add v0.80.11 to the release timeline
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-19 23:47:48 +01:00
Sage Weil
9e9b03ea8d doc/releases: add v0.80.11 to release table
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-19 17:05:38 -05:00
Sage Weil
4b5afe5f06 doc/release-notes: final v0.80.11 notes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-19 17:04:22 -05:00
Sage Weil
842deb8895 Merge pull request #6374 from dachary/wip-release-notes-firefly
release-notes: draft v0.80.11 release notes
2015-11-19 17:03:43 -05:00
Jenkins Build Slave User
6316ff8318 10.0.0 2015-11-19 16:14:41 -05:00
root
99ba6610a8
13207: Rados Gateway: Anonymous user is able to read bucket with authenticated read ACL
Signed-off-by: root <rahul.1aggarwal@gmail.com>
2015-11-20 00:52:19 +05:30
David Zafman
2c7b04c354 Merge pull request #6654 from tchaikov/wip-unsigned-missing-scrub
osd: note down the number of missing clones

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-11-19 11:06:59 -08:00
Kefu Chai
1536cb0208 osd: note down the number of missing clones
Caused by 2e0bb0ae94
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-11-20 01:59:25 +08:00
Loic Dachary
b2f2e6c84e Merge pull request #6637 from Vicente-Cheng/update-ceph-disk-manual-page
doc: Update ceph-disk manual page with new feature deactivate/destroy.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-19 11:06:35 +01:00
xiexingguo
3b146f5900 RadosClient: reimplement the pool alignment methods using the new ones
so we don't less duplicated code and the logic reveals the problem of the old methods in a more visible way.
Fixes: #13715
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2015-11-19 12:48:32 +08:00
Vicente Cheng
1633d3e17a doc: Update ceph-disk manual page to remove some option description.
- remove `--mark-init` and `--activate-key` from options because
    they are not options that are common to all subcommands.

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-19 09:34:51 +08:00
Vicente Cheng
d3d139b496 doc: Update ceph-disk manual page with new feature deactivate/destroy.
- Update the ceph-disk manual page

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-19 09:33:21 +08:00
David Zafman
b75d1074f6 Merge pull request #6545 from dzafman/wip-dry-fixes
Fix --dry-run for many ceph-objectstore-tool operations

Includes adding missing tests for xattr and omap
Add testing of --dry-run for most operations
Minor cleanup of rados command output

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-18 12:41:33 -08:00
Haomai Wang
133b0dee86 Merge pull request #6640 from david-z/wip-async-msg-crash-cephfs
Cephfs will crash if enabling async msg because of an assertion

Reviewed-by: Haomai Wang <haomai@xsky.com>
2015-11-18 23:53:07 +08:00
branto1
16ef1da54a Merge pull request #6482 from herver/wip-13709
rgw: fix reload on non Debian systems.

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2015-11-18 16:03:53 +01:00
John Spray
5a2d24baf9 Merge pull request #5662 from ceph/wip-scrub-basic
ScrubStack and "tag path" command

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2015-11-18 12:00:29 +00:00
Zhi Zhang
7d6002b712 Cephfs will crash if enabling async msg because of an assertion
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2015-11-18 18:28:12 +08:00
Sage Weil
04e3810c89 osd: partial revert of "ReplicatedPG: result code not correctly set in some cases."
This reverts the parts of commit 3b5d54bec0
that change omap return values (i.e., do not just assert, but
change what the client sees).

Fixes: #13796
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-17 15:40:28 -05:00
Josh Durgin
46249fe5b2 Merge pull request #6541 from dillaman/wip-11287
librbd: integrate journaling support for IO operations

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-17 11:39:51 -08:00
Jason Dillaman
f92f7417ae librbd: copy operation needs to use AIO work queue for writes
This ensures that the exclusive lock is properly acquired prior to
writing to the new image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-17 10:22:26 -05:00
Jason Dillaman
ee7c6f7399 librbd: simplify IO flush handling
Add a new convenience method to ImageCtx for handling flush
requests and cleanup flush handling with dealing with the cache.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-17 10:22:24 -05:00
Jason Dillaman
cb634dfa42 librbd: possible deadlock attempting to drain parent image WQs
Ensure all AIO to the parent image is properly flushed and assert
that all work queues are empty before closing the parent image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-17 09:01:59 -05:00
Jason Dillaman
b118d7df1e WorkQueue: PointerWQ drain no longer waits for other queues
If another (independent) queue was processing, drain could
block waiting.  Instead, allow drain to exit quickly if
no items are being processed and the queue is empty for
the current WQ.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-17 08:52:15 -05:00
Yan, Zheng
acb8fdec05 Merge pull request #6617 from jcsp/wip-13816
tools/cephfs: fix overflow writing header to fixed size buffer (#13816)
2015-11-17 20:34:34 +08:00
John Spray
58753453a7 tools/cephfs: use snprintf in Dumper
Signed-off-by: John Spray <john.spray@redhat.com>
2015-11-17 12:20:31 +00:00
John Spray
5c2815e9a2 tools/cephfs: enlarge dump header
This was never big enough for largest possible
numbers in the %llu formats.

Not being backwards compatible for this tool.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-11-17 12:20:31 +00:00
Loic Dachary
257a3c3863 Merge pull request #5867 from Vicente-Cheng/ceph-disk-destroy-implementation
ceph-disk: Add destroy and deactivate option

ceph-disk now understands deactivate to shutdown an OSD and umount the partition. It will remain in a "down" state until it is activated again with --reactivate. If a deactivated OSD is destroyed with ceph-disk destroy, it will be permanently removed from the cluster and from the crushmap. 

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-17 11:43:02 +01:00
Vicente Cheng
2a3040b87a ceph-disk: remove the redundant try except and minor nits
- remove the redundant try except

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:43 +08:00
Vicente Cheng
b954c519e8 tests: ceph-disk: add wait_for_osd_down() in ceph-disk-test.py of qa
- add wait_for_osd_down() to avoid the side effect of deactivate

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:43 +08:00
Vicente Cheng
0f892e65a4 tests: ceph-disk: modify the ceph-disk qa test cases
- minor correct for the latest ceph-disk qa test cases

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:43 +08:00
Vicente Cheng
c110a63382 tests: ceph-disk: improve the unit test to coverage all deactivate/destroy function.
- rework the unit test to coverage all deactivate/destroy function
  - make test item simple and easier to read

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:43 +08:00
Vicente Cheng
3823c31f56 ceph-disk: improve the device query stage on deactivate/destroy feature.
- Make code path much easier to get device info. (get little bit overhead)
  - Let some error rasie the correct execption
  - for dmcrypt device, we unmap on the deactivate stage. (consist with activate)

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:43 +08:00
Vicente Cheng
7e88cf005f tests: ceph-disk: add deactivate/reactivate/destroy test cases.
- using the deactivate/destroy feature to destroy osd
  - test reactivate option when the osd goes deactive
  - add check_osd_status to check osd status when osd goes up

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:43 +08:00
Vicente Cheng
f51dd57b5d tests: ceph-disk: add some unittest functions to coverage destroy/deactivate feature.
- Add new unittest functions to coverage the part of dmcrypt/mpath handling.

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
2015-11-17 09:24:43 +08:00