Commit Graph

40804 Commits

Author SHA1 Message Date
Douglas Fuller
567a7eff10 RBD: build prerequisites for latest xfstests and update test configuration
To standardize results from xfstests, install specific versions of xfstests,
xfsprogs, and xfsdump in /tmp. Move test mountpoints to /tmp/cephtest to allow
access for fsgqa user expected by xfstests.

XXX: xfsdump required significant hacks to build and install on Ubuntu 14.04.
A developer removed the definitions of the min and max macros; this commit is
reverted by this script. The installation paths are difficult to override and
the installer breaks (trying to ln one of the binaries to itself) when an
alternate installation location is specified. This script ignores this error
(make -k install || true).

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2015-04-07 16:54:02 -07:00
Ken Dreyer
600f2cca7d README: rm references to old Ubuntu distros
Support for Ubuntu 11.04 officially ended on 28 October 2012.

Support for Ubuntu Oneiric Ocelot was officially ended on 9 May 2013.

Remove the references to these EOL distro versions.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-04-07 17:38:44 -06:00
Josh Durgin
6210f589e5 Merge pull request #4292 from ceph/wip-11342
librbd: moved snap_create header update notification to initiator

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-07 15:55:33 -07:00
Josh Durgin
25015f9aeb Merge pull request #4281 from wonzhq/readahead
librbd: readahead fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-07 14:47:44 -07:00
Sage Weil
69d680f889 doc/release-notes: spelling
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-07 14:10:33 -07:00
Sage Weil
6930376fd7 doc/release-notes: correction
There isn't an upgrade f-g-x suite

Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-07 14:09:37 -07:00
Jason Dillaman
6e20ed6834 librbd: moved snap_create header update notification to initiator
When handling a proxied snap_create operation, the client which
invoked the snap_create should send the header update notification
to avoid a possible race condition where snap_create completes but
the client doesn't see the new snapshot (since it didn't yet receive
the notification).

Fixes: #11342
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-07 16:12:01 -04:00
Sage Weil
738af38a11 doc/release-notes: final hammer notes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-07 13:02:33 -07:00
Sage Weil
980d8f9da0 Merge remote-tracking branch 'gh/hammer'
Conflicts:
	src/gmock
2015-04-07 12:57:07 -07:00
Loic Dachary
abf8a10a9a Merge pull request #4291 from ceph/wip-doc-fixes
Wip doc fixes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-07 21:11:43 +02:00
Sage Weil
1cf27ae28c doc/release-notes: make a note about rgw deployment; tweak dedication
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-07 11:36:49 -07:00
Yehuda Sadeh
b13161dadc Merge pull request #4283 from oritwas/multizone
rgw: remove meta file after deleting bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-07 10:43:31 -07:00
Jenkins
e61c4f093f 0.94 2015-04-07 10:05:41 -07:00
Jason Dillaman
46515971ed librbd: simplify AioRequest constructor parameters
Moved all parent overlap computation to within AioRequest so that
callers don't need to independently compute the overlap.  Also
removed the need to pass the snap_id for write operations since
it can only be CEPH_NOSNAP.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-07 11:26:57 -04:00
Kefu Chai
1926bb9490 man: enable warning msgs for "all" target
* and remove `local-check` target. because we have killed all warnings,
  and `make check` depends on `am-all` actually. so previously, `make check`
  basically does nothing at all for validating the man pages' syntax.
  `make all` has rendered them already.
* do not run sphinx-build if $(top_srcdir)/doc/man does not exist. this
  is exactly the case of `make install` from a dist tarball.
* remove generated man pages in `make maintainer-clean` not in `make
  clean`, because we don't ship .rst files in the dist tarball.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:50 +08:00
