]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agomds: we should wait messenger when MDSDaemon suicide 6996/head
Wei Feng [Mon, 21 Dec 2015 06:35:54 +0000 (01:35 -0500)]
mds: we should wait messenger when MDSDaemon suicide

Signed-off-by: Wei Feng <feng.wei@h3c.com>
9 years agoMerge pull request #6766 from xiexingguo/xxg-wip-cleanup
Sage Weil [Sat, 19 Dec 2015 19:02:02 +0000 (14:02 -0500)]
Merge pull request #6766 from xiexingguo/xxg-wip-cleanup

osd: fix wrongly placed assert and some cleanups

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6708 from xiaoxichen/shutdown_when_flipping
Sage Weil [Sat, 19 Dec 2015 19:01:31 +0000 (14:01 -0500)]
Merge pull request #6708 from xiaoxichen/shutdown_when_flipping

osd: shut down if we flap too many times in a short period

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5782 from ceph/wip-cxx11time
Sage Weil [Sat, 19 Dec 2015 19:00:37 +0000 (14:00 -0500)]
Merge pull request #5782 from ceph/wip-cxx11time

common: new timekeeping common code, and Objecter conversion

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6796 from dx9/wip-12406-sys_siglist
Sage Weil [Sat, 19 Dec 2015 18:59:55 +0000 (13:59 -0500)]
Merge pull request #6796 from dx9/wip-12406-sys_siglist

common: signal_handler: added support for using reentrant strsignal() implementations vs. sys_siglist[]

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6814 from stiopaa1/rem_inc
Sage Weil [Sat, 19 Dec 2015 18:59:27 +0000 (13:59 -0500)]
Merge pull request #6814 from stiopaa1/rem_inc

msg: removed unneeded includes from Dispatcher

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6881 from wido/mon-codestyle-fix
Sage Weil [Sat, 19 Dec 2015 18:58:12 +0000 (13:58 -0500)]
Merge pull request #6881 from wido/mon-codestyle-fix

mon: fix coding-style on PG related Monitor files

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6921 from liewegas/wip-kv-log
Sage Weil [Sat, 19 Dec 2015 18:57:34 +0000 (13:57 -0500)]
Merge pull request #6921 from liewegas/wip-kv-log

osd,mon: log leveldb and rocksdb to ceph log

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6950 from mslovy/wip-optimaze-map
Sage Weil [Sat, 19 Dec 2015 18:57:02 +0000 (13:57 -0500)]
Merge pull request #6950 from mslovy/wip-optimaze-map

osd: misc optimization for map utilization

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6963 from liewegas/wip-memstore
Sage Weil [Sat, 19 Dec 2015 18:56:32 +0000 (13:56 -0500)]
Merge pull request #6963 from liewegas/wip-memstore

osd: memstore: fix two bugs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #6982 from dillaman/wip-librbd-valgrind
Josh Durgin [Fri, 18 Dec 2015 23:19:58 +0000 (15:19 -0800)]
Merge pull request #6982 from dillaman/wip-librbd-valgrind

librbd: uninitialized state in snap remove state machine

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: uninitialized state in snap remove state machine 6982/head
Jason Dillaman [Fri, 18 Dec 2015 21:40:35 +0000 (16:40 -0500)]
librbd: uninitialized state in snap remove state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6978 from trociny/fix-rbd-init-order
Jason Dillaman [Fri, 18 Dec 2015 20:42:24 +0000 (15:42 -0500)]
Merge pull request #6978 from trociny/fix-rbd-init-order

rbd: fix static initialization ordering issues

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agotime: Update OSDC for C++11 Time 5782/head
Adam C. Emerson [Mon, 14 Sep 2015 16:19:58 +0000 (12:19 -0400)]
time: Update OSDC for C++11 Time

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
9 years agoosdc: Whitespace
Adam C. Emerson [Mon, 14 Sep 2015 16:19:50 +0000 (12:19 -0400)]
osdc: Whitespace

