Commit Graph

34316 Commits

Author SHA1 Message Date
Abhishek Lekshmanan
e23ed9b7dc doc: fix a few typos in rbd docs
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-07-09 10:58:59 +05:30
Abhishek Lekshmanan
d693d7bf7b doc: Fix a few typos in the install docs
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-07-09 10:47:51 +05:30
Abhishek Lekshmanan
bb881e53da doc: fix a few typos in architecture page
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-07-09 10:28:35 +05:30
Abhishek Lekshmanan
fcbdd2fe9f doc: Fix a typo in the rbd man page
's/specifially/specifically'

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-07-09 10:27:41 +05:30
Gregory Farnum
ca1dc3c9dc Merge pull request #2037 from ceph/wip-async-log
MDS: Encode log events in a separate thread from main execution.

This is a first small step in multi-threading the MDS daemon.

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-07-07 15:37:13 -07:00
Sage Weil
083f9fe445 Merge pull request #2080 from ceph/wip-8306-rebase
Wip 8306 rebase

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2014-07-07 14:52:17 -07:00
Greg Farnum
aa1be2e306 OSD: fix debug logging output
The snapmapper and infos statements were backwards. Now they aren't.

Signed-off-by: Greg Farnum <greg@inktank.com>
2014-07-07 14:10:07 -07:00
Sage Weil
0f74299543 Merge pull request #2078 from ceph/wip-8751
test: generalise default_pools in test_rados

Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-07 13:23:25 -07:00
Dan Mick
b700963071 ceph.spec.in: add bash completion file for radosgw-admin
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-07-07 13:12:41 -07:00
Dan Mick
235e4c7de8 ceph.spec.in: rhel7-related changes:
udev rules: /lib -> /usr/lib
/sbin binaries move to /usr/sbin or %{_sbindir}

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-07-07 13:12:41 -07:00
Dan Mick
7cf8132239 Fix/add missing dependencies:
- rbd-fuse depends on librados2/librbd1
- ceph-devel depends on specific releases of libs and libcephfs_jni1
- librbd1 depends on librados2
- python-ceph does not depend on libcephfs1

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-07-07 13:12:23 -07:00
Dan Mick
ec8af52a5e ceph.spec.in: whitespace fixes
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-07-07 13:11:14 -07:00
Dan Mick
e131b9d5a5 ceph.spec.in: split out ceph-common as in Debian
Move files, postun scriptlet, and add dependencies on ceph-common
where appropriate

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-07-07 13:09:50 -07:00
John Spray
cca5841c40 test: generalise default_pools in test_rados
Instead of fragile assumptions about what pools
do or do not exist by default, simply use what
exists at test setup time as a baseline.

Fixes: #8751

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-07 18:19:46 +01:00
Sage Weil
768d48f6ef Merge pull request #2074 from onlyjob/docs
doc: mention kernel support for rbd format 2

Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-07 09:07:04 -07:00
Sage Weil
a2337474f5 Merge pull request #2077 from ceph/wip-8754
tests: don't depend on 'data' pool in rbd test

Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-07 09:04:57 -07:00
John Spray
a7a631d1e2 tests: don't depend on 'data' pool in rbd test
Since we removed the default 'data' and 'metadata' pools,
tests which need a pool should create it themselves.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-07 15:45:54 +01:00
Sage Weil
cf5f535125 doc/release-notes: clarify CRUSH notes about tunables
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-07 07:05:38 -07:00
Sage Weil
7e3fb06a7e Merge pull request #2075 from ceph/wip-8745
mds: use client-provided time stamp for user-visible file metadata

Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-07 06:54:49 -07:00
Yan, Zheng
16df4c3ed8 mds: use client-provided time stamp for user-visible file metadata
Fixes: #8745
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2014-07-07 16:17:26 +08:00
Dmitry Smirnov
c0806bbdcc doc: mention kernel support for rbd format 2
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2014-07-05 19:27:24 +10:00
Sage Weil
dd5b60b4f1 Merge remote-tracking branch 'gh/next' 2014-07-04 21:18:55 -07:00
Sage Weil
50a21833fb Merge pull request #2072 from ceph/wip-8738-next
Patch up the CRUSH map compatibility guards

Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-04 18:35:24 -07:00
Wido den Hollander
c7937ff38c doc: Fix a typo regarding requiretty for RHEL based platforms 2014-07-04 14:28:03 +02:00
Sage Weil
276dbfc4cb Merge pull request #2058 from ceph/wip-refs
refcount debugging for RefCountedObject

Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-07-03 17:36:48 -07:00
Greg Farnum
54af810481 mon: check changes to the whole CRUSH map and to tunables against cluster features
When we change the tunables, or set a new CRUSH map, we need to make sure it's
supported by all the monitors and OSDs currently participating in the cluster.

