Commit Graph

42396 Commits

Author SHA1 Message Date
Vu Pham
0f0c6f10bc xio: fix to work with commit 626360aa
Fix xio to work with commit 626360aa
"msg, ceph_osd: Support feature bits for all message type's local connection"

Signed-off-by: Vu Pham <vu@mellanox.com>
2015-06-23 14:25:20 -07:00
Vu Pham
47a844785a xio: fix to work with the merge of pull request #4707
fix xio to work with the merge of pull request
" Removed unnecessary inclusion of iostream in several files #4707"

Signed-off-by: Vu Pham <vu@mellanox.com>
2015-06-23 14:25:16 -07:00
Vu Pham
ec2afbb512 xio: sync to work with accellio v1.4
latest master's HEAD - tag v1-4

Signed-off-by: Vu Pham <vu@mellanox.com>
2015-06-23 14:25:13 -07:00
John Spray
fedafb6db2 Merge pull request #4747 from ceph/wip-damaged-fixes
MDS metadata damage handling

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-06-23 14:29:24 +01:00
Loic Dachary
228fd4c8e0 Merge pull request #5054 from SUSE/wip-release-notes-syntax
doc/release-notes.rst: add missing word to complete sentence

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-23 08:31:29 -04:00
Nathan Cutler
d5ff8a5dbf doc/release-notes.rst: add missing word to complete sentence
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-06-23 14:23:24 +02:00
Li Wang
c1bd02c978 Merge pull request #4792 from kylinstorage/wip-writeback-throttling-for-cache-tiering
Wip writeback throttling for cache tiering

This patch is to do write back throttling for cache tiering, which is similar to what the Linux kernel does for  page cache write back.  A paramter 'cache_target_dirty_high_ratio'  (default 0.6) is introduced as the high speed flushing threshold, while leave the 'cache_target_dirty_ratio' (default 0.4) to represent the low speed  threshold. The flush speed is controlled by limiting the parallelism of flushing. The maximum parallelism under low speed is half of the parallelism under high speed. If there is at least one PG such that the dirty ratio beyond the high threshold, full speed mode is entered; If there is no PG such that dirty ratio beyond the low threshold, idle mode is entered; In other cases, slow speed mode is entered.

Signed-off-by: Mingxin Liu <mingxinliu@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Suggested-by: Nick Fisk <nick@fisk.me.uk>
Tested-by: Kefu Chai <kchai@redhat.com>
2015-06-23 15:15:47 +08:00
Samuel Just
1dce70efde Merge pull request #4290 from XinzeChi/wip-filestore-lat
osd: dout more log info to track io request

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-06-22 16:19:40 -07:00
Josh Durgin
cbd172b64e Merge pull request #5049 from ceph/wip-librbd-reduce-tests
librbd: reduce unit test execution time

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-22 15:27:45 -07:00
Samuel Just
f4391a905e Merge pull request #3973 from XinzeChi/wip-scrub-pending
osd: check pending or active scrub before sched_scrub

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-06-22 15:17:46 -07:00
David Zafman
2bc0fc84c5 Merge pull request #4847 from ceph/wip-11661
osd: Improve feature bit handling and remove ancient checking including CHUNKY_SCRUB

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-06-22 14:32:56 -07:00
Jason Dillaman
d261641e68 tests: reduce duplicate librbd unit test case coverage
The test run for RBD_FEATURES=13 is fully covered by
RBD_FEATURES=45 and the pre deep-flatten cases are covered
by RBD_FEATURES=0 and 1.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-06-22 17:26:15 -04:00
Jason Dillaman
7354d25f56 lockdep: do not automatically collect all backtraces
It is expensive to collect backtraces every time a lock is
checked in order to provide cycle backtraces.  The backtraces
can be forced on for specific locks or globally via the new
config option "lockdep_force_backtrace".

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-06-22 17:25:45 -04:00
Yehuda Sadeh
488833e977 Merge pull request #5041 from oritwas/wip-12095
rgw: force content_type for swift bucket stats request

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-22 13:47:21 -07:00
Jason Dillaman
e2cae05b3b tests: move librbd valgrind test to teuthology
This test can take up to 20 minutes to execute, which is an order of
magnitude longer than other unit tests.  This is slowing down the
build bots.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-06-22 14:39:01 -04:00
Orit Wasserman
da259e4da1 rgw: force content_type for swift bucket stats request
Fixes: 12095

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-06-22 13:51:49 +02:00
David Zafman
0b2bab460c ceph_osd: Add required feature bits related to this branch to osd_required mask
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 17:00:03 -07:00
David Zafman
949b148dba osd: CEPH_FEATURE_INDEP_PG_MAP feature now required
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 17:00:03 -07:00
David Zafman
c982e553c6 osd: CEPH_FEATURE_OSD_PACKED_RECOVERY feature now required
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 17:00:03 -07:00
David Zafman
77b09ed442 osd: CEPH_FEATURE_RECOVERY_RESERVATION feature now required
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 17:00:03 -07:00
David Zafman
5405e46a4f osd: CEPH_FEATURE_BACKFILL_RESERVATION feature now required
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 17:00:03 -07:00
David Zafman
7a10a7e196 osd: CEPH_FEATURE_CHUNKY_SCRUB feature now required
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask

Fixes: #11661

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 17:00:03 -07:00
David Zafman
626360aab0 msg, ceph_osd: Support feature bits for all message type's local connection
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 17:00:03 -07:00
David Zafman
de041241ad osd: Add tracking of acting_features and upacting_features
Use most appropriate feature intersection depending on context

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 14:09:09 -07:00
David Zafman
6d28cb9465 osd: Fix peer_features to include self
This should have no practical effect unless we could have
features getting turned off in a later release, since we
can assume any features being checked for are supported locally.

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-19 11:52:03 -07:00
Josh Durgin
d3f34d4c01 Merge pull request #5019 from zhouyuan/qemu_git_url
qa: Use public qemu repo

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-19 08:23:35 -07:00
Josh Durgin
3203efd1fc Merge pull request #4848 from leseb/doc-openstack-kilo
doc: update openstack and rgw keystone

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-19 07:14:05 -07:00
Loic Dachary
160201f2c9 Merge pull request #5012 from Arshanes/master
doc: Fixed the picture on page http://ceph.com/docs/master/cephfs/

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-19 15:54:27 +02:00
Valentin
a1e3108628 doc: Fixed the picture on page http://ceph.com/docs/master/cephfs/
Fixes: #9174

Signed-off-by Valentin Thomas <valentin.arshanes.thomas@gmail.com>
2015-06-19 13:37:56 +02:00
branto1
02ef5cf9b3 Merge pull request #4918 from SUSE/wip_ceph_spec_directories_not_owned_by_a_package
ceph.spec.in: fix:Add missing directories breaking suse rpm build

Reviewed-by: Boris Ranto <branto@redhat.com>
2015-06-19 11:54:29 +02:00
Owen Synge
f1ff3e4dcb ceph.spec.in: fix:Add missing directories breaking build
SUSE builds on OBS are failing with the missing dir entries:

    /usr/share/ceph
    /usr/lib/ceph

On suse these correspond to:

    %dir %{_datarootdir}/ceph/
    %dir %{_libexecdir}/ceph/

Signed-off-by: Owen Synge <osynge@suse.com>
2015-06-19 11:22:19 +02:00
Yan, Zheng
902385ce38 Merge pull request #4969 from ceph/wip-frag-asok
mds: add dirfrag split/merge asok commands
2015-06-19 15:23:13 +08:00
Josh Durgin
a2ef5e431a Merge pull request #5025 from majianpeng/librbd-remove-iohint
librbd: If objectmap tell object exist, don't send alloc_hint w/ write command

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-19 00:03:26 -07:00
Jianpeng Ma
449948edb7 librbd: If objectmap tell object exist, don't send alloc_hint w/ write command.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-06-19 14:50:26 +08:00
Kefu Chai
edd3542df1 Merge pull request #4929 from wonzhq/tracked-op
common: tracked op fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-06-19 09:35:31 +08:00
Kefu Chai
ee4df07874 Merge pull request #4249 from wonzhq/rmattr
osd: return with ENOENT if object doesn't exist during rmattr

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-06-19 09:31:52 +08:00
Sage Weil
e5f3a23de1 Merge pull request #5002 from SUSE/wip_fixes_to_rcceph
Fixes to rcceph script

Reviewed-by: Sage Weil <sage@redhat.com>
2015-06-18 16:45:35 -07:00
Josh Durgin
6a15c03092 Merge pull request #4983 from yuyuyu101/wip-setallochint-option
librbd: Add option to allow disabling issuing alloc hint

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-18 15:00:28 -07:00
David Zafman
fd610f2bc0 Merge pull request #4993 from ceph/wip-12064
mon: only send MMonMetadata to peer mons that support it

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-06-18 14:33:42 -07:00
Loic Dachary
a5d670a35c Merge pull request #5005 from maxime1992/master
doc: Document include/str_list.h

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 20:09:34 +02:00
Maxime ROBERT
b4e83f440d doc: Document include/str_list.h
Fixes: #12050.
Signed-off-by: Claire MASSOT <claire.massot93@gmail.com>
Signed-off-by: Jordan DORNE <jordan.dorne@gmail.com>
Signed-off-by: Kévin CARADANT <kevin.caradant@gmail.com>
Signed-off-by: Gabriel SENTUCQ <perso@kazhord.fr>
Signed-off-by: Maxime ROBERT <maxime.robert1992@gmail.com>
2015-06-18 19:32:19 +02:00
Loic Dachary
8e08d6cc64 Merge pull request #5017 from JordanDorne/master
doc: Replace requries with requires in python API doc

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 18:09:29 +02:00
Yuan Zhou
4731c1e355 qa: Use public qemu repo
This would allow some external tests outside of sepia lab

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-06-19 00:07:39 +08:00
JordanDorne
350139b3a7 doc: Replace requries with requires in python API doc
Fixes: #12076
Signed-off-by: Jordan DORNE <jordan.dorne@gmail.com>
2015-06-18 17:39:40 +02:00
Loic Dachary
5277861153 Merge pull request #4989 from ltoto2/master
doc: Adding a link to documentation on admin socket

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:36:33 +02:00
Thomas Laumondais
0c4555d1f4 doc: Adding a link to documentation on admin socket
Fixes: #11845

Signed-off-by: Thomas Laumondais <thomas.laumondais@gmail.com>
2015-06-18 17:23:40 +02:00
Owen Synge
dfda3ff874 Bug fix to ceph systemV compatability script.
Was failing with more than one OSD / MON deamon on a single node.
Fixes suse bugzilla #927862

Signed-off-by: Owen Synge <osynge@suse.com>
2015-06-18 17:15:22 +02:00
Loic Dachary
67343f614f Merge pull request #5011 from robin974/master
doc: Fixes a missing dot

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:14:41 +02:00
Loic Dachary
cb49329c42 Merge pull request #5006 from Claire1293/master
doc: dev/differences-from-posix

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:12:08 +02:00
Loic Dachary
6c93465ec1 Merge pull request #4987 from Aeryax/master
doc: Replaced "disk or drive" by "disk" in ceph-disk.rs

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:10:18 +02:00