Since I'm making a pervasive change anyway, knock off end-of-line spaces
and wrap overly long lines.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
9 years agoperfcounters: Allow C++11 time increment/decrement
Adam C. Emerson [Mon, 14 Sep 2015 16:19:35 +0000 (12:19 -0400)]
perfcounters: Allow C++11 time increment/decrement

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
9 years agotimer: Another timer using new time/lock standards
Adam C. Emerson [Mon, 14 Sep 2015 16:19:23 +0000 (12:19 -0400)]
timer: Another timer using new time/lock standards

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
9 years agotime: Overload for std:chrono in Cond::TimedWait
Adam C. Emerson [Mon, 14 Sep 2015 16:19:13 +0000 (12:19 -0400)]
time: Overload for std:chrono in Cond::TimedWait

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
9 years agotime: Add basic support for std::chrono based time
Adam C. Emerson [Mon, 14 Sep 2015 16:18:57 +0000 (12:18 -0400)]
time: Add basic support for std::chrono based time

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
9 years agoMerge pull request #6701 from XinzeChi/wip-batch-peek-journal
Sage Weil [Fri, 18 Dec 2015 20:09:21 +0000 (15:09 -0500)]
Merge pull request #6701 from XinzeChi/wip-batch-peek-journal

osd: FileJournal: support batch peak and pop from writeq

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6804 from ceph/putting-the-fail-in-assertion-failed
Sage Weil [Fri, 18 Dec 2015 20:08:22 +0000 (15:08 -0500)]
Merge pull request #6804 from ceph/putting-the-fail-in-assertion-failed

common: assert: abort() rather than throw

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6900 from liewegas/wip-13988
Sage Weil [Fri, 18 Dec 2015 20:07:49 +0000 (15:07 -0500)]
Merge pull request #6900 from liewegas/wip-13988

mon: fix reuse of osd ids (clear osd info on osd deletion)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6902 from XinzeChi/wip-pg_stat_t-encoding
Sage Weil [Fri, 18 Dec 2015 20:07:14 +0000 (15:07 -0500)]
Merge pull request #6902 from XinzeChi/wip-pg_stat_t-encoding

osd: utime_t, eversion_t, osd_stat_sum_t encoding optimization

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6909 from mslovy/wip-shared-cache
Sage Weil [Fri, 18 Dec 2015 20:06:14 +0000 (15:06 -0500)]
Merge pull request #6909 from mslovy/wip-shared-cache

common: improve shared_cache and simple_cache efficiency with hash table

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agorbd: fix "static initialization order fiasco" 6978/head
Mykola Golub [Fri, 18 Dec 2015 15:10:33 +0000 (17:10 +0200)]
rbd: fix "static initialization order fiasco"

The order in which static objects in different compilation units are
initialized is undefined. Use static functions as a workaround.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #6968 from xiexingguo/xxg-wip-14118
Josh Durgin [Fri, 18 Dec 2015 17:00:45 +0000 (09:00 -0800)]
Merge pull request #6968 from xiexingguo/xxg-wip-14118

librbd: exit if parent's snap is gone during clone

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: exit if parent snap is gone during clone 6968/head
xiexingguo [Fri, 18 Dec 2015 10:37:06 +0000 (18:37 +0800)]
librbd: exit if parent snap is gone during clone

Fixes: #14118
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #6914 from x11562/x11562
Jason Dillaman [Fri, 18 Dec 2015 14:14:11 +0000 (09:14 -0500)]
Merge pull request #6914 from x11562/x11562

rbd: additional validation for striping parameters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6958 from xiexingguo/patch-1
Jason Dillaman [Fri, 18 Dec 2015 14:06:03 +0000 (09:06 -0500)]
Merge pull request #6958 from xiexingguo/patch-1

librbd: return error if we fail to delete object_map head object

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6965 from kylinstorage/wip-rbd-default-order
Jason Dillaman [Fri, 18 Dec 2015 14:03:10 +0000 (09:03 -0500)]
Merge pull request #6965 from kylinstorage/wip-rbd-default-order

rbd: use default order from configuration when not specified

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6928 from HeyoQiang/heyongqiang1215
Loic Dachary [Fri, 18 Dec 2015 08:25:30 +0000 (09:25 +0100)]
Merge pull request #6928 from HeyoQiang/heyongqiang1215

