]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoadd _check_access for async cap updates
Jashan Kamboj [Fri, 31 Jul 2015 20:47:05 +0000 (02:17 +0530)]
add _check_access for async cap updates

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd stray_prior_path for is_stray
Jashan Kamboj [Thu, 30 Jul 2015 15:43:23 +0000 (21:13 +0530)]
add stray_prior_path for is_stray

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd stray_prior_path to store path before rename
Jashan Kamboj [Tue, 28 Jul 2015 19:07:34 +0000 (00:37 +0530)]
add stray_prior_path to store path before rename

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agomds/MDSAuthCaps: add test cases for is_capable
Nishtha Rai [Fri, 31 Jul 2015 17:31:04 +0000 (23:01 +0530)]
mds/MDSAuthCaps: add test cases for is_capable

9 years agomds/Server: add chown and chgrp check access to setattr
Nishtha Rai [Wed, 29 Jul 2015 14:20:25 +0000 (19:50 +0530)]
mds/Server: add chown and chgrp check access to setattr

9 years agomds/Server: add create access check for openc
Nishtha Rai [Tue, 28 Jul 2015 17:56:19 +0000 (23:26 +0530)]
mds/Server: add create access check for openc

Signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
9 years agoServer: add create access check for mknod and symlink
Nishtha Rai [Tue, 28 Jul 2015 17:08:15 +0000 (22:38 +0530)]
Server: add create access check for mknod and symlink

9 years agotest_auth_caps: add mkdir check with mode 557
Nishtha Rai [Tue, 28 Jul 2015 17:05:54 +0000 (22:35 +0530)]
test_auth_caps: add mkdir check with mode 557

9 years agotest_auth_caps: resolve bug with other bits test case
Nishtha Rai [Mon, 27 Jul 2015 13:34:30 +0000 (19:04 +0530)]
test_auth_caps: resolve bug with other bits test case

9 years agotest_auth_caps: remove grp mount
Nishtha Rai [Mon, 27 Jul 2015 12:58:40 +0000 (18:28 +0530)]
test_auth_caps: remove grp mount

Signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
9 years agoMDSAuthCaps: validate create access
Nishtha Rai [Thu, 23 Jul 2015 15:20:18 +0000 (20:50 +0530)]
MDSAuthCaps: validate create access

Signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
9 years agoadd stray_prior_path to store path before unlink
Jashan Kamboj [Tue, 28 Jul 2015 16:54:36 +0000 (22:24 +0530)]
add stray_prior_path to store path before unlink

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd open check_access
Jashan Kamboj [Fri, 24 Jul 2015 16:12:43 +0000 (21:42 +0530)]
add open check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd link check_access
Jashan Kamboj [Tue, 21 Jul 2015 19:36:50 +0000 (01:06 +0530)]
add link check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd rename check_access
Jashan Kamboj [Tue, 21 Jul 2015 19:35:37 +0000 (01:05 +0530)]
add rename check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd snaps(ls,mk,rm,rename) check_access
Jashan Kamboj [Tue, 21 Jul 2015 19:33:27 +0000 (01:03 +0530)]
add snaps(ls,mk,rm,rename) check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd setlayout, setdirlayout, setxattr check_access
Jashan Kamboj [Tue, 21 Jul 2015 17:10:00 +0000 (22:40 +0530)]
add setlayout, setdirlayout, setxattr check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd readdir check_access
Jashan Kamboj [Tue, 21 Jul 2015 17:08:20 +0000 (22:38 +0530)]
add readdir check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agomds/Server: clean up check_access a bit
Sage Weil [Tue, 21 Jul 2015 16:50:24 +0000 (12:50 -0400)]
mds/Server: clean up check_access a bit

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMDSAuthCaps: add logic for group bits check
Nishtha Rai [Tue, 21 Jul 2015 15:09:40 +0000 (20:39 +0530)]
MDSAuthCaps: add logic for group bits check

Signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
9 years agotest_auth_caps: add test for user bits
Nishtha Rai [Mon, 20 Jul 2015 16:04:04 +0000 (21:34 +0530)]
test_auth_caps: add test for user bits

Signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
9 years agomds/MDSAuthCaps: add permissions for user bits
Nishtha Rai [Mon, 20 Jul 2015 14:01:25 +0000 (19:31 +0530)]
mds/MDSAuthCaps: add permissions for user bits

Signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
9 years agoMakefile: include ceph-fuse in base target
Sage Weil [Mon, 20 Jul 2015 17:58:23 +0000 (13:58 -0400)]
Makefile: include ceph-fuse in base target

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoclient: behave if we can't getattr parents of mount point
Sage Weil [Tue, 1 Sep 2015 20:48:17 +0000 (16:48 -0400)]
client: behave if we can't getattr parents of mount point

If our cap locks us into a subdirectory (e.g., /foo), we will fail to
getattr on its parents (e.g., /).  This is expected.  Tolerate this case,
and warn that quotas may misbehave in that case (if they are set on one of
those parents).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotest_auth_caps: Move trap and cleanup to the top
Nishtha Rai [Mon, 20 Jul 2015 13:32:03 +0000 (19:02 +0530)]
test_auth_caps: Move trap and cleanup to the top

9 years agotest_auth_caps: Added test logic for world bits
Nishtha Rai [Thu, 16 Jul 2015 20:22:16 +0000 (01:52 +0530)]
test_auth_caps: Added test logic for world bits

9 years agoMDSAuthCaps: add world bits check logic
Nishtha Rai [Mon, 20 Jul 2015 13:35:01 +0000 (09:35 -0400)]
MDSAuthCaps: add world bits check logic

Signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
9 years agoclient: pass uid, gid to lookup
Sage Weil [Thu, 16 Jul 2015 20:00:55 +0000 (16:00 -0400)]
client: pass uid, gid to lookup

The MDS cares about who is performing lookup, too!

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoadd unlink, rmdir check_access test
Jashan Kamboj [Wed, 15 Jul 2015 13:56:40 +0000 (19:26 +0530)]
add unlink, rmdir check_access test

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd unlink, rmdir check_access
Jashan Kamboj [Wed, 15 Jul 2015 13:43:19 +0000 (19:13 +0530)]
add unlink, rmdir check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd symlink test
Jashan Kamboj [Tue, 14 Jul 2015 21:32:49 +0000 (03:02 +0530)]
add symlink test

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoadd symlink check_access
Jashan Kamboj [Tue, 14 Jul 2015 21:30:38 +0000 (03:00 +0530)]
add symlink check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoAdd mknod check_access
Jashan Kamboj [Tue, 14 Jul 2015 21:29:43 +0000 (02:59 +0530)]
Add mknod check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agoqa/workunits/fs/test_path_caps: tolerate existing directories
Sage Weil [Fri, 10 Jul 2015 18:42:59 +0000 (14:42 -0400)]
qa/workunits/fs/test_path_caps: tolerate existing directories

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agofunctional test of mds cap path restriction
Jashan Kamboj [Fri, 10 Jul 2015 18:30:28 +0000 (00:00 +0530)]
functional test of mds cap path restriction

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agomds/Server.cc: drop leading / from path in is_capable check
Jashan Kamboj [Fri, 10 Jul 2015 14:20:15 +0000 (19:50 +0530)]
mds/Server.cc: drop leading / from path in is_capable check

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agounittest_mds_authcap: test lists of allow grants
Sage Weil [Thu, 9 Jul 2015 16:13:55 +0000 (12:13 -0400)]
unittest_mds_authcap: test lists of allow grants

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds: mkdir check_access
Jashan Kamboj [Thu, 9 Jul 2015 13:41:12 +0000 (19:11 +0530)]
mds: mkdir check_access

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agomds/MDSAuthCaps: fix parse error message
Sage Weil [Thu, 9 Jul 2015 15:18:42 +0000 (11:18 -0400)]
mds/MDSAuthCaps: fix parse error message

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds: whitespace
Sage Weil [Thu, 9 Jul 2015 15:18:08 +0000 (11:18 -0400)]
mds: whitespace

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds: log to cluster log if mds cap parse fails
Sage Weil [Thu, 9 Jul 2015 15:18:04 +0000 (11:18 -0400)]
mds: log to cluster log if mds cap parse fails