Kefu Chai
251ae614ba doc: ref 9/ceph-mon using relative path
sphinx complains when it failed to find the referenced file using the
absolute path whose root is the $(top_srcdir)/doc/man when rendering
man pages. but it is able to find it when rendering the html, because
build-doc specifies $(top_srcdir)/doc/ as the source directory.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:50 +08:00
Kefu Chai
a0bdf6932b doc: add ":orphan:" field to avoid sphinx warnings
when building man pages from rst files, sphinx complains if any
rst file is not referenced by a doctree.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:50 +08:00
Kefu Chai
6dd570476c man: ignore fieldlist when getting desc for manpages
this change will enable us to specify `:orphan:` in the fieldlist of
a manpage rst file, otherwise sphinx-build complains at seeing it if
it is not referenced by a toc doc.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:50 +08:00
Kefu Chai
b532cb3e80 doc: fix sphinx warnings
* fix `Inline literal start-string without end-string` warnings.
* fix `Title underline too short` warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:50 +08:00
Kefu Chai
c5f3d4db5e doc: fix sphinx warnings
fix `Inline literal start-string without end-string` warnings.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:50 +08:00
Kefu Chai
707a2f77c4 man: appease sphinx by providing a toc doc
Fixes: #11324
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:50 +08:00
Kefu Chai
c7effab565 man: point man/conf.py and Makefile to doc/man
Fixes: #11320
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:49 +08:00
Kefu Chai
0e07ccc197 man: move man/8/*.rst back to doc/man/8
sphinx requires that a document tree to be in a single directory,
and the man pages are references by our document. so a simple solution
would be to put all the rst file under a single directory.

Fixes: #11320
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:49 +08:00
Kefu Chai
d8911b4bab doc: fix a typo which use "::" for ":"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:49 +08:00
Kefu Chai
1837eb4d46 doc: fix "Title underline too short" warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:49 +08:00
Kefu Chai
e8ad0b5a3a doc: fix sphinx warnings
* kill "Inline strong start-string without end-string" warning by
  removing superfluous '*'

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:49 +08:00
Kefu Chai
2924d3c615 doc: remove duplicated option doc
sphinx complains:
SEVERE: Duplicated ID: "cmdoption-radosgw-admin--bucket"
at seeing duplicated `--bucket` option in radosgw-admin.rst. and
there is a global `--bucket` for all commands of radosgw, so remove
the one for the `quota` command.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:49 +08:00
Radoslaw Zarzynski
50cf7432db rgw: add support for end_marker for GET on Swift container.
Fixes: #10682
Backport: hammer
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-04-07 16:55:29 +02:00
Loic Dachary
509437feff tests: remove dead code in docker-test-helper.sh
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-07 16:19:36 +02:00
Loic Dachary
def9862be3 tests: allow multiple users of docker-tests.sh
The docker image created by docker-tests.sh for a given operating system
is parameterized with the user name. If two users on the same machine
try to use the same image, they will compete and fail with an error
like:

... user get supplementary groups Unable to find user ...

Add the $USER to the image name to reflect the fact that they contain an
account for this user.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-07 16:07:40 +02:00
Kefu Chai
1c381b3ca8 Merge pull request #4273 from dachary/wip-docker-ccache
tests: docker-test must bind mount .ccache

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-07 21:21:19 +08:00
John Spray
780576ba62 Merge pull request #4255 from Ved-vampir/osdccnt
Perf counters descriptions, new part

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Joao Eduardo Luis <jluis@suse.com>
2015-04-07 14:10:04 +01:00
Loic Dachary
8ac26975e6 Merge pull request #4286 from tchaikov/readable-href-in-admonition
doc: show href anchor in white in important block

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-07 14:48:09 +02:00
Loic Dachary
eaeada55a7 Merge pull request #4287 from dachary/wip-sphinx
spec.in: sphinx -b man needs sphinx > 1.0 (part 2)

Reviewed-by: Owen Synge <osynge@suse.com>
2015-04-07 14:36:00 +02:00
Kefu Chai
d6da80e4ab doc: show href anchor in white in important block
Fixes: #11310
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 20:18:11 +08:00
Ved-vampir
6a76b9d1da mon: add perf counters description
Sign-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
2015-04-07 14:25:24 +03:00
John Spray
4d921ee6b7 Merge pull request #4265 from trociny/wip-11319
ceph daemonperf: add watch interval and count parameters

Reviewed-by: John Spray <john.spray@redhat.com>
2015-04-07 11:58:54 +01:00
Loic Dachary
21b93775d6 spec.in: sphinx -b man needs sphinx > 1.0 (part 2)
Instead of listing the operating system versions that do not require the
python-sphinx10 package, switch to listing the operating system versions that
require the python-sphinx10 package. It's easier to maintain because
there only are a few.

Signed-off-by: Loic Dachary <ldachary@rehdat.com>
2015-04-07 12:09:03 +02:00
Loic Dachary
3f75cbc704 Merge pull request #4271 from nehaummareddy/master
doc: Replaced with apt word and fixed grammatical error

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-07 11:54:19 +02:00
Orit Wasserman
dfdc7afb59 rgw: remove meta file after deleting bucket
The meta file is deleted only if the bucket meta data is not synced

Signed-off-by: Orit Wasserman <owasserm@redhat.com>

Fixes: #11149
Backport: hammer, firefly
2015-04-07 10:35:51 +02:00
nehaummareddy
168881b61d doc: Replaced with apt word and fixed grammatical error
Signed-off-by: Neha Ummareddy <nehaummareddy@gmail.com>
2015-04-07 14:11:23 +06:00
9seconds
e76f84e179 rgw: quota not respected in POST object
Signed-off-by: Sergey Arkhipov <nineseconds@yandex.ru>
Backport: hammer, firefly
Fixes: #11323
2015-04-07 09:45:42 +03:00
Zhiqiang Wang
b47a5499a0 librbd: don't do readahead when m_readahead_pos reaching limit
When m_readahead_pos reaches the limit, there's no need to call
_compute_readahead to calculate the readahead. Just return with no
readahead.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-04-07 14:23:38 +08:00
Zhiqiang Wang
04fe26921f librbd: start readahead from m_last_pos when the size of the continuing
triggering request is big enough

If the size of the read triggering the continuing readahead is such big
that exceeding m_readahead_pos, should do the readahead starting from
m_last_pos.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-04-07 13:43:36 +08:00
Sage Weil
9c7ea3be91 Merge pull request #3867 from wonzhq/fiemap
FileStore: fiemap implementation using SEEK_HOLE/SEEK_DATA

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-06 15:48:27 -07:00
Sage Weil
cee47b361c Merge pull request #3170 from tchaikov/python-rados-refactor
python-rados: extract type-checking into a decorator

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-04-06 15:47:33 -07:00
Sage Weil
a074a1478d Merge pull request #3560 from XinzeChi/wip-pmon-all
ceph.in: add ceph ping mon.* for ping all monitor

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-06 15:47:09 -07:00
Sage Weil
6c070accfc Merge pull request #3879 from liewegas/wip-cache-mode-none
mon: warn if cache_mode is none and pool is a read or writ eoverlay tier

Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-06 15:46:21 -07:00
Josh Durgin
04566f5c54 Merge pull request #3980 from ceph/wip-rbd-update-features
librbd: add support for updating image features 

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-06 15:33:53 -07:00
Sage Weil
1594daecc6 Merge remote-tracking branch 'gh/hammer'
Conflicts:
	src/gmock
2015-04-06 13:43:01 -07:00