Commit Graph

39199 Commits

Author SHA1 Message Date
Yan, Zheng
1479300a68 mds: properly update CInode->first during journal replay
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-02-05 22:40:37 +08:00
Loic Dachary
334a62df4f Merge pull request #3638 from dachary/wip-make-check
run-make-check.sh: git --ancestry-path is not backward compatible

Reviewed-by: Dmytro Iurchenko <diurchenko@mirantis.com>
2015-02-05 15:24:00 +01:00
Loic Dachary
3cf7fcc6cb install-deps.sh: check for debian/control existence
If the debian/control file does not exist the error is cryptic.
Improve the situation by checking before running dpkg-checkbuilddeps.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-05 14:46:41 +01:00
Loic Dachary
09c152a67c run-make-check.sh: git --ancestry-path is not backward compatible
The behavior is different on git 1.8 which is the default on centos7.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-05 14:37:38 +01:00
Loic Dachary
3b73ccff74 Merge pull request #3630 from hef87/hef87-patch-1
Bug fix : AsyncConnection: fix wrong scope of data blocks

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-02-05 13:58:46 +01:00
Feng He
3fba9ac104 Bug fix : AsyncConnection: fix wrong scope of data blocks
Signed-off-by: Feng He <fenglife@hotmail.com>
2015-02-05 19:01:37 +08:00
Sage Weil
581c70b375 Merge pull request #3609 from hef87/hef87-patch-1
AsyncConnection: fix wrong scope of data blocks

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
2015-02-05 02:51:32 -08:00
Sage Weil
7eca03e290 Merge remote-tracking branch 'gh/hammer' 2015-02-05 02:18:33 -08:00
Sage Weil
f928f68347 Merge remote-tracking branch 'gh/wip-assert-version'
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-05 02:18:06 -08:00
Sage Weil
773ff16bc3 Merge pull request #3532 from dachary/wip-run-make-check
run-make-check: use nproc and shorter git expression
2015-02-05 02:01:44 -08:00
Josh Durgin
0445cb9cd0 Merge pull request #3611 from kylinstorage/wip-rbd-recover-tool
Wip rbd recover tool

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-02-05 11:01:30 +01:00
Sage Weil
9132c6794f Merge pull request #3544 from vuhuong/xio-spread-portals
Xio spread portals

Reviewed-by: Matt Benjamin <matt@cohortfs.com>
2015-02-05 01:36:12 -08:00
Sage Weil
1741e07435 Merge pull request #3628 from SUSE/wip-initradosgw-fixup
Unconditionally chown rados log file.

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-05 01:31:08 -08:00
Thorsten Behrens
41611ea27a Unconditionally chown rados log file.
This fixes bnc#905047 (in a somewhat ad-hoc way). Sadly the log
file gets created from several places, so its existence does not
mean init-radosgw had actually run.

Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2015-02-05 10:26:36 +01:00
Sage Weil
eacbcacd6a Merge pull request #3623 from ceph/wip-opath
client: fix O_PATH on older Linux systems

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2015-02-05 01:22:49 -08:00
Sage Weil
7dc9adeec3 Merge pull request #3622 from athanatos/wip-10340
Objecter::_op_submit_with_budget: add timeout before call

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-05 01:12:51 -08:00
Sage Weil
8fd162e1f0 Merge pull request #3621 from athanatos/wip-10717
ReplicatedPG::do_op: ignore snapset_obc if !exists

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-05 01:12:07 -08:00
Feng He
a3fc9d4e03 AsyncConnection: fix wrong scope of data blocks
Signed-off-by: Feng He <fenglife@hotmail.com>
2015-02-05 10:09:13 +08:00
Yan, Zheng
dd4fa1d32a Merge pull request #3616 from ceph/wip-export-dir
mds: implement export dir asok
2015-02-05 09:51:18 +08:00
Min Chen
adebf22d3c rbd_recover_tool: move rbd_recover_tool directory to src/tools subdirectory
Signed-off-by: Min Chen <minchen@ubuntukylin.com>
2015-02-05 08:25:39 +08:00
Greg Farnum
70ae314d87 client: fix O_PATH on older Linux systems
O_PATH was introduced in 2.6.39, but many Linux systems in use
today still have older kernels than that. Check for them.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-02-04 15:03:21 -08:00
Josh Durgin
a2d6b07296 Merge pull request #3607 from ceph/wip-librbd-invalid-map
librbd: verify image's object map validity

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-02-04 23:56:04 +01:00
Josh Durgin
2b31fb1aa9 Merge pull request #3592 from ceph/wip-librbd-watch-errors
librbd: better handling for image watch errors

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-02-04 23:39:40 +01:00
Zhiqiang Wang
2a83ef3c3d include/encoding: fix an compile warning
./include/encoding.h:317:7: warning: 't' may be used uninitialized in
this function [-Wmaybe-uninitialized]

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-04 13:15:43 -08:00
Sage Weil
6cc8bae58c Merge pull request #3619 from ceph/wip-8903
librbd: removed lingering TODO message from ImageWatcher

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-04 12:55:59 -08:00
Mykola Golub
71c6d98979 msg: fixup for 2ffacbe (crc configuration in messenger)
* Update the remaining Message::encode() calls, which now expect crc
  flags to be passed as a flags parameter instead of a bool (this e.g.
  fixes the issue with routing messages forwarded from an older client).

