Commit Graph

52193 Commits

Author SHA1 Message Date
Sage Weil
489324f113 doc/configuration/filesystem-recommendations: recommend against ext4
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 13:24:56 -04:00
Sage Weil
a8e286915d doc/release-notes: mention ext4 in the release notes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 13:07:50 -04:00
Sage Weil
112649fc02 doc/start/os-recommendations: drop ancient 'syncfs' note
...and with it it's mention of ext4.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 13:07:49 -04:00
Sage Weil
638fd2ec2b doc/rados/configuration: minor cleanup of inline xattr description
- whitespace
- it's not omap

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 11:19:13 -04:00
Sage Weil
2601e2fb7e rgw/rgw_rados: use to_str() instead of c_str()
bufferlist::c_str() doesn't guarantee null termination.

Fixes: http://tracker.ceph.com/issues/15463
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 11:15:14 -04:00
Sage Weil
d56e43950c buffer: add list::to_str()
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 11:15:14 -04:00
Kefu Chai
0785c17a60 Merge pull request #8552 from tchaikov/wip-15426
PG: set epoch_created and parent_split_bits for child pg

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-12 23:09:55 +08:00
Kefu Chai
b9157310ea Merge pull request #8521 from stiopaa1/checkgenerated
check-generated.sh: can't source bash from sh

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-12 22:57:44 +08:00
Greg Farnum
507e7edbcf Merge branch 'jewel' 2016-04-12 07:32:48 -07:00
Greg Farnum
735f4be9e2 Merge remote-tracking branch 'origin/greg-fs-testing-411' into jewel 2016-04-12 07:32:34 -07:00
Sage Weil
bcfce592a2 doc: do not include ext4 as an example
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 08:49:55 -04:00
Sage Weil
2c72c9aa52 doc/8/ceph-deploy: do not include ext4 as an example value
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 08:48:46 -04:00
Sage Weil
61c4c1c99b doc: list ext4 last
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 08:48:25 -04:00
Sage Weil
ae97840fa1 doc/dev: remove ancient filestore-filesystem-compat doc
This describes a problem we fixed years ago.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 08:39:00 -04:00
Kefu Chai
8b985561ba PG: set epoch_created and parent_split_bits for child pg
if we have a wrong "created", OSD receiving an osd_pg_create message
could fail to project its history and crash. a bad split_bits could
mislead the monitor and osd, and hence cause problems.
* set child.info.history.epoch_created to osdmap.get_epoch() instead of
  using the parent's epoch_created
* set child.info.stats.parent_split_bits to the calculated split_bits
  instead using the parent's split_bits

Fixes: http://tracker.ceph.com/issues/15426
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-04-12 19:43:11 +08:00
Kefu Chai
2be6017c95 pybind/Makefile.am: fix build with ccache
as a work-around of https://bugs.python.org/issue8027, pass ${CC} and
${LDSHARED} to distutils, so we can still have a working compiling
command line even ${CC} is "ccache gcc".

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-04-12 12:47:48 +08:00
Kefu Chai
5f9c77bd10 Merge pull request #8544 from xiexingguo/xxg-wip-15464
test: fix ut test failure caused by lfn change

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-12 10:50:52 +08:00
xie xingguo
bd1c548afa test: fix ut test failure caused by lfn change
"755c685f2d"
change the lfn_parse_object_name() return type from bool to int but does not
change the relevant test correspondingly.

Fixes: http://tracker.ceph.com/issues/15464
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-12 09:06:36 +08:00
Jason Dillaman
8087cfa8e9 librbd: do not return a failure if a peer cannot be notified of update
Maintenance ops that fail to notify a peer of the update should not
report a failure to the original user.

Fixes: http://tracker.ceph.com/issues/15351
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-04-11 20:58:50 -04:00
Greg Farnum
b922788841 Merge branch 'jewel-15402' of git://github.com/ukernel/ceph into greg-fs-testing
Do not ignore standby_for_fscid when selecting a standby.

https://github.com/ceph/ceph/pull/8536

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-04-11 14:13:07 -07:00
John Wilkins
45219e0e2a Fixed ceph-common install.
Fixes: #15438

