]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agodoc/release-notes: v9.1.0 6281/head
Loic Dachary [Thu, 15 Oct 2015 13:54:47 +0000 (15:54 +0200)]
doc/release-notes: v9.1.0

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6275 from dx9/wip-12406-prefixed-ints
Yan, Zheng [Thu, 15 Oct 2015 12:45:26 +0000 (20:45 +0800)]
Merge pull request #6275 from dx9/wip-12406-prefixed-ints

client: drop prefix from ints

9 years agoclient: drop prefix from int types 6275/head
John Coyle [Thu, 15 Oct 2015 04:15:54 +0000 (00:15 -0400)]
client: drop prefix from int types

Signed-off-by: John Coyle dx9err@gmail.com
9 years agoMerge pull request #6254 from jcsp/wip-cmake-tweaks
Kefu Chai [Wed, 14 Oct 2015 14:28:15 +0000 (22:28 +0800)]
Merge pull request #6254 from jcsp/wip-cmake-tweaks

cmake tweaks

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoCMake: add vstart convenience targets 6254/head
John Spray [Tue, 13 Oct 2015 19:38:58 +0000 (20:38 +0100)]
CMake: add vstart convenience targets

These are for developers like me, who want to
quickly build just the bits they need for
interactive vstart stuff, and don't wait for wait
for a full make.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoCMake: make mon and osd depend on EC plugins
John Spray [Tue, 13 Oct 2015 13:40:27 +0000 (14:40 +0100)]
CMake: make mon and osd depend on EC plugins

...because the services won't start if their
git version stamps don't match those of the
plugins.  This is for the benefit of developers,
so that we can do "make ceph-mon" and get a
vstart-able result.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6255 from jcsp/wip-vstart-uids
Yan, Zheng [Wed, 14 Oct 2015 13:15:11 +0000 (21:15 +0800)]
Merge pull request #6255 from jcsp/wip-vstart-uids

vstart: set cephfs root uid/gid to caller