Fixes: #8738

Signed-off-by: Greg Farnum <greg@inktank.com>
2014-07-03 16:32:41 -07:00
Greg Farnum
2280c0eaa9 OSDMonitor: fix quorum_features comparison in check_cluster_features
We need to see if there's a feature which is not in the quorum_features,
not if there are no features in common!

Signed-off-by: Greg Farnum <greg@inktank.com>
2014-07-03 16:32:41 -07:00
Sage Weil
c0ba58c49f msg: debug refs on incoming Messages
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:26 -07:00
Sage Weil
c0dcf3bf47 common/RefCountedObject: make nref, cct private
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:26 -07:00
Sage Weil
b0da92b895 msg/Message: use RefCountedObject ctor to set initial ref count
Also, drop the useless assert in the dtor (the RefCountedObject dtor does
the same).

Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:26 -07:00
Sage Weil
e621856847 msg/Pipe: debug Pipe refs
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:25 -07:00
Sage Weil
242ee89c96 msg: debug Connection refs
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:25 -07:00
Sage Weil
fc8d198049 osd: debug Session refs
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:25 -07:00
Sage Weil
45991c055b common/RefCountedObject: assert nref == 0 in dtor
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:25 -07:00
Sage Weil
ff1521fce4 common/RefCountedObject: optionally take initial ref count to ctor
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:25 -07:00
Sage Weil
054741725f common/RefCountedObject: optionally debug
Introduce a 'refs' subsys for logging.  Print log ref count inc and dec
for any RefCountedObject that gets a cct passed to its ctor.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-03 14:28:25 -07:00
Sage Weil
dc1e425d29 Merge pull request #2059 from ceph/wip-osd-dumpres
osd: allow dumping reservation state via asok

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-07-03 14:27:42 -07:00
Sage Weil
303a9fdc2e Merge pull request #2069 from thorstenb/thb-buildconvenience-1
Automagically setup submodules on first run.

Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-03 14:00:34 -07:00
Sage Weil
235c27ab8d Merge pull request #2066 from thorstenb/wip-janitorial-clang-2
[werror] Fix c++11-compat-reserved-user-defined-literal
2014-07-03 13:56:01 -07:00
Samuel Just
9973d9809b Merge pull request #2062 from somnathr/wip-sd-replicated-pg
ReplicatedPG: Removed the redundant register_snapset_context call

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-07-03 13:36:50 -07:00
Samuel Just
f21a01791e Merge pull request #2064 from somnathr/wip-sd-share-map
OSD: adjust share_map() to handle the case that the osd is down

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-07-03 13:36:27 -07:00
Samuel Just
3c03beb3d9 Merge pull request #2065 from somnathr/wip-sd-optracker
Pull request for optracker changes

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-07-03 13:35:23 -07:00
Samuel Just
c44e14495b Merge pull request #2063 from athanatos/wip-8691
OSD: wake_pg_waiters after dropping pg lock

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-07-03 13:34:19 -07:00
Loic Dachary
10cdb29b60 Merge pull request #2047 from dachary/wip-osd-config
osd: improve tests for configuration updates

Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
2014-07-03 16:00:56 +02:00
Loic Dachary
5b97cd7fa7 Merge pull request #2036 from ceph/wip-osd-map-cache-size
osd: allow osd map cache size to be adjusted at runtime

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-07-03 14:40:42 +02:00
Loic Dachary
72ac3c0a67 Merge pull request #2068 from thorstenb/wip-janitorial-clang-4
ceph_argparse_flag has no regular 3rd parameter.

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-07-03 11:29:35 +02:00
Loic Dachary
2226b91e7d qa: support running under non privileged user
If the test is run against a cluster started with vstart.sh (which is
the case for make check), the --asok-does-not-need-root disables the use
of sudo and allows the test to run without requiring privileged user
permissions.

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 522174b066)
2014-07-02 20:31:31 -07:00
Sage Weil
a501eb80f4 Merge pull request #2061 from ceph/wip-8728
qa/workunits/rest/test.py: make osd create test idempotent

Reviewed-by: Dan Mick <dan.mick@inktank.com>
2014-07-02 17:55:05 -07:00
Sage Weil
55e297ad9a Merge pull request #2046 from ceph/wip-8670
mon: OSDMonitor: 'osd pool' - if we can set it, we must be able to get it

Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-02 17:44:56 -07:00
Thorsten Behrens
f7086d3684 Automagically setup submodules on first run.
I mean, who's reading the README, anyway?

Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2014-07-03 00:51:23 +02:00