Signed-off-by: John Wilkins <jowilkin@redhat.com>
2016-04-11 09:54:02 -07:00
Jason Dillaman
5e6783cce5 librbd: fixed bug in disabling non-primary image mirroring
librbd: fixed bug in disabling non-primary image mirroring

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-04-11 12:33:25 -04:00
Sage Weil
210d5d82ab Merge pull request #8496 from athanatos/wip-15312
os/filestore: force lfn attrs to be written atomically, restructure name length limits
2016-04-11 11:49:58 -04:00
Yan, Zheng
fd2f4555f9 mds: take standby_for_fscid into account in FSMap::find_unused()
Fixes: http://tracker.ceph.com/issues/15402
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-04-11 22:43:25 +08:00
Casey Bodley
f6820c0003 Merge pull request #8529 from oritwas/wip-rgw-fix-zone-set
radosgw-admin: allow
2016-04-11 09:56:47 -04:00
Ricardo Dias
b6d8c32ae8 librbd: Fixed bug in disabling non-primary image mirroring
It is only possible to remove image from rbd_mirroring object if the
mirroring image state is set to DISABLING.

Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-04-11 14:50:30 +01:00
Karol Mroz
0b98b4fc87 rgw-rados: return RGWSystemMetaObj init directly
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-04-11 14:54:54 +02:00
Loic Dachary
0913938d41 Merge pull request #8508 from JiYou/fix-ceph-disk
ceph-disk: do not always fail when re-using a partition

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-04-11 14:44:18 +02:00
Sage Weil
4e2a29ad4e Merge remote-tracking branch 'gh/jewel' 2016-04-11 08:38:27 -04:00
youji
14a66f67db ceph-disk: fix PrepareData.set_type() args should be class member.
Signed-off-by: You Ji <youji@ebay.com>
2016-04-11 05:28:43 -07:00
youji
4c203b3a14 ceph-disk: fix spelling mistake geattr to getattr.
Signed-off-by: You Ji <youji@ebay.com>
2016-04-11 05:28:43 -07:00
youji
5b098ca0e7 ceph-disk: fix lockbox set_or_create_partition()
Signed-off-by: You Ji <youji@ebay.com>
2016-04-11 05:28:13 -07:00
Orit Wasserman
14cec52b26 Merge pull request #8507 from kmroz/wip-rgw-admin-cleanup
rgw-admin: remove unused iterator and fix error message
2016-04-11 12:47:12 +02:00
Orit Wasserman
b7708da905 radosgw-admin: fix name checking
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-11 10:54:48 +02:00
Orit Wasserman
770846b2ee radosgw-admin: allow setting zone when there is no realm
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-04-11 10:54:48 +02:00
Kefu Chai
30ce32a67d cmake: pass RULE_LAUNCHER_* to cython
* pass the environment variables using `env` to pass environment
  varibles with space(s) in them to the COMMAND in add_custom_target.
  otherwise, cmake will try to quote the space with "\". this breaks the
  generated command line.
* add a comment for ccache to note that we do not expect ccache to speed
  up linking. we use it as the linker's launcher to workaround
  https://bugs.python.org/issue8027. to be specific,
  distutils.UnixCCompiler.link overwrites the first linker CLI's arg
  using the the first C++ compiler's CLI arg, if "env" is not used to
  launch the linker. this breaks the cythonization of our pybind APIs.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-04-11 00:46:31 +08:00
Loic Dachary
b474652070 Merge pull request #8522 from swamireddy/10.1.1-mailmap
mailmap update

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-04-10 17:14:01 +02:00
Haomai Wang
175b3798d5 AsyncConnection: avoid is_connected require connection's lock
Fixes: http://tracker.ceph.com/issues/15440
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-04-10 17:02:58 +08:00
Michal Jarzabek
49886d5d8a check-generated.sh: can't source bash from sh
'source' is not sh command and executing bash commands in sh won't
work. We could try to replace it with:
'. ../qa/workunits/ceph-helpers.sh'
but the above file uses bash.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-04-10 09:51:26 +01:00
Loic Dachary
871cd5a9b9 Merge pull request #8519 from dachary/wip-xenial
tests: add Ubuntu 16.04 xenial dockerfile

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-09 23:19:09 +02:00
Jason Dillaman
ad489f7b5c librbd: exclusive lock might be disabled while waiting to acquire lock
Disabling exclusive lock will now acquire the exclusive lock before
proceeding.  If this resulted in another client releasing the lock
and re-requesting it, support for exclusive locking might be disabled
while a request is pending.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-04-09 14:44:41 -04:00
Jason Dillaman
fd2436156b librbd: acquire exclusive lock before disabling features
If object map or journaling is dynamically disabled, we want to
ensure that no in-flight IO could be updating the objects while
we attempt to delete them.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-04-09 14:28:14 -04:00
Sage Weil
adcc44b7d9 Merge pull request #8517 from kjurka/rgw-admin-doc-region-list
doc: rgw admin uses "region list" not "regions list"
2016-04-09 14:21:43 -04:00
Sage Weil
4d954fef85 Merge pull request #8518 from wjin/fix
crush: fix typo

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2016-04-09 14:21:10 -04:00
Sage Weil
55aeba24b3 Merge pull request #8462 from xiexingguo/xxg-wip-scrub
osd: fix two scrub relevant issues

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-09 13:38:20 -04:00
Sage Weil
71b539c821 Merge pull request #8485 from liewegas/wip-fuse-log
ceph-fuse: rotate log file

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-04-09 13:35:15 -04:00
Sage Weil
21c9a2406c Merge pull request #8487 from liewegas/wip-copy-from-fail-cleanup
osd: clean up temp object if copy-from fails

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-04-09 13:34:39 -04:00
Sage Weil
c672c309ad Merge pull request #8486 from liewegas/wip-14695
librados: Revert "rados: Add new field flags for ceph_osd_op.copy_get."

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-04-09 13:33:54 -04:00
Sage Weil
e4eab045b4 Merge pull request #7956 from xiexingguo/xxg-wip-fixfstat
common: buffer: put a guard for stat() syscall during read_file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-09 13:32:57 -04:00
Jason Dillaman
458bef8401 librbd: dynamically disabling journaling needs to block writes
Need to clear any in-flight IO before the journal is closed to
avoid IO completions getting stuck in odd state.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-04-09 12:59:01 -04:00