9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Wed, 14 Oct 2015 13:05:33 +0000 (09:05 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoMerge pull request #6256 from YankunLi/patch-2
Orit Wasserman [Wed, 14 Oct 2015 10:11:12 +0000 (12:11 +0200)]
Merge pull request #6256 from YankunLi/patch-2

update radosgw-admin command

9 years agoupdate radosgw-admin command 6256/head
YankunLi [Wed, 14 Oct 2015 02:54:52 +0000 (10:54 +0800)]
update radosgw-admin command

the command "radosgw-admin caps remove" should be "radosgw-admin caps rm"
radosgw-admin:
commands
caps rm                    remove user capabilities

9 years agovstart: set cephfs root uid/gid to caller 6255/head
John Spray [Tue, 13 Oct 2015 13:41:39 +0000 (14:41 +0100)]
vstart: set cephfs root uid/gid to caller

So that when running cluster as unprivileged user,
can do a ceph-fuse mount and then access it without
going root.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6221 from athanatos/wip-13434
Sage Weil [Wed, 14 Oct 2015 01:28:25 +0000 (21:28 -0400)]
Merge pull request #6221 from athanatos/wip-13434

Wip 13434

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6217 from dillaman/wip-13380-infernalis
Samuel Just [Tue, 13 Oct 2015 22:31:14 +0000 (15:31 -0700)]
Merge pull request #6217 from dillaman/wip-13380-infernalis

cls: new force-promotion flag for class methods

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #6230 from liewegas/wip-crushtool-err
Samuel Just [Tue, 13 Oct 2015 22:30:24 +0000 (15:30 -0700)]
Merge pull request #6230 from liewegas/wip-crushtool-err

mon/OSDMonitor: put crushtool error in log

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #6235 from dzafman/wip-13462
Samuel Just [Tue, 13 Oct 2015 22:29:55 +0000 (15:29 -0700)]
Merge pull request #6235 from dzafman/wip-13462

osd: Correct the object_info_t::decode() version

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agodoc/infernalis: hate hate
Sage Weil [Tue, 13 Oct 2015 21:32:43 +0000 (17:32 -0400)]
doc/infernalis: hate hate

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: i hate rst
Sage Weil [Tue, 13 Oct 2015 21:18:36 +0000 (17:18 -0400)]
doc/release-notes: i hate rst

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Tue, 13 Oct 2015 20:57:47 +0000 (16:57 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agodoc/release-notes: final infernalis notes
Sage Weil [Tue, 13 Oct 2015 20:57:14 +0000 (16:57 -0400)]
doc/release-notes: final infernalis notes

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge branch 'infernalis' of jenkins.front.sepia.ceph.com:ceph/ceph into infernalis
Jenkins [Tue, 13 Oct 2015 20:57:16 +0000 (13:57 -0700)]
Merge branch 'infernalis' of jenkins.front.sepia.ceph.com:ceph/ceph into infernalis

9 years agodoc/release-notes: fix some attributions
Josh Durgin [Tue, 13 Oct 2015 19:33:22 +0000 (12:33 -0700)]
doc/release-notes: fix some attributions

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agodoc/release-notes: infernalis notable changes
Sage Weil [Tue, 13 Oct 2015 18:16:07 +0000 (14:16 -0400)]
doc/release-notes: infernalis notable changes

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6237 from ceph/wip-13458
Sage Weil [Tue, 13 Oct 2015 15:20:45 +0000 (11:20 -0400)]
Merge pull request #6237 from ceph/wip-13458

rgw: location constraints should return api name

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6241 from JevonQ/fix-cephfs-doc
Kefu Chai [Tue, 13 Oct 2015 13:51:31 +0000 (21:51 +0800)]
Merge pull request #6241 from JevonQ/fix-cephfs-doc

doc: remove toctree items under Create CephFS

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agodoc: remove toctree items under Create CephFS 6241/head
Jevon Qiao [Tue, 13 Oct 2015 07:10:35 +0000 (15:10 +0800)]
doc: remove toctree items under Create CephFS

The two toctree items under Create CephFS should be changed into hyper links.

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
9 years ago9.1.0 v9.1.0
Jenkins [Tue, 13 Oct 2015 12:56:36 +0000 (05:56 -0700)]
9.1.0

9 years agoMerge pull request #6245 from liewegas/wip-setuptools
Alfredo Deza [Tue, 13 Oct 2015 12:41:30 +0000 (08:41 -0400)]
Merge pull request #6245 from liewegas/wip-setuptools

debian/control: python-setuptools is a build dependency

Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agodebian/control: python-setuptools is a build dependency 6245/head
Sage Weil [Tue, 13 Oct 2015 12:37:40 +0000 (08:37 -0400)]
debian/control: python-setuptools is a build dependency

cd ./ceph-detect-init ; python setup.py build
Traceback (most recent call last):
  File "setup.py", line 23, in <module>
    from setuptools import setup
ImportError: No module named setuptools

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge branch 'infernalis'
Sage Weil [Tue, 13 Oct 2015 12:24:22 +0000 (08:24 -0400)]
Merge branch 'infernalis'

9 years agodoc/release-notes: 9.1.0
Sage Weil [Tue, 13 Oct 2015 12:24:11 +0000 (08:24 -0400)]
doc/release-notes: 9.1.0

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6180 from jcsp/wip-tell-sessions
John Spray [Tue, 13 Oct 2015 10:08:12 +0000 (11:08 +0100)]
Merge pull request #6180 from jcsp/wip-tell-sessions

New filtered MDS tell commands for sessions

Reviewed-by: Yan, Zheng <zyan@redhat.com>
9 years agoMerge pull request #6108 from ceph/wip-dang-cmake
Kefu Chai [Tue, 13 Oct 2015 03:26:38 +0000 (11:26 +0800)]
Merge pull request #6108 from ceph/wip-dang-cmake

More CMake package check fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoReplicatedPG::maybe_handle_cache_detail: always populate missing_oid 6221/head
Samuel Just [Tue, 13 Oct 2015 01:10:35 +0000 (18:10 -0700)]
ReplicatedPG::maybe_handle_cache_detail: always populate missing_oid

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoReplicatedPG::_rollback_to: handle block on full correctly
Samuel Just [Tue, 13 Oct 2015 01:09:58 +0000 (18:09 -0700)]
ReplicatedPG::_rollback_to: handle block on full correctly

If we fail to promote the clone due to a full cache tier, we need
to block writes on the head just as if we were waiting on the
promote.  Generally therefore, we block writes on head if we block
an op on a full cache tier.  Add a new blocked set to support this.

Fixes: 13434
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoosd: Correct the object_info_t::decode() version 6234/head 6235/head
David Zafman [Mon, 12 Oct 2015 20:24:31 +0000 (13:24 -0700)]
osd: Correct the object_info_t::decode() version

Caused by: 13b9dc70

Fixes: #13462
Backport: Hammer, Firefly

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agorgw: location constraints should return api name 6237/head
Yehuda Sadeh [Mon, 12 Oct 2015 18:55:40 +0000 (11:55 -0700)]
rgw: location constraints should return api name

Fixes: #13458
The S3 location constraints request should return the api name,
not the region name.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agomon/OSDMonitor: put crushtool error in log 6230/head
Sage Weil [Mon, 12 Oct 2015 14:33:41 +0000 (10:33 -0400)]
mon/OSDMonitor: put crushtool error in log

Putting it in *ss is useless for mkpool callers who don't return
an error string.  Log it to the mon log, too.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6204 from jcsp/wip-client-mark-down
Yan, Zheng [Mon, 12 Oct 2015 12:30:32 +0000 (20:30 +0800)]
Merge pull request #6204 from jcsp/wip-client-mark-down

client: don't mark_down on command reply

9 years agoMerge pull request #6226 from xiaoxichen/osd_misc
Kefu Chai [Mon, 12 Oct 2015 08:31:41 +0000 (16:31 +0800)]
Merge pull request #6226 from xiaoxichen/osd_misc

osd: fix debug message in osd::is_healthy

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoFix debug message in osd::is_healthy 6226/head
Xiaoxi Chen [Thu, 17 Sep 2015 05:45:34 +0000 (13:45 +0800)]
Fix debug message in osd::is_healthy

Display the actual vaule of osd_heartbeat_min_healthy_ratio instead
of 1/3 (default value).

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
9 years agoReplicatedPG: allow maybe_handle_cache to return status detailing what happened
Samuel Just [Fri, 9 Oct 2015 23:28:34 +0000 (16:28 -0700)]
ReplicatedPG: allow maybe_handle_cache to return status detailing what happened

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #5065 from wonzhq/optracker-histogram
Kefu Chai [Sat, 10 Oct 2015 01:15:27 +0000 (09:15 +0800)]
Merge pull request #5065 from wonzhq/optracker-histogram

common: OpTracker age histogram calculation is not correct

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6220 from dreamhost/wip-pybind-rados-omap-binary
Josh Durgin [Sat, 10 Oct 2015 00:02:17 +0000 (20:02 -0400)]
Merge pull request #6220 from dreamhost/wip-pybind-rados-omap-binary

pybind/rados: Fix binary omap values.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agopybind/rados, get_omap_vals: Fix pydoc type. 6220/head
Robin H. Johnson [Fri, 9 Oct 2015 22:58:06 +0000 (15:58 -0700)]
pybind/rados, get_omap_vals: Fix pydoc type.

pydoc type for filter_prefix did not match code.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agotest: pybind/test_rados: add binary data.
Robin H. Johnson [Fri, 9 Oct 2015 22:57:03 +0000 (15:57 -0700)]
test: pybind/test_rados: add binary data.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agopybind/rados: Fix binary omap values.
Robin H. Johnson [Fri, 9 Oct 2015 21:59:01 +0000 (14:59 -0700)]
pybind/rados: Fix binary omap values.

The prior code caused binary omap values to be discarded. This fixes
them to use the same model as the xattr iterator, and correctly return
binary data as python strings, eg:
'object_prefix': '\x15\x00\x00\x00rbd_data.449d2ae8944a'

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agoMerge pull request #6193 from athanatos/wip-13240
Samuel Just [Fri, 9 Oct 2015 23:16:27 +0000 (16:16 -0700)]
Merge pull request #6193 from athanatos/wip-13240

ReplicatedPG::maybe_handle_cache: do not promote before checking full

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6190 from SUSE/wip-drop-my-conf-opt
Sage Weil [Fri, 9 Oct 2015 20:34:25 +0000 (16:34 -0400)]
Merge pull request #6190 from SUSE/wip-drop-my-conf-opt

ceph.spec.in: drop MY_CONF_OPTS

Reviewed-by: Ken Dreyer, <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agorgw: fix wrong etag calculation during POST on S3 bucket.
Radoslaw Zarzynski [Mon, 21 Sep 2015 18:32:29 +0000 (20:32 +0200)]
rgw: fix wrong etag calculation during POST on S3 bucket.

Fixes: #11241
Backport: infernalis, hammer, firefly
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 742906ab5ee644d5932570bf95342697b673a498)

9 years agoMerge pull request #6183 from ceph/wip-fix-selinux-man-page
Sage Weil [Fri, 9 Oct 2015 20:33:48 +0000 (16:33 -0400)]
Merge pull request #6183 from ceph/wip-fix-selinux-man-page

Fix selinux man page

Reviewed-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6191 from SUSE/wip-concentrate-buildrequires
Sage Weil [Fri, 9 Oct 2015 20:33:14 +0000 (16:33 -0400)]
Merge pull request #6191 from SUSE/wip-concentrate-buildrequires

ceph.spec.in: move BuildRequires out of subpackages

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #6184 from dillaman/wip-13372-infernalis
Sage Weil [Fri, 9 Oct 2015 20:31:43 +0000 (16:31 -0400)]
Merge pull request #6184 from dillaman/wip-13372-infernalis

librbd: invalidate object map on error even w/o holding lock

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6030 from rzarzynski/wip-11241
Yehuda Sadeh [Fri, 9 Oct 2015 20:28:33 +0000 (13:28 -0700)]
Merge pull request #6030 from rzarzynski/wip-11241

rgw: fix wrong etag calculation during POST on S3 bucket.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoLibRBD: Adjust correct op latency scope
Haomai Wang [Tue, 22 Sep 2015 09:43:07 +0000 (17:43 +0800)]
LibRBD: Adjust correct op latency scope

Op latency need to cover from queuing to finishing op.

Signed-off-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Jason Dillaman <jdillaman@redhat.com>
9 years agolibrados_test_stub: prevent interleaving of operations
Jason Dillaman [Mon, 5 Oct 2015 17:34:50 +0000 (13:34 -0400)]
librados_test_stub: prevent interleaving of operations

It was possible for unrelated ops to interleave within a different
transaction for a given object.

Fixes: #13313
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agocls: new force-promotion flag for class methods 6217/head
Jason Dillaman [Fri, 9 Oct 2015 19:10:38 +0000 (15:10 -0400)]
cls: new force-promotion flag for class methods

Class methods that use the cls_get_request_origin should not be
proxied to a base tier -- otherwise the origin will reflect the
cache tier instead of the client.

Fixes: #13380
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6044 from ceph/wip-12958
Casey Bodley [Fri, 9 Oct 2015 16:32:51 +0000 (12:32 -0400)]
Merge pull request #6044 from ceph/wip-12958

rgw: orphan tool shouldn't clean up head objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: orphan tool shouldn't clean up head objects
Yehuda Sadeh [Tue, 22 Sep 2015 22:49:27 +0000 (15:49 -0700)]
rgw: orphan tool shouldn't clean up head objects

Fixes: #12958
Head objects are mutable, so removing them can race with object removal
and a later recreation, so we might end up cleaning them up when we don't
need to.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6187 from SUSE/wip-13317-infernalis
Kefu Chai [Fri, 9 Oct 2015 07:48:49 +0000 (15:48 +0800)]
Merge pull request #6187 from SUSE/wip-13317-infernalis

doc: remove mention of --lazy-remove from radosgw-admin manpage

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6211 from SUSE/wip-dead-bool
Kefu Chai [Fri, 9 Oct 2015 06:47:40 +0000 (14:47 +0800)]
Merge pull request #6211 from SUSE/wip-dead-bool

CephxServiceHandler.cc: fix get_auth conditional

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoCephxServiceHandler.cc: fix get_auth conditional 6211/head
Nathan Cutler [Sun, 27 Sep 2015 19:55:00 +0000 (21:55 +0200)]
CephxServiceHandler.cc: fix get_auth conditional

The KeyServer class has a public method get_auth() that returns a boolean
value. This value is being checked here - fix the conditional so it triggers
when get_auth() returns false.

http://tracker.ceph.com/issues/9756 References: #9756

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6173 from dachary/wip-13355-docker-test
Loic Dachary [Thu, 8 Oct 2015 20:44:26 +0000 (22:44 +0200)]
Merge pull request #6173 from dachary/wip-13355-docker-test

tests: allow docker-test.sh to run under root

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
9 years agoMerge pull request #6194 from dillaman/wip-13220-infernalis
Josh Durgin [Thu, 8 Oct 2015 20:20:05 +0000 (16:20 -0400)]
Merge pull request #6194 from dillaman/wip-13220-infernalis

rbd-replay-prep and rbd-replay improvements

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoReplicatedPG::maybe_handle_cache: do not promote before checking full 6193/head
Samuel Just [Thu, 8 Oct 2015 18:16:33 +0000 (11:16 -0700)]
ReplicatedPG::maybe_handle_cache: do not promote before checking full

Otherwise, ops with need_promote() can order past ops without it
causing an rgw write sequence like:

writefull 0~0
writefull 0~512kb
write 512kb~512kb

to reorder to

writefull 0~0 -- delayed: full
writefull 0~512kb -- delayed: full
write 512kb~512kb -- promote and execute
writefull 0~0 -- execute
writefull 0~512kb -- execute

Fixes: 13240
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #6206 from rzarzynski/wip-rgw-manifest-skip
Yehuda Sadeh [Thu, 8 Oct 2015 17:44:27 +0000 (10:44 -0700)]
Merge pull request #6206 from rzarzynski/wip-rgw-manifest-skip

rgw: add support for getting Swift's DLO without manifest handling

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotests: removed obsolete rbd_replay test cases 6194/head
Jason Dillaman [Thu, 8 Oct 2015 17:28:04 +0000 (13:28 -0400)]
tests: removed obsolete rbd_replay test cases

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoceph-dencoder: new rbd_replay trace file types
Jason Dillaman [Thu, 8 Oct 2015 17:26:42 +0000 (13:26 -0400)]
ceph-dencoder: new rbd_replay trace file types

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-replay: added version control to trace output file
Jason Dillaman [Thu, 8 Oct 2015 17:21:29 +0000 (13:21 -0400)]
rbd-replay: added version control to trace output file

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorgw: add support for skipping manifest parsing during GET on Swift object. 6206/head
Radoslaw Zarzynski [Mon, 5 Oct 2015 17:43:13 +0000 (19:43 +0200)]
rgw: add support for skipping manifest parsing during GET on Swift object.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agoclient: don't mark_down on command reply 6204/head
John Spray [Thu, 8 Oct 2015 12:04:04 +0000 (13:04 +0100)]
client: don't mark_down on command reply

I guess this was handy when issuing single commands
from the CLI, but it breaks things badly when
trying to issue commands from a client
that's also going to carry on and do client IO.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6200 from ceph/wip-13364
Yan, Zheng [Thu, 8 Oct 2015 11:22:14 +0000 (19:22 +0800)]
Merge pull request #6200 from ceph/wip-13364

mds/Session: use projected parent for auth path check

9 years agoMerge pull request #6116 from jcsp/wip-cephfs-direntry
John Spray [Thu, 8 Oct 2015 11:08:31 +0000 (12:08 +0100)]
Merge pull request #6116 from jcsp/wip-cephfs-direntry

pybind/cephfs: fix DirEntry helpers

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6195 from dachary/wip-release-notes
Loic Dachary [Thu, 8 Oct 2015 06:31:47 +0000 (08:31 +0200)]
Merge pull request #6195 from dachary/wip-release-notes

release-notes: draft v0.94.4 release notes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6188 from liewegas/wip-13395
Sage Weil [Thu, 8 Oct 2015 04:07:43 +0000 (00:07 -0400)]
Merge pull request #6188 from liewegas/wip-13395

os/FileStore: kludge sloppy hammer temp objects into temp collection

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agomds/Session: use projected parent for auth path check 6200/head
Sage Weil [Thu, 8 Oct 2015 02:59:43 +0000 (22:59 -0400)]
mds/Session: use projected parent for auth path check

In particular, a file's current path might indicate no parent
because the initial link into the tree isn't committed yet.

Fixes: #13364
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_libcephfs: parse env properly (access) 6197/head
Sage Weil [Thu, 8 Oct 2015 00:25:59 +0000 (20:25 -0400)]
ceph_test_libcephfs: parse env properly (access)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_libcephfs: parse CEPH_ARGS properly
Sage Weil [Thu, 8 Oct 2015 00:25:48 +0000 (20:25 -0400)]
ceph_test_libcephfs: parse CEPH_ARGS properly

This has to happen after the config parse.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorelease-notes: draft v0.94.4 release notes 6195/head
Loic Dachary [Wed, 7 Oct 2015 22:40:02 +0000 (00:40 +0200)]
release-notes: draft v0.94.4 release notes

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agorbd-replay-prep: added --verbose command line option
Jason Dillaman [Wed, 7 Oct 2015 19:39:18 +0000 (15:39 -0400)]
rbd-replay-prep: added --verbose command line option

This new command-line will dump all the processed events as they
are extracted from the trace file.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-replay-prep: stream events to the prep file
Jason Dillaman [Wed, 7 Oct 2015 19:22:25 +0000 (15:22 -0400)]
rbd-replay-prep: stream events to the prep file

Avoid building the entire prep event history in memory before
attempting to write the prepped trace file.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-replay-prep: simplify IO dependency calculation
Jason Dillaman [Wed, 7 Oct 2015 18:56:22 +0000 (14:56 -0400)]
rbd-replay-prep: simplify IO dependency calculation

Only track read-after-write and write-after-write IO dependencies
via the associated write completions.  All IO events after a write
completion are considered to be dependent and can be pruned down
to at most the number of concurrent IOs.  This reduces the prep
time from a simple 'rbd bench-write' from over 4 hrs down to seconds.

Fixes: #13378, #13384
Backport: hammer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-replay: improve error messages
Jason Dillaman [Tue, 6 Oct 2015 17:16:51 +0000 (13:16 -0400)]
rbd-replay: improve error messages

Fixes: #13221
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-replay-prep: support new read/write APIs
Jason Dillaman [Tue, 6 Oct 2015 16:48:50 +0000 (12:48 -0400)]
rbd-replay-prep: support new read/write APIs

Added support for read2, write2, aio_read2, and aio_write2 APIs.

Fixes: 13325
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-replay-prep: avoid using assert statements on user inputs
Jason Dillaman [Mon, 5 Oct 2015 21:30:54 +0000 (17:30 -0400)]
rbd-replay-prep: avoid using assert statements on user inputs

Fixes: #13220
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge branch 'infernalis'
Greg Farnum [Wed, 7 Oct 2015 17:56:35 +0000 (10:56 -0700)]
Merge branch 'infernalis'

9 years agoMerge pull request #6170 from jcsp/wip-spurious-warning
Gregory Farnum [Wed, 7 Oct 2015 17:52:04 +0000 (10:52 -0700)]
Merge pull request #6170 from jcsp/wip-spurious-warning

mds: avoid emitting cap warnings before evicting session

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6128 from jcsp/wip-snapserver-crash
Gregory Farnum [Wed, 7 Oct 2015 17:51:39 +0000 (10:51 -0700)]
Merge pull request #6128 from jcsp/wip-snapserver-crash

mds: fix SnapServer crash on deleted pool

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge branch 'wip-yrf-fix1' of git://github.com/H3C/ceph into infernalis
Greg Farnum [Wed, 7 Oct 2015 17:47:21 +0000 (10:47 -0700)]
Merge branch 'wip-yrf-fix1' of git://github.com/H3C/ceph into infernalis

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge branch 'wip-13256' of git://github.com/ukernel/ceph into infernalis
Greg Farnum [Wed, 7 Oct 2015 17:45:36 +0000 (10:45 -0700)]
Merge branch 'wip-13256' of git://github.com/ukernel/ceph into infernalis

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoqa: avoid using sudo in fsstress
John Spray [Wed, 23 Sep 2015 11:58:46 +0000 (12:58 +0100)]
qa: avoid using sudo in fsstress

This test required root in order to copy its built
binary into /usr (presumably to avoid rebuilding it).

That's not really a good thing anyway because there's
no guarantee that a binary in that path is the binary
we wanted, so just run the thing straight out of /tmp.  The
build is really quick anyway.

Signed-off-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6186 from ceph/wip-12913-2
Daniel Gryniewicz [Wed, 7 Oct 2015 17:09:59 +0000 (13:09 -0400)]
Merge pull request #6186 from ceph/wip-12913-2

cls_rgw: fix bucket listing when dealing with invisible entries

9 years agoos/FileStore: kludge sloppy hammer temp objects into temp collection 6188/head
Sage Weil [Wed, 7 Oct 2015 15:49:01 +0000 (11:49 -0400)]
os/FileStore: kludge sloppy hammer temp objects into temp collection

When we are running with a mixed hammer cluster, hammer primaries
will generate temp object names that are sloppy.  Make sure we still
put them into the temp collection.

Note that this isn't a problem on write because the primary (hammer)
OSD generated the transaction and explicitly specified a temp
collection; it's only transactions we do on our own with the sloppy
temp ghobject_t that trip over this.

Fixes: #13395
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph.spec.in: move python-sphinx BuildRequires to the right section 6191/head
Nathan Cutler [Tue, 29 Sep 2015 20:49:18 +0000 (22:49 +0200)]
ceph.spec.in: move python-sphinx BuildRequires to the right section

These belong in the section for distro-conditional dependencies.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoceph.spec.in: move BuildRequires out of subpackages
Nathan Cutler [Mon, 28 Sep 2015 19:59:20 +0000 (21:59 +0200)]
ceph.spec.in: move BuildRequires out of subpackages

Since the main package and all the subpackages are built in the
same environment, concentrate all the BuildRequires in the main
package.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoceph.spec.in: drop MY_CONF_OPTS 6190/head
Nathan Cutler [Wed, 7 Oct 2015 15:32:27 +0000 (17:32 +0200)]
ceph.spec.in: drop MY_CONF_OPTS

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6185 from liewegas/wip-13382
Sage Weil [Wed, 7 Oct 2015 15:06:09 +0000 (11:06 -0400)]
Merge pull request #6185 from liewegas/wip-13382

osd/PG: fix generate_past_intervals

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #6182 from liewegas/wip-13379
Sage Weil [Wed, 7 Oct 2015 00:51:33 +0000 (20:51 -0400)]
Merge pull request #6182 from liewegas/wip-13379

mon: do not remove proxied sessions

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
9 years agodoc: remove mention of --lazy-remove from radosgw-admin manpage 6187/head
Nathan Cutler [Tue, 6 Oct 2015 19:42:04 +0000 (21:42 +0200)]
doc: remove mention of --lazy-remove from radosgw-admin manpage

"The --lazy-remove flag has been removed over 3 years ago. Docs need to be
updated."

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoosd/PG: fix generate_past_intervals 6185/head
Sage Weil [Tue, 6 Oct 2015 18:35:35 +0000 (14:35 -0400)]
osd/PG: fix generate_past_intervals

We may be only calculating older past intervals and have a valid
history.same_interval_since value, in which case the local
same_interval_since value will end at the newest old interval we had to
generate.

This was introduced by 70316541bbb115d9a35954bfba373cf1dc084b7e.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: fix math error in firefly notes
Sage Weil [Tue, 6 Oct 2015 18:32:52 +0000 (14:32 -0400)]
doc/release-notes: fix math error in firefly notes

Reported-by: Christopher Kunz <chris@filoo.de>
Signed-off-by: Sage Weil <sage@redhat.com>