It's an admin error; tell an admin.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: debug is_capable
Sage Weil [Wed, 8 Jul 2015 20:20:46 +0000 (16:20 -0400)]
mds/MDSAuthCaps: debug is_capable

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCap: fix debug prefix
Sage Weil [Wed, 8 Jul 2015 20:15:05 +0000 (16:15 -0400)]
mds/MDSAuthCap: fix debug prefix

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCap: drop leading / in paths
Sage Weil [Wed, 8 Jul 2015 20:01:07 +0000 (16:01 -0400)]
mds/MDSAuthCap: drop leading / in paths

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: fix allow_all
Sage Weil [Wed, 8 Jul 2015 19:58:51 +0000 (15:58 -0400)]
mds/MDSAuthCaps: fix allow_all

Empty path is '', not '/'.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: add cct for debug context
Sage Weil [Wed, 8 Jul 2015 19:47:00 +0000 (15:47 -0400)]
mds/MDSAuthCaps: add cct for debug context

signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds: calculate path in check_access()
Jashan Kamboj [Mon, 15 Jun 2015 21:20:55 +0000 (02:50 +0530)]
mds: calculate path in check_access()

Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
9 years agomds/MDSAuthCaps: normalize path, drop useless constant.
Sage Weil [Thu, 4 Jun 2015 21:40:21 +0000 (14:40 -0700)]
mds/MDSAuthCaps: normalize path, drop useless constant.

Use an empty string for no path--this is more efficient.  This generalizes
to losing any leading '/' character.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: pass down inode uid.gid and mode
Sage Weil [Thu, 4 Jun 2015 20:52:05 +0000 (13:52 -0700)]
mds/MDSAuthCaps: pass down inode uid.gid and mode

We will need this to evaluate the unix permissions.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/Server: add a few access checks
Sage Weil [Sat, 30 May 2015 01:36:00 +0000 (21:36 -0400)]
mds/Server: add a few access checks

(incomplete coverage!)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/Server: add check_access() hook
Sage Weil [Thu, 4 Jun 2015 20:35:23 +0000 (13:35 -0700)]
mds/Server: add check_access() hook

For now, we are doing a very basic permission check.  No callers yet.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCap: fix uid and gid types
Sage Weil [Thu, 4 Jun 2015 20:45:59 +0000 (13:45 -0700)]
mds/MDSAuthCap: fix uid and gid types

int64_t for uid, so we can do a negative "none" value.
gid_t (uint32_t) for gid.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: cosmetic
Sage Weil [Thu, 4 Jun 2015 20:37:26 +0000 (13:37 -0700)]
mds/MDSAuthCaps: cosmetic

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: use bitmask for is_capable()
Sage Weil [Thu, 4 Jun 2015 20:37:56 +0000 (13:37 -0700)]
mds/MDSAuthCaps: use bitmask for is_capable()

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCap: fix path match
Sage Weil [Thu, 28 May 2015 20:48:36 +0000 (16:48 -0400)]
mds/MDSAuthCap: fix path match

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: move allows() into MDSCapSpec
Sage Weil [Thu, 28 May 2015 04:52:27 +0000 (00:52 -0400)]
mds/MDSAuthCaps: move allows() into MDSCapSpec

Also, fix this so that 'any' implies that we can read or write.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: parse optional gid list
Sage Weil [Thu, 28 May 2015 04:33:07 +0000 (00:33 -0400)]
mds/MDSAuthCaps: parse optional gid list

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds/MDSAuthCaps: whitespace
Sage Weil [Thu, 28 May 2015 04:00:39 +0000 (00:00 -0400)]
mds/MDSAuthCaps: whitespace

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5951 from guangyy/doc-pool
Kefu Chai [Thu, 1 Oct 2015 10:03:19 +0000 (18:03 +0800)]
Merge pull request #5951 from guangyy/doc-pool