Monitor: modify a dout level in OSDMonitor.cc

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomon: modify the level of a log about OSD's condition in OSDMonitor.cc 6928/head
Yongqiang He [Thu, 17 Dec 2015 18:57:07 +0000 (13:57 -0500)]
mon: modify the level of a log about OSD's condition in OSDMonitor.cc

    In actual use, we replace old hard disk by new or do performance testing regularly and need to down OSDs manually, but there are some OSDs can not be marked down, and there is no obvious information.
The log { dout(5) << "can_mark_down current up_ratio " << up_ratio << " < min "<< g_conf->mon_osd_min_up_ratio<< ", will not mark osd." << i << "down" << dendl ; }" can explain  why it happened.
   In addition, we can change the value of mon_osd_min_up_ratio more reasonable in our operating environment.so it is necessary to adjust the log's level lower.

For example:
   There are 6 OSDs , wen have marked down 5 of them and the mon_osd_min_up_ratio = 0.3.
   In this situation, when we mark the last OSD to down, it will show "ceph-osd stop/waiting", but in actually, the OSD is still up.

Signed-off-by: Yongqiang He <he.yongqiang@h3c.com>
9 years agorbd: use default order value from g_conf 6965/head
Yunchuan Wen [Fri, 18 Dec 2015 07:16:20 +0000 (15:16 +0800)]
rbd: use default order value from g_conf

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
9 years agoMerge pull request #6847 from oritwas/wip-fix-warning
Sage Weil [Thu, 17 Dec 2015 21:41:06 +0000 (16:41 -0500)]
Merge pull request #6847 from oritwas/wip-fix-warning

build: fix a few warnings

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6924 from stiopaa1/removefriend
Sage Weil [Thu, 17 Dec 2015 21:39:51 +0000 (16:39 -0500)]
Merge pull request #6924 from stiopaa1/removefriend

msg/simple: remove unneeded friend declarations

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6405 from jcsp/wip-9963
Sage Weil [Thu, 17 Dec 2015 20:38:17 +0000 (15:38 -0500)]
Merge pull request #6405 from jcsp/wip-9963

librados: new style (sharded) object listing

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoos/MemStore: fix use-after-free on iterator 6963/head
Sage Weil [Thu, 17 Dec 2015 15:29:31 +0000 (10:29 -0500)]
os/MemStore: fix use-after-free on iterator

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomemstore: fix loop in PageSetObject::clone()
Casey Bodley [Thu, 17 Dec 2015 15:15:50 +0000 (10:15 -0500)]
memstore: fix loop in PageSetObject::clone()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #6945 from jcsp/wip-blacklist-clear
Kefu Chai [Thu, 17 Dec 2015 14:17:26 +0000 (22:17 +0800)]
Merge pull request #6945 from jcsp/wip-blacklist-clear

mon: add `osd blacklist clear`

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
9 years agoMerge pull request #6959 from oritwas/wip-fix-run-cmake-check
Loic Dachary [Thu, 17 Dec 2015 14:04:38 +0000 (15:04 +0100)]
Merge pull request #6959 from oritwas/wip-fix-run-cmake-check

cmake: no need to run configure from run-cmake-check.sh

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6564 from branch-predictor/bp-fix-mon-kv-store
Sage Weil [Thu, 17 Dec 2015 13:59:33 +0000 (08:59 -0500)]
Merge pull request #6564 from branch-predictor/bp-fix-mon-kv-store

mon: fixes related to mondbstore->get() changes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6202 from cxwshawn/wip-ful-fix
Sage Weil [Thu, 17 Dec 2015 13:58:53 +0000 (08:58 -0500)]
Merge pull request #6202 from cxwshawn/wip-ful-fix