* In Message::encode() data crc is calculated when MSG_CRC_DATA is
  set, but in decode_message(), Pipe::read/write_message() data crc is
  calculated when MSG_CRC_HEADER is set. Fix this.

Note, 2ffacbe changed the behavior of Pipe::read_message/write_message():
previously the methods always calculated crc, now they calculate it
only if crc is enabled in the config. This means crc can not be disabled
if there are monitors of older version in the cluster.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-04 11:21:37 -08:00
Gregory Farnum
fa9a160377 Merge pull request #3613 from rzarzynski/wip-4920
client: add support for O_NOFOLLOW and O_PATH

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-02-04 09:30:29 -08:00
John Spray
b2549a6ccf mds: implement export dir asok
This was available as a legacy mds tell command
previously: make it availably via the cleaner
asok interface.  asok rather than new `tell` because
it's a low level/debug thing.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-04 13:22:48 +01:00
Radoslaw Zarzynski
190c7e355d client: implement support for O_PATH on Linux.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-02-04 10:02:17 +01:00
Radoslaw Zarzynski
911e4c058e client: add support for O_NOFOLLOW in Client::open().
Fixes: #4920
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-02-04 10:00:53 +01:00
Min Chen
a7a6fe4fa0 rbd-recover-tool: add usefull information of this tool
include README, FAQ, TODO

Signed-off-by: Min Chen <minchen@ubuntukylin.com>
2015-02-04 16:12:01 +08:00
Min Chen
ea69219af4 rbd-recover-tool: add a test case for raw image & snapshot
Signed-off-by: Min Chen <minchen@ubuntukylin.com>
2015-02-04 16:11:13 +08:00
Min Chen
4f395ebb18 rbd-recover-tool: implement the function framework
add control files & config files

rbd-recover-tool is an offline tool for dead ceph cluster
to recever rbd image in replicated pool from all osds.
it is a simple but usefull policy to keep data secruity on ceph

Sigbed-off-by: Min Chen <minchen@ubuntukylin.com>
2015-02-04 16:09:13 +08:00
Min Chen
aa3cda22ac rbd-recover-tool: add the basic function files
Signed-off-by: Min Chen <minchen@ubuntukylin.com>
2015-02-04 16:06:19 +08:00
Loic Dachary
26cc9d3479 Merge pull request #3603 from dachary/wip-10729-debian-install-deps
install-deps.sh: get lsb_release if needed

Reviewed-by: Yann Dupont <yann@objoo.org>
2015-02-04 08:40:57 +01:00
Dan Mick
48c0a9f520 Merge pull request #3565 from rzarzynski/wip-7264
pybind/rados.py: fix error hiding and inconsistency on librados load.

Reviewed-by: Dan Mick <dan.mick@redhat.com>
2015-02-03 20:57:47 -08:00
John Wilkins
0548beadf2 doc: Removed references to Inktank suppport.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2015-02-03 14:50:25 -08:00
John Wilkins
babac0c4cc doc: Removed Inktank reference.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2015-02-03 14:14:22 -08:00
Gregory Farnum
dca8f907fe Merge pull request #3598 from ceph/wip-10720
mds: fix leaked MDCache::logger

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-02-03 10:43:42 -08:00
John Wilkins
e0883ebf7a Merge pull request #3262 from dachary/wip-jerasure
erasure-code: update links to jerasure upstream

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2015-02-03 09:21:56 -08:00
Loic Dachary
19d5de92bf install-deps.sh: babeltrace is not on wheezy
The babeltrace package is not found on wheezy, not just squeeze.
Fix the regular expression that incorrectly replaced
libbabeltrace-ctf-dev with -ctf-dev leading to a strange error

E: Opening configuration file tf-dev - ifstream::ifstream (2: No such file or directory)

when running apt-get install.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-03 17:40:41 +01:00
Samuel Just
c6a60d9c73 ReplicatedPG::do_op: ignore snapset_obc if !exists
Fixes: 10717
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-02-03 08:37:37 -08:00
Loic Dachary
4e791f3a83 install-deps.sh: get lsb_release if needed
Debian does not have lsb_release installed by default.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-03 17:18:09 +01:00
Loic Dachary
9eea764947 Merge pull request #3601 from dachary/wip-10729-fedora-install-deps
install-deps.sh: get lsb_release if needed

Reviewed-by: Haïkel Guémar <hguemar@redhat.com>
2015-02-03 16:39:53 +01:00
Sage Weil
65c7e07aca doc/release-notes: v0.92
Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-03 07:37:05 -08:00
Loic Dachary
f4d65150d0 install-deps.sh: get lsb_release if needed
Fedora does not have lsb_release installed by default.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-02-03 16:35:13 +01:00
Sage Weil
5a08179384 Merge remote-tracking branch 'gh/next' 2015-02-03 06:52:07 -08:00
Sage Weil
b9412def9d Merge commit '4ada7cc8e908a26b4640497b64b2ed9986889a92' into next 2015-02-03 06:50:22 -08:00
Jason Dillaman
24349a8b85 librbd: removed lingering TODO message from ImageWatcher
The TODO was a reminder to integrate with the watch/notify
error handler.  This integration was already completed under
previous commits.

Fixes: #8903
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-02-03 08:57:15 -05:00
John Spray
17a8330eae mds: fix leaked MDCache::logger
Fixes: #10720
Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-03 14:10:04 +01:00