doc: update doc for with new pool settings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5853 from branch-predictor/bp-rados-fix-noverify
Loic Dachary [Wed, 30 Sep 2015 19:14:32 +0000 (21:14 +0200)]
Merge pull request #5853 from branch-predictor/bp-rados-fix-noverify

common/obj_bencher.cc: fix verification crashing when there's no objects

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6009 from theanalyst/scripts/orig-issue
Loic Dachary [Wed, 30 Sep 2015 15:38:26 +0000 (17:38 +0200)]
Merge pull request #6009 from theanalyst/scripts/orig-issue

scripts: release_notes can track original issue

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5211 from 0003ydlom/smc3
Sage Weil [Wed, 30 Sep 2015 15:09:08 +0000 (11:09 -0400)]
Merge pull request #5211 from 0003ydlom/smc3

MOSDOp/do_op/handle_op: Simple Messenger optimization

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Tested-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6127 from wido/mirror-docs-fixes
Sage Weil [Wed, 30 Sep 2015 12:41:59 +0000 (08:41 -0400)]
Merge pull request #6127 from wido/mirror-docs-fixes

docs: Fix styling of newly added mirror docs

9 years agoMerge pull request #6109 from liewegas/wip-13214
Sage Weil [Wed, 30 Sep 2015 12:31:48 +0000 (08:31 -0400)]
Merge pull request #6109 from liewegas/wip-13214

init-rbdmap: fix CMDPARAMS

Reviewed-by: Nathan Cutler <ncutler@suse.com>
9 years agoinit-rbdmap: fix CMDPARAMS 6109/head
Sage Weil [Wed, 30 Sep 2015 12:29:05 +0000 (08:29 -0400)]
init-rbdmap: fix CMDPARAMS

Fixes: #13214
Reported-by: Wyllys Ingersoll <wyllys.ingersoll@keepertech.com>
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodocs: Fix styling of newly added mirror docs 6127/head
Wido den Hollander [Wed, 30 Sep 2015 11:45:28 +0000 (13:45 +0200)]
docs: Fix styling of newly added mirror docs

9 years agocleanup: make the pool setting GET decription point to SET description 5951/head
Guang Yang [Wed, 30 Sep 2015 00:27:07 +0000 (00:27 +0000)]
cleanup: make the pool setting GET decription point to SET description

Signed-off-by: Guang Yang yguang@yahoo-inc.com
9 years agodoc: update doc for with new pool settings
Guang Yang [Wed, 16 Sep 2015 17:46:41 +0000 (17:46 +0000)]
doc: update doc for with new pool settings