rados: implement rm --force option to force remove when full

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agorbd: fix "was hidden" warning 6847/head
Orit Wasserman [Mon, 7 Dec 2015 14:07:15 +0000 (15:07 +0100)]
rbd: fix "was hidden" warning

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agonewstore: fix was hidden warning
Orit Wasserman [Mon, 7 Dec 2015 14:05:46 +0000 (15:05 +0100)]
newstore: fix was hidden warning

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: use unsigned long to print to log
Orit Wasserman [Mon, 7 Dec 2015 10:36:29 +0000 (11:36 +0100)]
rgw: use unsigned long to print to log

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #6956 from somnathr/wip-conditional-drive-metadata-collection
Sage Weil [Thu, 17 Dec 2015 13:35:52 +0000 (08:35 -0500)]
Merge pull request #6956 from somnathr/wip-conditional-drive-metadata-collection

osd: FileStore: conditional collection of drive metadata

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6929 from clever215/mon-log
Joao Eduardo Luis [Thu, 17 Dec 2015 13:27:41 +0000 (13:27 +0000)]
Merge pull request #6929 from clever215/mon-log

mon: degrade a log message to level 2

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
9 years agocmake: no need to run configure from run-cmake-check.sh 6959/head
Orit Wasserman [Thu, 17 Dec 2015 13:03:15 +0000 (14:03 +0100)]
cmake: no need to run configure from run-cmake-check.sh

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #6864 from scienceluo/wip-cleanup
Loic Dachary [Thu, 17 Dec 2015 06:52:19 +0000 (07:52 +0100)]
Merge pull request #6864 from scienceluo/wip-cleanup

osdmap: remove unused local variables

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agolibrbd: return error if we fail to delete object_map head object 6958/head
xiexingguo [Thu, 17 Dec 2015 06:13:01 +0000 (14:13 +0800)]
librbd: return error if we fail to delete object_map head object

Fixes: #14098
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoosdmap: remove unused local variables 6864/head
scienceluo [Tue, 8 Dec 2015 12:40:53 +0000 (20:40 +0800)]
osdmap: remove unused local variables

Signed-off-by: luo kexue <luo.kexue@zte.com.cn>
9 years agoMerge pull request #6904 from wuxiangwei/wip-wxw-rbdadminsocket
Josh Durgin [Thu, 17 Dec 2015 01:21:19 +0000 (17:21 -0800)]
Merge pull request #6904 from wuxiangwei/wip-wxw-rbdadminsocket

rbd: add pool name to disambiguate rbd admin socket commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6942 from x11562/stripe
Josh Durgin [Thu, 17 Dec 2015 01:18:08 +0000 (17:18 -0800)]
Merge pull request #6942 from x11562/stripe

rbd: striping parameters should support 64bit integers

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoFileStore: Conditional collection of drive metadata 6956/head
Somnath Roy [Fri, 20 Nov 2015 03:06:17 +0000 (22:06 -0500)]
FileStore: Conditional collection of drive metadata

get_device_by_uuid->blkid_find_dev_with_tag() call from
FileStore::collect_metadata() is hanging for ~3min before returning
EINVAL in case the drive is visible but reserved for some other host.
This is probably is bug within blkid* calls. fdisk/lsblk call is coming
out immediately saying device is inaccessible. This call is now
protected by config option filestore_collect_device_partition_information

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
9 years agodoc/release-notes: v10.0.1
Sage Weil [Wed, 16 Dec 2015 18:03:45 +0000 (13:03 -0500)]
doc/release-notes: v10.0.1

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Wed, 16 Dec 2015 15:48:15 +0000 (10:48 -0500)]
Merge remote-tracking branch 'gh/jewel'

9 years agoMerge pull request #6932 from aiicore/test_fix
Sage Weil [Wed, 16 Dec 2015 13:46:50 +0000 (08:46 -0500)]
Merge pull request #6932 from aiicore/test_fix

tests: allow object corpus readable test to skip specific incompat instances

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agomon: add `osd blacklist clear` 6945/head
John Spray [Tue, 15 Dec 2015 17:19:30 +0000 (17:19 +0000)]
mon: add `osd blacklist clear`

This is just like 'blacklist rm' except it removes
everything.  Useful if you've got a whole bunch of
things in your blacklist and you don't want to wait
for N "blacklist rm" commands to run.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6941 from jcsp/wip-14029
Yan, Zheng [Wed, 16 Dec 2015 11:55:40 +0000 (19:55 +0800)]
Merge pull request #6941 from jcsp/wip-14029

