]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Jason Dillaman [Sat, 14 Feb 2015 06:24:44 +0000 (01:24 -0500)]
librbd: enforce write ordering with snapshot
The md_lock is now held for reading when scheduling write/discards.
Since snap_create now holds the lock for writing and flushes all
pending IO, write/discard operations will now be consistent for a
given request across objects.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sat, 7 Feb 2015 14:13:10 +0000 (09:13 -0500)]
librbd: use separate files for snapshot object maps
Instead of relying on the built-in object snapshot support,
create a separate object map object for each image snapshot.
This will allow a future repair utility to rebuild the object
map for an image's snapshots.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sat, 7 Feb 2015 14:57:36 +0000 (09:57 -0500)]
librados_test_stub: added IoCtx::write_full implementation
Mapped IoCtx::write_full to existing test method used by the
ObjectWriteOperation::write_full API method. Also added missing
cls_log implementation for debugging.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Josh Durgin [Mon, 16 Feb 2015 21:33:30 +0000 (13:33 -0800)]
Merge branch 'wip-librbd-object-map-crc' into hammer
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Wed, 4 Feb 2015 07:50:57 +0000 (02:50 -0500)]
librbd: skip invalidating an invalid object map
If the object map is already flagged as invalid, avoid
attempting to set the invalid object map flag again.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 4 Feb 2015 07:44:50 +0000 (02:44 -0500)]
cls_rbd: added CRC validation to object map
Added a footer to the object map which stores a header CRC and
and data CRCs for each 4KB chunk. Updates to the object map only
require recomputing the CRC to the affected 4KB chunk.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 16 Feb 2015 17:08:11 +0000 (09:08 -0800)]
Merge pull request #3739 from athanatos/wip-10840
PG,ReplicatedPG: make missing_digests local to scrub_compare_maps
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Feb 2015 17:00:20 +0000 (09:00 -0800)]
Merge pull request #3738 from athanatos/wip-10830
osd/: include version_t in extra_reqids with promote
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Feb 2015 16:55:32 +0000 (08:55 -0800)]
Merge pull request #3737 from athanatos/wip-10768
ReplicatedPG::on_change: requeue in_progress_async_reads close to last
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Mon, 16 Feb 2015 15:47:15 +0000 (07:47 -0800)]
Merge pull request #3694 from ceph/wip-10784
Fix 10784: librbd: image has watchers - not removing
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Fri, 13 Feb 2015 17:35:48 +0000 (18:35 +0100)]
Merge pull request #3720 from dachary/wip-10800-shec-experimental
erasure-code: mark the shec plugin as experimental
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Thu, 12 Feb 2015 14:50:21 +0000 (15:50 +0100)]
erasure-code: mark the shec plugin as experimental
Reject the creation of an erasure code profile including plugin=shec
unless --enable-experimental-unrecoverable-data-corrupting-features=shec
is set.
http://tracker.ceph.com/issues/10800 Fixes: #10800
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Thu, 12 Feb 2015 14:41:44 +0000 (15:41 +0100)]
tests: fix unused variable warning
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Thu, 12 Feb 2015 14:34:40 +0000 (15:34 +0100)]
common: capture check_experimental_feature_enabled message
Implement check_experimental_feature_enabled so that it returns the
message instead of unconditionally displaying it via derr. It allows the
caller to display it in another context.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Gregory Farnum [Fri, 13 Feb 2015 06:25:31 +0000 (22:25 -0800)]
Merge pull request #3717 from ceph/wip-decoding-oldest-snap
mds: fix decoding of InodeStore::oldest_snap
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Samuel Just [Thu, 12 Feb 2015 22:54:10 +0000 (14:54 -0800)]
PG,ReplicatedPG: make missing_digests local to scrub_compare_maps
We don't want/need to carry this state between scrub stages, so lets
remove the tempation by simply making it a local to scrub_compare_maps.
This caused a bug where we would attempt to write out the
missing_digests from the previous chunk during all future chunks, which
caused trouble.
Fixes: 10840
Signed-off-by: Samuel Just <sjust@redhat.com>
Josh Durgin [Thu, 12 Feb 2015 23:57:12 +0000 (15:57 -0800)]
Merge remote-tracking branch 'origin/wip-10785' into hammer
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Conflicts:
src/librbd/ImageWatcher.cc
Yan, Zheng [Thu, 12 Feb 2015 12:24:45 +0000 (20:24 +0800)]
mds: fix decoding of InodeStore::oldest_snap
There is no ENCODE_START/FINISH block when encoding inode that
embedded in dentry. So we can't use encoding version to check
if the buffer contains InodeStore::oldest_snap. Instead, we check
if the buffer iterator reaches end of buffer.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Sage Weil [Thu, 12 Feb 2015 02:31:39 +0000 (18:31 -0800)]
Merge remote-tracking branch 'gh/master' into hammer
Sage Weil [Thu, 12 Feb 2015 02:31:42 +0000 (18:31 -0800)]
Merge pull request #3522 from ceph/wip-8600
mon: OSDMonitor: tolerate catastrophically bad crush maps
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 12 Feb 2015 02:21:24 +0000 (18:21 -0800)]
Merge pull request #3703 from vuhuong/wip-xio-hammer
Wip xio hammer
Reviewed-by: Matt Benjamin <matt@cohortfs.com>
Samuel Just [Thu, 12 Feb 2015 01:07:05 +0000 (17:07 -0800)]
osd/: include version_t in extra_reqids with promote
Otherwise, we can't return the correct user version on a dup request.
Note: This patch does not handle compatilibity with the variant which
does not include the version_t field. Since it's been less than 2 weeks
and we haven't had a release, I think that's ok since handling
compatilibity would require some overhead in the encode/decode
methods.
Fixes: 10830
Introduced (merge):
b79c349067ab82b1ccb5d6cdac702f651b27a435
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:35:22 +0000 (17:35 -0800)]
Merge pull request #3664 from liewegas/wip-10695
mon: fix 'nan' from osd df output
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Josh Durgin [Thu, 12 Feb 2015 01:32:53 +0000 (17:32 -0800)]
Merge pull request #3704 from ceph/wip-10761
librbd: blacklist clients before breaking locks
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:29:41 +0000 (17:29 -0800)]
Merge pull request #3513 from rzarzynski/wip-10425
librados: Wip 10425
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:28:09 +0000 (17:28 -0800)]
Merge pull request #3515 from rzarzynski/wip-10458
librados: Wip 10458 - rectify the pool name caching in IoCtxImpl.
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:26:43 +0000 (17:26 -0800)]
Merge pull request #3674 from jdurgin/wip-python-leak
rados.py: keep reference to python callbacks
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:26:05 +0000 (17:26 -0800)]
Merge pull request #3676 from majianpeng/misc
Misc
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:24:35 +0000 (17:24 -0800)]
Merge pull request #3678 from tchaikov/fix-pg-leak
osd: fix PG leak in SnapTrimWQ._clear()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Loic Dachary [Thu, 12 Feb 2015 00:08:07 +0000 (01:08 +0100)]
Merge remote-tracking branch 'ceph/hammer'
Ken Dreyer [Wed, 11 Feb 2015 23:57:30 +0000 (16:57 -0700)]
Merge pull request #3683 from dachary/wip-10845-python-flask
tests: no need for python-flask at build time
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Loic Dachary [Wed, 11 Feb 2015 22:16:24 +0000 (23:16 +0100)]
tests: no need for python-flask at build time
http://tracker.ceph.com/issues/10845 Refs: #10845
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Gregory Farnum [Wed, 11 Feb 2015 23:01:06 +0000 (15:01 -0800)]
Merge pull request #3699 from ceph/wip-early-adopters
doc: Early adopter notes for CephFS
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Gregory Farnum [Wed, 11 Feb 2015 22:47:41 +0000 (14:47 -0800)]
Merge pull request #3617 from ceph/wip-10737
mds: disallow layout changes for files with data
Reviewed-by: John Spray <john.spray@redhat.com>
Gregory Farnum [Wed, 11 Feb 2015 22:39:29 +0000 (14:39 -0800)]
Merge pull request #3683 from ceph/wip-10791-stopping
MDSMonitor: do not allow MDS to transition from STATE_STOPPING
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Gregory Farnum [Wed, 11 Feb 2015 22:26:17 +0000 (14:26 -0800)]
Merge pull request #3599 from ceph/wip-traceless-reply
Wip traceless reply
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Josh Durgin [Wed, 11 Feb 2015 22:04:09 +0000 (14:04 -0800)]
Merge pull request #3700 from ceph/wip-librbd-maint-tests
tests: add simple tests for proxied maintenance operations
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Wed, 11 Feb 2015 21:56:02 +0000 (13:56 -0800)]
Merge pull request #3706 from dachary/wip-10839-shec-uninitialized-hammer
erasure-code: fix uninitialized data members on SHEC
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Wed, 11 Feb 2015 20:46:02 +0000 (21:46 +0100)]
erasure-code: fix uninitialized data members on SHEC
Also fix the tests that verify the result when init is not called and
factorize the two tests that were almost identical for simplicity.
http://tracker.ceph.com/issues/10839 Fixes: #10839
Backport: hammer
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Samuel Just [Wed, 11 Feb 2015 18:30:51 +0000 (10:30 -0800)]
ReplicatedPG::on_change: requeue in_progress_async_reads close to last
Fixes: 10768
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 11 Feb 2015 18:29:47 +0000 (10:29 -0800)]
Merge pull request #3692 from athanatos/wip-8753
ReplicatedPG::on_change: clean up callbacks_for_degraded_object
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Mon, 9 Feb 2015 18:37:15 +0000 (10:37 -0800)]
ReplicatedPG::on_change: clean up callbacks_for_degraded_object
Backport: dumpling, firefly, giant
Fixes: 8753
Signed-off-by: Samuel Just <sjust@redhat.com>
Sage Weil [Wed, 11 Feb 2015 18:26:25 +0000 (10:26 -0800)]
Merge pull request #3643 from athanatos/wip-10734
ObjectStore: fix Transaction encoding version number
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 Feb 2015 17:21:36 +0000 (09:21 -0800)]
Merge remote-tracking branch 'gh/master' into hammer
Sage Weil [Wed, 11 Feb 2015 17:21:53 +0000 (09:21 -0800)]
Merge pull request #3092 from abartlet/ceph-dmcrypt-plain
Ceph dmcrypt with LUKS (split into 4 patches)
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Wed, 11 Feb 2015 17:20:19 +0000 (09:20 -0800)]
Merge branch 'hammer' of github.com:ceph/ceph into hammer
mon bits
Reviewed-by: Sage Weil <sage@redhat.com>
cli bits
Reviewed-by: Dan Mick <dmick@redhat.com>
Sage Weil [Wed, 11 Feb 2015 15:58:38 +0000 (07:58 -0800)]
mon/PGMonitor: drop pg ls debug line
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Wed, 11 Feb 2015 12:11:03 +0000 (12:11 +0000)]
doc: add a page for CephFS early adopters
This is where we should point people who are
trying out CephFS in evaluation environments.
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Mon, 2 Feb 2015 11:36:43 +0000 (03:36 -0800)]
doc/cephfs: Ceph FS -> CephFS
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Feb 2015 11:34:46 +0000 (03:34 -0800)]
doc/cephfs: clarify the 'not production ready' warning
Continue to run into people who see this and run away (occasionally to
less robust solutions) without understanding why.
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Wed, 11 Feb 2015 13:18:53 +0000 (13:18 +0000)]
build-doc: package checks for fedora
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 11 Feb 2015 12:56:34 +0000 (12:56 +0000)]
build-doc: don't ignore errors
It's hard to see what went wrong when e.g. a pip
install fails, if it just steams right past.
Signed-off-by: John Spray <john.spray@redhat.com>
Vu Pham [Wed, 11 Feb 2015 10:36:11 +0000 (02:36 -0800)]
xio: Fix out-of-order responses
Without this clients received out-of-order responses from xio messenger
Signed-off-by: Raju.Kurunkad@sandisk.com
Vu Pham [Wed, 11 Feb 2015 10:21:19 +0000 (02:21 -0800)]
cmake: Fix cmakelist to compile librbd
Signed-off-by: Vu Pham <vu@melanox.com>
David Zafman [Wed, 11 Feb 2015 04:25:05 +0000 (20:25 -0800)]
osd: Update object state after removing watch from object info
Fixes: #10784
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 11 Feb 2015 04:24:22 +0000 (20:24 -0800)]
osd: Simplify handle_watch_timeout() using existing support functions
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Wed, 11 Feb 2015 01:42:21 +0000 (17:42 -0800)]
Merge pull request #3691 from athanatos/wip-6003
FileJournal: fix journalq population in do_read_entry()
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 Feb 2015 01:36:35 +0000 (17:36 -0800)]
Merge pull request #3690 from athanatos/wip-10817
Wip 10817
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 Feb 2015 01:33:18 +0000 (17:33 -0800)]
Merge pull request #3689 from athanatos/wip-10771
ReplicatedPG::eval_repop: check waiting_for_* even if !m
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 Feb 2015 01:19:44 +0000 (17:19 -0800)]
Merge branch 'wip-7701' of git://github.com/xinxinsh/ceph into hammer
Conflicts:
src/osd/osd_types.h
Ken Dreyer [Tue, 10 Feb 2015 23:47:27 +0000 (16:47 -0700)]
Merge branch 'dachary-wip-10728-fedora-junit'
ceph.spec.in: junit always except for EPEL 6
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Loic Dachary [Tue, 3 Feb 2015 15:14:23 +0000 (16:14 +0100)]
ceph.spec.in: junit always except for EPEL 6
The package was renamed a long time ago (around the Fedora 15
timeframe). The "junit4" name is only relevant for EPEL 6. For EPEL 7
and Fedora 20, the "junit" package has "Provides: junit4". And most
recently, in the junit package that ships in Fedora 21 and 22, the
package maintainer dropped the old Provides: line.
http://tracker.ceph.com/issues/10728 Fixes: #10728
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Greg Farnum [Tue, 10 Feb 2015 22:18:52 +0000 (14:18 -0800)]
MDSMonitor: do not allow MDS to transition from STATE_STOPPING
They can only go into STATE_STOPPED. I was a little concerned
that some of the rejoin code might inadvertently allow a stopping
MDS to end up active, but after a little auditing it looks like
that all behaves properly and this is an invariant we maintain.
Fixes: #10791
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Dmytro Iurchenko [Mon, 9 Feb 2015 15:07:53 +0000 (17:07 +0200)]
rgw: Swift API. The second way of specifying desirable response format.
OpenStack Object Storage API v1 defines two ways for the client to tell which response format it understands.
Until now RGW looked at query variable 'format' only. This commit implements the second way of setting the format by
providing 'Accept' HTTP-header with the desirable response mime-type.
Backport: hammer
Fixes: #10746
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
Josh Durgin [Tue, 10 Feb 2015 21:36:23 +0000 (13:36 -0800)]
Merge pull request #3682 from ceph/wip-10719
Wip 10719
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 10 Feb 2015 21:00:26 +0000 (13:00 -0800)]
Merge pull request #3680 from ceph/wip-10827
osdc/Objecter: linger_register now acquires rwlock
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Fri, 6 Feb 2015 02:18:23 +0000 (18:18 -0800)]
rgw: remove multipart entries for bucket index when aborting
Fixes #10719
Since we now let the gc clean the aborter multipart uploads, we need to
clear the multipart entries from the bucket index when cleaning up the
meta object.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 10 Feb 2015 02:16:13 +0000 (18:16 -0800)]
rgw: encode rgw_obj::orig_obj
We weren't encoding orig_obj, however, it's now needed so that we can
call get_index_key() on decoded objects. Only encode/decode it if ns or
instance are not empty.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Tue, 10 Feb 2015 20:38:45 +0000 (12:38 -0800)]
Merge pull request #3672 from ceph/wip-old-gcc
fix build and warnings on older gcc
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Yehuda Sadeh [Tue, 10 Feb 2015 17:44:08 +0000 (09:44 -0800)]
Merge branch 'wip-diurchenko-master' into hammer
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Dmytro Iurchenko [Tue, 3 Feb 2015 15:54:38 +0000 (17:54 +0200)]
rgw: Swift API. Support for X-Remove-Container-Meta-{key} header.
Fixes: #10475
Backport: hammer, firefly
Reported-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
Dmytro Iurchenko [Mon, 2 Feb 2015 10:52:44 +0000 (12:52 +0200)]
rgw: fix doc, A typo in command line argument name
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
Dmytro Iurchenko [Mon, 2 Feb 2015 09:27:00 +0000 (11:27 +0200)]
rgw: Swift API. Dump container's custom metadata.
Fixes: #10665
Backport: hammer, firefly
Reported-by: Ahmad Faheem <ahmad.faheem@ril.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
Loic Dachary [Tue, 10 Feb 2015 12:43:31 +0000 (13:43 +0100)]
Merge pull request #3525 from qiushanggao/master
Fix bug: When run Test_filejournal testcase with gtest argument, all of testcases is failed.
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jianpeng Ma [Fri, 6 Feb 2015 07:19:46 +0000 (15:19 +0800)]
rados: add 'watch/notify' in rados --help command.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Tue, 10 Feb 2015 12:34:22 +0000 (20:34 +0800)]
rados: Using readable format to print object mtime when call 'stat obj'.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Loic Dachary [Tue, 10 Feb 2015 10:59:52 +0000 (11:59 +0100)]
Merge pull request #3677 from tchaikov/fix-sign-unsigned-comparison-warnings
erasure-code: fix compilation warnings
Reviewed-by: Loic Dachary <ldachary@redhat.com>
qiushanggao [Tue, 20 Jan 2015 02:27:50 +0000 (10:27 +0800)]
Fix bug: When run Test_filejournal testcase with gtest argument, all of testcases is failed.
when run testcase with gtest argument, for example, with argument --gtest_output=xml:/root/reports/ceph_test_cls_version.xml,
then the test result is failed, because of the test program use the first argument as the journal file name.
Signed-off-by: shanggao qiu <qiushanggao@qq.com>
Kefu Chai [Tue, 10 Feb 2015 10:24:23 +0000 (18:24 +0800)]
erasure-code: fix compilation warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 10 Feb 2015 08:29:45 +0000 (16:29 +0800)]
osd: fix PG leak in SnapTrimWQ._clear()
Fixes: #10421
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Tue, 10 Feb 2015 08:21:41 +0000 (09:21 +0100)]
Merge pull request #3673 from tchaikov/cosmetic-init-with-false-no-0
osd/PG.c: use boolean to init `bool` variables
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Greg Farnum [Fri, 6 Feb 2015 05:12:17 +0000 (21:12 -0800)]
fsync-tester: print info about PATH and locations of lsof lookup
We're seeing the lsof invocation fail (as not found) in testing and nobody can
identify why. Since attempting to reproduce the issue has not worked, this
patch will gather data from a genuinely in-vitro location.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Fri, 6 Feb 2015 06:01:43 +0000 (22:01 -0800)]
test_libcephfs: test we can't set layouts on existing files
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Josh Durgin [Tue, 10 Feb 2015 04:50:23 +0000 (20:50 -0800)]
rados.py: keep reference to python callbacks
If we don't keep a reference to these, the librados aio calls will
segfault since the python-level callbacks will have been garbage
collected. Passing them to aio_create_completion() does not take a
reference to them. Keep a reference in the python Completion object
associated with the request, since they need the same lifetime.
This fixes a regression from
60b019f69aa0e39d276c669698c92fc890599f50 .
Fixes: #10775
Backport: dumpling, firefly, giant
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Tue, 10 Feb 2015 01:41:19 +0000 (17:41 -0800)]
ShardedThreadPool: make wait timeout on empty queue configurable
Fixes: 10818
Backport: giant
Signed-off-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Tue, 10 Feb 2015 02:32:47 +0000 (10:32 +0800)]
osd/PG.c: use boolean to init `bool` variables
Signed-off-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Tue, 10 Feb 2015 01:11:38 +0000 (17:11 -0800)]
WorkQueue: make wait timeout on empty queue configurable
Fixes: 10817
Backport: giant, firefly, dumpling
Signed-off-by: Samuel Just <sjust@redhat.com>
xinxin shu [Fri, 30 Jan 2015 06:36:35 +0000 (14:36 +0800)]
add tests for ceph pg ls-by-pool
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 04:58:54 +0000 (12:58 +0800)]
add CLI ceph pg ls-by-pool
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 04:55:19 +0000 (12:55 +0800)]
add tests for ceph pg ls-by-osd
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 02:41:22 +0000 (10:41 +0800)]
add CLI ceph pg ls-by-osd
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 02:38:27 +0000 (10:38 +0800)]
add tests for ceph pg ls-by-primary
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 06:09:16 +0000 (14:09 +0800)]
fix error : ceph pg ls 0
no valid command found; 10 closest matches:
pg ls-by-primary <osdname (id|osd.id)> {<int>} {active|clean|down|replay|splitting|scrubbing|scrubq|degraded|inconsistent|peering|repair|recovery|backfill_wait|incomplete|stale|remapped|deep_scrub|backfill|backfill_toofull|recovery_wait|undersized [active|clean|down|replay|splitting|scrubbing|scrubq|degraded|inconsistent|peering|repair|recovery|backfill_wait|incomplete|stale|remapped|deep_scrub|backfill|backfill_toofull|recovery_wait|undersized...]}
Error EINVAL: invalid command
this is due to partial compare of prefix
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
Josh Durgin [Mon, 9 Feb 2015 23:00:18 +0000 (15:00 -0800)]
locally disable pragma warnings on gcc < 4.6
diagnostic push|pop are not present before 4.6, so each use gives a
warning. Temporarily ignore these by disabling/reenabling -Wpragmas.
Note that this means the other disabled warnings are not scoped on
old gcc. I don't think this is worth fixing, since newer gcc will
respect the scope and show us the warnings outside of it.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Mon, 9 Feb 2015 22:55:15 +0000 (14:55 -0800)]
Pipe: conditionally compile IPTOS setting
This doesn't exist on older platforms.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Thu, 5 Feb 2015 06:20:00 +0000 (01:20 -0500)]
librbd: consolidate all async operation flush logic
librbd has three different methods for flushing asynchronous
operations. These have all been consolidated down to a single,
shared method to fix an existing issue and simplify maintenance
going forward.
Fixes: #10783
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Thu, 5 Feb 2015 06:22:38 +0000 (01:22 -0500)]
xlist: added missing include
The xlist header references NULL without including
the header which defines it.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 5 Feb 2015 17:51:08 +0000 (09:51 -0800)]
ReplicatedPG::eval_repop: check waiting_for_* even if !m
There can be client ops waiting on a promote now.
Fixes: 10771
Signed-off-by: Samuel Just <sjust@redhat.com>
Loic Dachary [Mon, 9 Feb 2015 14:20:43 +0000 (15:20 +0100)]
Merge pull request #3602 from dachary/wip-10730-fedora-docker
tests: add Dockerfile for fedora
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Mon, 9 Feb 2015 14:18:57 +0000 (15:18 +0100)]
Merge pull request #3656 from dachary/wip-osd-scrub-repair
tests: run osd-scrub-repair.sh with make check
Reviewed-by: Sebastien Ponce <Sebastien.Ponce@cern.ch>