Signed-off-by: Guang Yang yguang@yahoo-inc.com
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Wed, 30 Sep 2015 00:15:31 +0000 (20:15 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoMerge pull request #6101 from liewegas/wip-fs
Sage Weil [Tue, 29 Sep 2015 21:42:08 +0000 (17:42 -0400)]
Merge pull request #6101 from liewegas/wip-fs

os/fs: fix do loop

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6103 from SUSE/wip-re-redrop-fdupes
branto1 [Tue, 29 Sep 2015 10:57:32 +0000 (12:57 +0200)]
Merge pull request #6103 from SUSE/wip-re-redrop-fdupes

ceph.spec.in: re-re-drop fdupes

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agotest/test_rados_tool.sh: implement regression test for bench verify crash 5853/head
Piotr Dałek [Tue, 29 Sep 2015 07:12:03 +0000 (09:12 +0200)]
test/test_rados_tool.sh: implement regression test for bench verify crash

Truncate all objects after format test, then check whether rados bench rand/seq
still works, or just crashes.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agocommon/obj_bencher.cc: fix verification crashing when there's no objects
Piotr Dałek [Wed, 9 Sep 2015 08:57:00 +0000 (10:57 +0200)]
common/obj_bencher.cc: fix verification crashing when there's no objects

When specified pool is empty or doesn't contain valid bench objects, rados
can crash because it attempts to memcmp through NULL pointer. Added check
for valid object size (which also fixes the case when objects are there, but
they're truncated), and made object_size being size_t instead of int.
In seq_read_bench, there's a missing lock.Lock() which causes rados to trigger
assert when object reading fails. Moved lock.Lock() before completion_ret()
call.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agoceph.spec.in: re-re-drop fdupes 6103/head
Nathan Cutler [Tue, 29 Sep 2015 06:57:16 +0000 (08:57 +0200)]
ceph.spec.in: re-re-drop fdupes

The %fdupes call was dropped by 53072b9019caf72e0313b2804ea174237ed7da33
Later, it got accidentally reinstated by ceb93e8e69e125c9358f63b0099e7509b6624bcf

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6025 from ukernel/wip-13167
Gregory Farnum [Tue, 29 Sep 2015 05:21:34 +0000 (22:21 -0700)]
Merge pull request #6025 from ukernel/wip-13167

journaler: detect unexpected holes in journal objects

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #5849 from ukernel/wip-32bits-ceph-fuse
Gregory Farnum [Tue, 29 Sep 2015 05:19:11 +0000 (22:19 -0700)]
Merge pull request #5849 from ukernel/wip-32bits-ceph-fuse

Wip 32bits ceph fuse

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #4791 from ceph/wip-11783
Gregory Farnum [Tue, 29 Sep 2015 05:14:52 +0000 (22:14 -0700)]
Merge pull request #4791 from ceph/wip-11783

cephfs: detect completed cap flushes

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6070 from jcsp/wip-reformat-subtreemaptest
Yan, Zheng [Tue, 29 Sep 2015 02:12:39 +0000 (10:12 +0800)]
Merge pull request #6070 from jcsp/wip-reformat-subtreemaptest

Fix reformatting journals containing SUBTREEMAP_TEST events

9 years agoMerge pull request #6082 from jcsp/wip-client-quota-roots
Yan, Zheng [Tue, 29 Sep 2015 02:02:28 +0000 (10:02 +0800)]
Merge pull request #6082 from jcsp/wip-client-quota-roots

Fix quota enforcement on subdir mounts

9 years agoos/fs: fix aio submit method 6101/head
Sage Weil [Tue, 29 Sep 2015 01:31:23 +0000 (21:31 -0400)]
os/fs: fix aio submit method

continue in a do while(false) will always eval false and break
out.  To repeat, we need while (true) and an explicit break.

Reported-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6078 from H3C/wip-13208
Sage Weil [Mon, 28 Sep 2015 20:42:01 +0000 (16:42 -0400)]
Merge pull request #6078 from H3C/wip-13208

Objecter: maybe access wild pointer(op) in _op_submit_with_budget.

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6064 from H3C/wip-rbd-bugfix1
Sage Weil [Mon, 28 Sep 2015 20:41:44 +0000 (16:41 -0400)]
Merge pull request #6064 from H3C/wip-rbd-bugfix1

Objecter: misc fix for segmentation fault.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6084 from liewegas/wip-revert-scrub
Sage Weil [Mon, 28 Sep 2015 20:40:31 +0000 (16:40 -0400)]
Merge pull request #6084 from liewegas/wip-revert-scrub

Revert "osd: new pool settings: scrub intervals"

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #5832 from SUSE/wip-drop-dup-rcceph
Ken Dreyer [Mon, 28 Sep 2015 19:09:33 +0000 (13:09 -0600)]
Merge pull request #5832 from SUSE/wip-drop-dup-rcceph

ceph.spec.in: refrain from duplicating %{_sbindir}/rcceph

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #6098 from liewegas/wip-crash-replay-interval
Samuel Just [Mon, 28 Sep 2015 17:17:41 +0000 (10:17 -0700)]
Merge pull request #6098 from liewegas/wip-crash-replay-interval

don't assume crash_replay_itnerval == 45

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoqa/workunits/cephtool/test.sh: don't assume crash_replay_interval=45 6098/head
Sage Weil [Mon, 28 Sep 2015 17:13:40 +0000 (13:13 -0400)]
qa/workunits/cephtool/test.sh: don't assume crash_replay_interval=45

e.g., it's 5 in teuthology's ceph.conf.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6076 from liewegas/wip-scrub-fix
Sage Weil [Mon, 28 Sep 2015 15:44:46 +0000 (11:44 -0400)]
Merge pull request #6076 from liewegas/wip-scrub-fix

osd/PG: compensate for sloppy hobject scrub bounds from hammer

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMOSDOp::decode : Splitting message decoding, new version 5211/head
Jacek J. Lakis [Thu, 6 Aug 2015 10:14:17 +0000 (12:14 +0200)]
MOSDOp::decode : Splitting message decoding, new version

Signed-off-by: Jacek J. Lakis <jacek.lakis@intel.com>
9 years agohandle_op/do_op: Moving couple of checks from dispatcher to parallelized workers
Jacek J. Lakis [Thu, 6 Aug 2015 10:12:57 +0000 (12:12 +0200)]
handle_op/do_op: Moving couple of checks from dispatcher to parallelized workers

Signed-off-by: Jacek J. Lakis <jacek.lakis@intel.com>
9 years agoMerge pull request #6086 from stiopaa1/librados_missingsemicolon
Loic Dachary [Sat, 26 Sep 2015 14:12:33 +0000 (16:12 +0200)]
Merge pull request #6086 from stiopaa1/librados_missingsemicolon

examples/librados/hello_world.cc:missing semicolon

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoexamples/librados/hello_world.cc:missing semicolon 6086/head
Michal Jarzabek [Sat, 26 Sep 2015 13:45:22 +0000 (14:45 +0100)]
examples/librados/hello_world.cc:missing semicolon

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoMerge pull request #6068 from dachary/wip-12936-shec
Sage Weil [Sat, 26 Sep 2015 05:24:22 +0000 (01:24 -0400)]
Merge pull request #6068 from dachary/wip-12936-shec

erasure-code: shec must compare for equality with epsilon

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6052 from liewegas/wip-13098
Sage Weil [Sat, 26 Sep 2015 05:22:39 +0000 (01:22 -0400)]
Merge pull request #6052 from liewegas/wip-13098

osd: fix full request handling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6075 from liewegas/wip-osd-getmap
Sage Weil [Sat, 26 Sep 2015 05:22:10 +0000 (01:22 -0400)]
Merge pull request #6075 from liewegas/wip-osd-getmap

osd: avoid duplicate MMonGetOSDMap requests

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6077 from liewegas/wip-qa
Dan Mick [Fri, 25 Sep 2015 18:14:51 +0000 (11:14 -0700)]
Merge pull request #6077 from liewegas/wip-qa

qa: http://ceph.com/qa -> http://download.ceph.com/qa
also some ceph.com/git -> git.ceph.com and a few line-endings - dmick

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoRevert "osd: new pool settings: scrub intervals" 6084/head
Sage Weil [Fri, 25 Sep 2015 18:01:19 +0000 (14:01 -0400)]
Revert "osd: new pool settings: scrub intervals"

This reverts commit 30810da4b573b3c7e679bc66eaa29b70246538cb.

After some discussion we have decided it is better to build a generic
dictionary in pg_pool_t to store infrequently used per-pool properties.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6083 from jcsp/wip-mds-allow-star
Gregory Farnum [Fri, 25 Sep 2015 15:40:51 +0000 (08:40 -0700)]
Merge pull request #6083 from jcsp/wip-mds-allow-star

ceph-create-keys: set mds "allow *"

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoceph-create-keys: set mds "allow *" 6083/head
John Spray [Fri, 25 Sep 2015 15:07:59 +0000 (16:07 +0100)]
ceph-create-keys: set mds "allow *"

So that 'tell' works out of the box.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoerasure-code: shec must compare for equality with epsilon 6068/head
Loic Dachary [Thu, 24 Sep 2015 09:35:13 +0000 (11:35 +0200)]
erasure-code: shec must compare for equality with epsilon

When comparing two double for strict inequality, a test for equality
using epsilon must also be done to ensure the results do not vary cross
platform.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5959 from mslovy/wip-current-dev
Kefu Chai [Fri, 25 Sep 2015 13:41:48 +0000 (21:41 +0800)]
Merge pull request #5959 from mslovy/wip-current-dev

mon: Fix unnecessary at/near max target warn in ceph -s

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>