mds: fix setvxattr (broken in a536d114)

9 years agoosd: use unordered_map for repop_map 6950/head
Ning Yao [Wed, 16 Dec 2015 01:36:54 +0000 (09:36 +0800)]
osd: use unordered_map for repop_map
With a prediction of expected per pg maximum ops to initialize the number of hash bucket

Signed-off-by: Ning Yao <zay11022@gmail.com>
9 years agorbd: process crushed, rbd creating with striping parameters 6942/head
na xie [Tue, 15 Dec 2015 13:28:34 +0000 (21:28 +0800)]
rbd: process crushed, rbd creating with striping parameters

Signed-off-by: Na Xie <xie.na@h3c.com>
9 years agoMerge pull request #6948 from ceph/revert-6939-bp-remove-bz2dev
David Zafman [Wed, 16 Dec 2015 01:47:01 +0000 (17:47 -0800)]
Merge pull request #6948 from ceph/revert-6939-bp-remove-bz2dev

Revert "makefiles: remove bz2-dev from dependencies"

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoRevert "makefiles: remove bz2-dev from dependencies" 6948/head
Samuel Just [Tue, 15 Dec 2015 23:12:19 +0000 (15:12 -0800)]
Revert "makefiles: remove bz2-dev from dependencies"

9 years agoosd: combine map.count() and map.find() into one searching operation
Ning Yao [Tue, 15 Dec 2015 15:38:53 +0000 (23:38 +0800)]
osd: combine map.count() and map.find() into one searching operation

Signed-off-by: Ning Yao <zay11022@gmail.com>
9 years agoMerge pull request #6692 from SUSE/wip-13860
Ken Dreyer [Tue, 15 Dec 2015 15:27:58 +0000 (08:27 -0700)]
Merge pull request #6692 from SUSE/wip-13860

ceph.spec.in: add BuildRequires: systemd

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #6939 from branch-predictor/bp-remove-bz2dev
Kefu Chai [Tue, 15 Dec 2015 14:43:27 +0000 (22:43 +0800)]
Merge pull request #6939 from branch-predictor/bp-remove-bz2dev

makefiles: remove bz2-dev from dependencies

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6943 from smithfarm/wip-doc-dev-typo
Loic Dachary [Tue, 15 Dec 2015 14:33:21 +0000 (15:33 +0100)]
Merge pull request #6943 from smithfarm/wip-doc-dev-typo

doc: fix typo in developer guide

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc: fix typo in developer guide 6943/head
Nathan Cutler [Tue, 15 Dec 2015 14:25:45 +0000 (15:25 +0100)]
doc: fix typo in developer guide

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agorbd: specify pool name for rbd admin socket commands 6904/head
wuxiangwei [Tue, 15 Dec 2015 13:28:36 +0000 (08:28 -0500)]
rbd: specify pool name for rbd admin socket commands

Add the pool name for a given rbd imgae when executing rbd admin socket
commands in case there are more than one images with the same name in
different pools.

Signed-off-by: Xiangwei Wu wuxiangwei@h3c.com
9 years agomds: fix setvxattr (broken in a536d114) 6941/head
John Spray [Tue, 15 Dec 2015 13:20:03 +0000 (13:20 +0000)]
mds: fix setvxattr (broken in a536d114)

There was an accidental move of this line
when adding the MAY_SET_POOL check, which
was causing setxattr to proceed before
it had the right locks, and thereby apply
its checks on bad data (symptom was failing
to detect that the file had data written to it).

Fixes: #14029
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6821 from H3C/wip-cephfs-f11322
John Spray [Tue, 15 Dec 2015 13:15:43 +0000 (13:15 +0000)]
Merge pull request #6821 from H3C/wip-cephfs-f11322

ceph-fuse: add process to ceph-fuse --help

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agomakefiles: remove bz2-dev from dependencies 6939/head
Piotr Dałek [Tue, 15 Dec 2015 13:01:51 +0000 (14:01 +0100)]
makefiles: remove bz2-dev from dependencies

The only thing that uses bzip2-devel is RocksDB, and it's optional, not
requirement. Drop the bzip2-devel/libbz2-dev dependency entirely, and
let RocksDB use it only if it is already present.

Fixes: #13981
Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agoceph-fuse: add process to ceph-fuse --help 6821/head
Wei Feng [Wed, 9 Dec 2015 08:58:32 +0000 (03:58 -0500)]
ceph-fuse: add process to ceph-fuse --help

Signed-off-by: Wei Feng <feng.wei@h3c.com>
9 years agoMerge pull request #6934 from smithfarm/wip-14070
Loic Dachary [Tue, 15 Dec 2015 12:24:47 +0000 (13:24 +0100)]
Merge pull request #6934 from smithfarm/wip-14070

doc: Update list of admin/build-doc dependencies

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc: Update list of admin/build-doc dependencies 6934/head
Nathan Cutler [Tue, 15 Dec 2015 11:41:29 +0000 (12:41 +0100)]
doc: Update list of admin/build-doc dependencies

http://tracker.ceph.com/issues/14070 Fixes: #14070

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agotest/encoding/readable.sh: add non-whole type skip 6932/head
Igor Podoski [Wed, 2 Dec 2015 06:25:00 +0000 (07:25 +0100)]
test/encoding/readable.sh: add non-whole type skip

With this modification there will be possibility to skip only one/few
object/s of particular type, not whole type as it was before.

Before:
- To skip whole TYPE create file named TYPE in forward_incompat
directory.

Now:
- To skip whole TYPE create file or empty directory named TYPE in
forward_incompat directory.
- To skip one/few object/s of TYPE create directory named TYPE in
forward_incompat and put into symbolic links to objects that
you wantt to skip.

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
9 years agoMerge pull request #6910 from dachary/wip-dev-guide-ceph-qa-suite
Loic Dachary [Tue, 15 Dec 2015 10:21:51 +0000 (11:21 +0100)]
Merge pull request #6910 from dachary/wip-dev-guide-ceph-qa-suite

doc: dev: introduction to tests

Reviewed-by: Nathan Cutler <ncutler@suse.com>
9 years agocheck for striping parameters 6914/head
na xie [Tue, 15 Dec 2015 01:41:49 +0000 (09:41 +0800)]
check for striping parameters

stripe_unit is same to object size or stripe_count is equal to 1,the remainder for it is misleading.

Signed-off-by: Na Xie <xie.na@h3c.com>
9 years agoMerge pull request #6927 from tchaikov/wip-fix-ftbfs
Loic Dachary [Tue, 15 Dec 2015 07:52:51 +0000 (08:52 +0100)]
Merge pull request #6927 from tchaikov/wip-fix-ftbfs

rgw: fix the build failure

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agorgw: remove unused variable 6927/head
Kefu Chai [Tue, 15 Dec 2015 06:46:14 +0000 (14:46 +0800)]
rgw: remove unused variable

to fix the compiler warning of

 rgw/rgw_formats.cc: In member function 'virtual void
 RGWFormatter_Plain::dump_format_va(const char*, const char*, bool, const
 char*, __va_list_tag*)':
 rgw/rgw_formats.cc:143:15: warning: unused variable 'format'
 [-Wunused-variable]
    const char *format;

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agorgw: fix the build failure
Kefu Chai [Tue, 15 Dec 2015 04:28:13 +0000 (12:28 +0800)]
rgw: fix the build failure

* s/bucket_name_str/bucket_name/
* the member variable name of `req_state` was changed to `bucket_name`
  in f7ca00a. but some commits was still using the old name before the
  commit got merged.
* fixes for the tenant related change
* also fixes a typo

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6859 from dillaman/wip-librbd-async-refresh
Josh Durgin [Tue, 15 Dec 2015 04:14:13 +0000 (20:14 -0800)]
Merge pull request #6859 from dillaman/wip-librbd-async-refresh

librbd: image refresh code paths converted to async state machines

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agokv/LevelDBStore: log leveldb to ceph log 6921/head
Sage Weil [Tue, 15 Dec 2015 02:02:52 +0000 (21:02 -0500)]
kv/LevelDBStore: log leveldb to ceph log

This greatly eases debugging, and avoids the unbounded growth of
the leveldb LOG file.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agokv/RocksDBStore: log to ceph log
Sage Weil [Mon, 16 Nov 2015 20:43:09 +0000 (15:43 -0500)]
kv/RocksDBStore: log to ceph log

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agolibrbd: refresh object map after rollback 6859/head
Jason Dillaman [Mon, 14 Dec 2015 15:31:54 +0000 (10:31 -0500)]
librbd: refresh object map after rollback

An image refresh will no longer trigger an automatic object map
reload, therefore explicitly reload the object map after rollback.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: refresh image asynchronously from watch/notify path
Jason Dillaman [Mon, 14 Dec 2015 14:50:26 +0000 (09:50 -0500)]
librbd: refresh image asynchronously from watch/notify path

The AIO path already ensures asynchronous image refreshes, but the
watch/notify path for maintenance ops was still using the sync refresh
path.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: the journal state machine is now asynchronous
Jason Dillaman [Fri, 11 Dec 2015 20:09:38 +0000 (15:09 -0500)]
librbd: the journal state machine is now asynchronous

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: adjust test cases to refactored librbd
Jason Dillaman [Wed, 9 Dec 2015 04:14:49 +0000 (23:14 -0500)]
tests: adjust test cases to refactored librbd

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: all object map methods are now async
Jason Dillaman [Fri, 11 Dec 2015 04:57:37 +0000 (23:57 -0500)]
librbd: all object map methods are now async

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: IO ops will now asynchronously refresh the image if needed
Jason Dillaman [Thu, 10 Dec 2015 23:39:28 +0000 (18:39 -0500)]
librbd: IO ops will now asynchronously refresh the image if needed

This avoids blocking the AIO path with the previous synchronous
refresh path.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoWorkQueue: PointerWQ now supports out-of-band processing
Jason Dillaman [Thu, 10 Dec 2015 23:38:34 +0000 (18:38 -0500)]
WorkQueue: PointerWQ now supports out-of-band processing

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: flush all in-flight IO on block write and shut down
Jason Dillaman [Thu, 10 Dec 2015 20:59:43 +0000 (15:59 -0500)]
librbd: flush all in-flight IO on block write and shut down

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: add shut down support to the AIO work queue
Jason Dillaman [Wed, 9 Dec 2015 19:51:18 +0000 (14:51 -0500)]
librbd: add shut down support to the AIO work queue

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: integrate new async image state machines
Jason Dillaman [Wed, 9 Dec 2015 04:15:35 +0000 (23:15 -0500)]
librbd: integrate new async image state machines

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: ImageWatcher should release lock upon request
Jason Dillaman [Wed, 9 Dec 2015 04:07:52 +0000 (23:07 -0500)]
librbd: ImageWatcher should release lock upon request

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: implement image state tracker for open/close/refresh/etc
Jason Dillaman [Wed, 9 Dec 2015 04:07:02 +0000 (23:07 -0500)]
librbd: implement image state tracker for open/close/refresh/etc

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: rename ImageRefresh to ImageState
Jason Dillaman [Tue, 8 Dec 2015 21:25:54 +0000 (16:25 -0500)]
librbd: rename ImageRefresh to ImageState

This class handles more than just refreshing the image from
disk.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: object map lifespan now controlled by state machines
Jason Dillaman [Tue, 8 Dec 2015 19:37:09 +0000 (14:37 -0500)]
librbd: object map lifespan now controlled by state machines

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: decouple ImageWatcher from exclusive lock management
Jason Dillaman [Tue, 8 Dec 2015 18:48:27 +0000 (13:48 -0500)]
librbd: decouple ImageWatcher from exclusive lock management

Use new ExclusiveLock state machine to handle all the proper
transitions between lock states.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: separate image refresh into async state machines
Jason Dillaman [Thu, 12 Nov 2015 21:38:35 +0000 (16:38 -0500)]
librbd: separate image refresh into async state machines

Signed-off-by: Jason Dillaman <dillaman@redhat.com>