]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Nathan Cutler [Wed, 1 Feb 2017 21:32:24 +0000 (22:32 +0100)]
Merge pull request #12405 from jan--f/wip-18199-jewel
jewel: build/ops: install-deps.sh based on /etc/os-release
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 21:29:24 +0000 (22:29 +0100)]
Merge pull request #12397 from linuxbox2/jewel-next
jewel: rgw: do not abort when accept a CORS request with short origin
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 21:15:35 +0000 (22:15 +0100)]
Merge pull request #12316 from dachary/wip-18101-jewel
jewel: Add workaround for upgrade issues for older jewel versions
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 20:37:45 +0000 (21:37 +0100)]
Merge pull request #12890 from dillaman/wip-18453-jewel
jewel: librbd: new API method to force break a peer's exclusive lock
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Loic Dachary [Wed, 1 Feb 2017 19:23:36 +0000 (20:23 +0100)]
Merge pull request #12302 from SUSE/wip-18135-jewel
jewel: build/ops: add hostname sanity check to run-{c}make-check.sh
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 15:18:04 +0000 (16:18 +0100)]
Merge pull request #12315 from dachary/wip-18102-jewel
jewel: rgw: Unable to commit period zonegroup change
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 15:14:15 +0000 (16:14 +0100)]
Merge pull request #12314 from dachary/wip-18107-jewel
jewel: multisite: failed assertion in 'radosgw-admin bucket sync status'
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 15:12:40 +0000 (16:12 +0100)]
Merge pull request #12313 from dachary/wip-18112-jewel
jewel: rgw: multisite requests failing with '400 Bad Request' with civetweb 1.8
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 15:02:05 +0000 (16:02 +0100)]
Merge pull request #12258 from rzarzynski/wip-rgw-17931-jewel
jewel: rgw: add support for the prefix parameter in account listing of Swift API
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:56:48 +0000 (15:56 +0100)]
Merge pull request #12156 from dachary/wip-17969-jewel
jewel: rgw: multisite upgrade from hammer -> jewel ignores rgw_region_root_pool
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:34:45 +0000 (15:34 +0100)]
Merge pull request #11990 from asheplyakov/jewel-17908
jewel: rgw: for the create_bucket api, if the input creation_time is zero, we …
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:31:21 +0000 (15:31 +0100)]
Merge pull request #11876 from dachary/wip-17839-jewel
jewel: rgw: the value of total_time is wrong in the result of 'radosgw-admin log show' opt
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:26:21 +0000 (15:26 +0100)]
Merge pull request #11868 from dachary/wip-17512-jewel
jewel: multisite: metadata master can get the wrong value for 'oldest_log_period'
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:24:11 +0000 (15:24 +0100)]
Merge pull request #11866 from dachary/wip-17709-jewel
jewel: rgw: multisite: coroutine deadlock assertion on error in FetchAllMetaCR
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:21:33 +0000 (15:21 +0100)]
Merge pull request #11497 from rzarzynski/wip-rgw-slashinfo-jewel
jewel: rgw: add suport for Swift-at-root dependent features of Swift API
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:18:42 +0000 (15:18 +0100)]
Merge pull request #11477 from dachary/wip-17119-jewel
jewel: rgw: multisite: assert(next) failed in RGWMetaSyncCR
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:17:03 +0000 (15:17 +0100)]
Merge pull request #11476 from dachary/wip-17162-jewel
jewel: rgw: multisite doesn't retry RGWFetchAllMetaCR on failed lease
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:15:01 +0000 (15:15 +0100)]
Merge pull request #11470 from dachary/wip-17514-jewel
jewel: rgw:bucket check remove _multipart_ prefix
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 1 Feb 2017 14:12:51 +0000 (15:12 +0100)]
Merge pull request #10661 from dachary/wip-16871-jewel
jewel: rgw: Have a flavor of bucket deletion in radosgw-admin to bypass garbage collection
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Loic Dachary [Wed, 1 Feb 2017 13:02:56 +0000 (14:02 +0100)]
Merge pull request #13187 from asheplyakov/jewel-bp-18729
jewel: cli: ceph-disk: convert none str to str before printing it
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 12:29:50 +0000 (13:29 +0100)]
Merge pull request #13153 from smithfarm/wip-no-firefly-on-centos
jewel: tests: upgrade:hammer-x: install firefly only on Ubuntu 14.04
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 12:17:48 +0000 (13:17 +0100)]
Merge pull request #13118 from smithfarm/wip-18274-jewel
jewel: Memory leaks in object_list_begin and object_list_end
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Wed, 1 Feb 2017 12:15:09 +0000 (13:15 +0100)]
Merge pull request #13025 from SUSE/wip-18605-jewel
jewel: ceph-disk prepare writes osd log 0 with root owner
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 12:12:57 +0000 (13:12 +0100)]
Merge pull request #13106 from ceph/wip-cd-dev-option
qa/tasks: jewel backport - ceph-deploy use of dev option
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 12:02:54 +0000 (13:02 +0100)]
Merge pull request #13062 from asheplyakov/jewel-bp-18379
jewel: msg/simple: clear_pipe when wait() is mopping up pipes
Reviewed-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 11:53:06 +0000 (12:53 +0100)]
Merge pull request #12978 from asheplyakov/jewel-18581
jewel: ReplicatedBackend: take read locks for clone sources during recovery
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 11:33:19 +0000 (12:33 +0100)]
Merge pull request #12755 from Abhishekvrshny/wip-18284-jewel
jewel: Need CLI ability to add, edit and remove omap values with binary keys
Reviewed-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 11:31:13 +0000 (12:31 +0100)]
Merge pull request #12677 from SUSE/wip-18104-jewel
jewel: mon: ceph osd down detection behaviour
Reviewed-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 11:28:50 +0000 (12:28 +0100)]
Merge pull request #12291 from asheplyakov/jewel-18108
jewel: msg/simple/Pipe: error decoding addr
Reviewed-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 11:27:46 +0000 (12:27 +0100)]
Merge pull request #11998 from Abhishekvrshny/wip-17877-jewel
jewel: FileStore: fiemap cannot be totally retrieved in xfs when the number of extents > 1364
Reviewed-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Wed, 1 Feb 2017 11:26:28 +0000 (12:26 +0100)]
Merge pull request #11991 from asheplyakov/jewel-17909
jewel: osd: limit omap data in push op
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Matt Benjamin [Tue, 31 Jan 2017 16:40:41 +0000 (11:40 -0500)]
Merge pull request #12045 from Abhishekvrshny/wip-17875-jewel
jewel: rgw: file: remove spurious mount entries for RGW buckets
Loic Dachary [Tue, 31 Jan 2017 15:42:14 +0000 (16:42 +0100)]
Merge pull request #13161 from smithfarm/wip-lfn-upgrade-hammer
jewel: tests: add require_jewel_osds before upgrading last hammer node
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 15:36:17 +0000 (16:36 +0100)]
Merge pull request #12425 from SUSE/wip-18190-jewel
jewel: rbd-mirror: gmock warnings in bootstrap request unit tests
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 14:16:45 +0000 (15:16 +0100)]
Merge pull request #13129 from smithfarm/wip-18558-jewel
jewel: rbd: bench-write will crash if --io-size is 4G
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 14:15:30 +0000 (15:15 +0100)]
Merge pull request #13155 from smithfarm/wip-18494-jewel
jewel: rbd: [rbd-mirror] sporadic image replayer shut down failure
Nathan Cutler [Tue, 31 Jan 2017 14:14:31 +0000 (15:14 +0100)]
Merge pull request #13128 from smithfarm/wip-18633-jewel
jewel: rbd: [qa] crash in journal-enabled fsx run
http://tracker.ceph.com/issues/13512
Nathan Cutler [Tue, 31 Jan 2017 14:11:43 +0000 (15:11 +0100)]
Merge pull request #13104 from idryomov/wip-fio-unmap-devices-jewel
qa/tasks: backport rbd_fio fixes to jewel
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 14:10:03 +0000 (15:10 +0100)]
Merge pull request #13156 from smithfarm/wip-18455-jewel
jewel: rbd: Attempting to remove an image w/ incompatible features results in partial removal
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 13:59:56 +0000 (14:59 +0100)]
Merge pull request #13157 from smithfarm/wip-18434-jewel
jewel: rbd: Improve error reporting from rbd feature enable/disable
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 13:59:04 +0000 (14:59 +0100)]
Merge pull request #13168 from trociny/wip-18550-jewel
jewel: librbd: metadata_set API operation should not change global config setting
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 13:55:58 +0000 (14:55 +0100)]
Merge pull request #12739 from SUSE/wip-18323-jewel
jewel: JournalMetadata flooding with errors when being blacklisted
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 13:54:19 +0000 (14:54 +0100)]
Merge pull request #12416 from SUSE/wip-18219-jewel
jewel: msg: don't truncate message sequence to 32-bits
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 13:52:00 +0000 (14:52 +0100)]
Merge pull request #13115 from smithfarm/wip-18404-jewel
jewel: mon: cache tiering: base pool last_force_resend not respected (racing read got wrong version)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 13:50:52 +0000 (14:50 +0100)]
Merge pull request #13045 from SUSE/wip-18553-jewel
jewel: mon: peon wrongly delete routed pg stats op before receive pg stats ack
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 13:49:56 +0000 (14:49 +0100)]
Merge pull request #13117 from smithfarm/wip-18280-jewel
jewel: mon: osd flag health message is misleading
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Tue, 31 Jan 2017 13:34:22 +0000 (08:34 -0500)]
Merge pull request #12320 from dachary/wip-18061-jewel
jewel: rgw:fix for deleting objects name beginning and ending with underscores of one bucket using POST method of js sdk.
Matt Benjamin [Tue, 31 Jan 2017 13:31:34 +0000 (08:31 -0500)]
Merge pull request #11759 from Abhishekvrshny/wip-17783-jewel
jewel: rgw: json encode/decode of RGWBucketInfo missing index_type field
John Spray [Tue, 31 Jan 2017 13:10:46 +0000 (14:10 +0100)]
Merge pull request #12153 from dachary/wip-18010-jewel
jewel: Cleanly reject session evict command when in replay
John Spray [Tue, 31 Jan 2017 13:10:23 +0000 (14:10 +0100)]
Merge pull request #12324 from dachary/wip-18103-jewel
jewel: truncate can cause unflushed snapshot data lose
John Spray [Tue, 31 Jan 2017 13:09:59 +0000 (14:09 +0100)]
Merge pull request #12783 from SUSE/wip-18413-jewel
jewel: cephfs: lookup of /.. in jewel returns -ENOENT
John Spray [Tue, 31 Jan 2017 13:08:56 +0000 (14:08 +0100)]
Merge pull request #12921 from xiaoxichen/wip-18520-jewel
Jewel: speed up readdir by skipping unwanted dn
John Spray [Tue, 31 Jan 2017 13:08:30 +0000 (14:08 +0100)]
Merge pull request #13119 from smithfarm/wip-18565-jewel
jewel: MDS crashes on missing metadata object
John Spray [Tue, 31 Jan 2017 13:08:20 +0000 (14:08 +0100)]
Merge pull request #13120 from smithfarm/wip-18551-jewel
jewel: ceph-fuse crash during snapshot tests
John Spray [Tue, 31 Jan 2017 13:08:01 +0000 (14:08 +0100)]
Merge pull request #13123 from smithfarm/wip-18282-jewel
jewel: monitor cannot start because of FAILED assert(info.state == MDSMap::STATE_STANDBY)
John Spray [Tue, 31 Jan 2017 13:07:52 +0000 (14:07 +0100)]
Merge pull request #13125 from smithfarm/wip-18195-jewel
jewel: cephfs: fix missing ll_get for ll_walk
John Spray [Tue, 31 Jan 2017 13:07:41 +0000 (14:07 +0100)]
Merge pull request #13126 from smithfarm/wip-18192-jewel
jewel: standby-replay daemons can sometimes miss events
Nathan Cutler [Fri, 27 Jan 2017 21:27:18 +0000 (22:27 +0100)]
tests: add require_jewel_osds before upgrading last hammer node
Note: this commit was inspired by
http://github.com/ceph/ceph-qa-suite/commit/
50758a4810794d265c5d36a71d1e16799251a00d
As of 10.2.4, when upgrading a cluster from hammer to jewel, after the last
node is upgraded the MON will put the cluster into HEALTH_WARN and say: "all
OSDs are running jewel or later but the 'require_jewel_osds' osdmap flag is not
set". The release notes say:
This is a signal for the admin to do "ceph osd set require_jewel_osds" – by
doing this, the upgrade path is complete and no more pre-Jewel OSDs may be
added to the cluster.
Fixes: http://tracker.ceph.com/issues/18719
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Tue, 31 Jan 2017 10:19:39 +0000 (11:19 +0100)]
Merge pull request #13049 from SUSE/wip-18433-jewel
jewel: rados bench seq must verify the hostname
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Tue, 31 Jan 2017 07:40:52 +0000 (08:40 +0100)]
Merge pull request #13040 from SUSE/wip-fs-thrash-jewel
jewel: tests: run fs/thrash on xfs instead of btrfs
Reviewed-by: John Spray <john.spray@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 07:39:35 +0000 (08:39 +0100)]
Merge pull request #13029 from SUSE/wip-18611-jewel
jewel: cephfs: client segfault on ceph_rmdir path /
Reviewed-by: John Spray <john.spray@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 07:34:46 +0000 (08:34 +0100)]
Merge pull request #12875 from asheplyakov/jewel-bp-18485
jewel: osd/PG: publish PG stats when backfill-related states change
Reviewed-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 07:32:58 +0000 (08:32 +0100)]
Merge pull request #12789 from SUSE/wip-18417-jewel
jewel: osd: leveldb corruption leads to Operation not permitted not handled and assert
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Tue, 31 Jan 2017 07:28:22 +0000 (08:28 +0100)]
Merge pull request #12761 from SUSE/wip-18402-jewel
jewel: tests: objecter_requests workunit fails on wip branches
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Tue, 31 Jan 2017 07:10:20 +0000 (08:10 +0100)]
Merge pull request #11947 from SUSE/wip-17884-jewel
jewel: mon: OSDs marked OUT wrongly after monitor failover
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Tue, 31 Jan 2017 07:07:40 +0000 (08:07 +0100)]
Merge pull request #11508 from SUSE/wip-17583-jewel
jewel: utime.h: fix timezone issue in round_to_* funcs.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Vasu Kulkarni [Thu, 26 Jan 2017 21:21:30 +0000 (13:21 -0800)]
Revert "use the create option during instantiation"
jewel cephfs still uses old Filesystem initializtion method
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Thu, 15 Dec 2016 22:11:00 +0000 (14:11 -0800)]
use dev option instead of dev-commit
Fixes: http://tracker.ceph.com/issues/18736
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Matt Benjamin [Mon, 30 Jan 2017 18:25:23 +0000 (13:25 -0500)]
Merge pull request #13169 from linuxbox2/jewel-mg-errortrans
jewel:rgw: fix interface compliance of RGWCivetWeb::write_data()
Jason Dillaman [Mon, 30 Jan 2017 16:38:21 +0000 (11:38 -0500)]
librbd: ensure owner lock is held before purging cache
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 6 Jan 2017 16:17:10 +0000 (11:17 -0500)]
librados: blacklist_add should wait for latest OSD map
This ensures that future operations against the OSDs force
a OSD map update to notice the blacklisted client.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
9242a2e4e1a5a9fcea48d8135b1589493fc28242 )
Jason Dillaman [Thu, 5 Jan 2017 18:31:57 +0000 (13:31 -0500)]
librbd: prevent assertion failure when journal IO is blacklisted
Fixes: http://tracker.ceph.com/issues/18429
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
c720f6e3704ed7e8cf41dffdb931dbb05d59a003 )
Jason Dillaman [Wed, 4 Jan 2017 17:12:27 +0000 (12:12 -0500)]
librbd: ignore blacklist error when releasing exclusive lock
This ensures the journal and object map are properly closed so that the
image can be properly closed w/o failing any assertions.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
418dcf29cb8c450049047e09a4dad2941af87018 )
Jason Dillaman [Tue, 3 Jan 2017 20:29:17 +0000 (15:29 -0500)]
librbd: fail immediately if the exclusive lock cannot be acquired
Fixes: http://tracker.ceph.com/issues/16988
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
47b89f4d48a0b99876462167389df28893a8d418 )
Jason Dillaman [Tue, 3 Jan 2017 19:51:14 +0000 (14:51 -0500)]
librbd: add new lock_get_owners / lock_break_lock API methods
If the client application supports failover, let the application
force break the current lock and blacklist the owner. This is
required in case the current lock owner is alive from the point-of-view
of librbd but failover was required due to a higher level reason.
Fixes: http://tracker.ceph.com/issues/18327
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
9a5a8c75a025143cee6f92f3dbc3a12f2b6a9ad7 )
Conflicts:
src/pybind/rbd/rbd.pyx: trivial resolution
src/test/pybind/test_rbd.py: trivial resolution
Jason Dillaman [Thu, 22 Dec 2016 20:00:23 +0000 (15:00 -0500)]
librbd: separate break lock logic into standalone state machine
The current lockers are now queried before the lock is attempted to
prevent any possible race conditions when one or more clients attempt
to break the lock of a dead client.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
23f60fee86d1ff9b261fbb6411746a2a9479cf19 )
Jason Dillaman [Thu, 22 Dec 2016 22:24:47 +0000 (17:24 -0500)]
librbd: separate locker query into standalone state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
03533b912c59d5e433d0f006e1a063e014468ca5 )
Conflicts:
src/test/librbd/exclusive_lock/test_mock_AcquireRequest.cc: trivial resolution
Danny Al-Gaaf [Mon, 22 Feb 2016 14:17:20 +0000 (15:17 +0100)]
librbd/exclusive_lock/AcquireRequest.cc: init lock_type
Fixup for:
CID
1351687 (#1 of 1): Uninitialized scalar variable (UNINIT)
var_decl: Declaring variable lock_type without initializer
uninit_use: Using uninitialized value lock_type.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit
da9ede90cd257ff605ab3ebfcc1aa995f655f1cc )
Mykola Golub [Wed, 8 Jun 2016 12:11:02 +0000 (15:11 +0300)]
librbd: API methods to directly acquire and release the exclusive lock
Fixes: http://tracker.ceph.com/issues/15632
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit
8f1b47fd5da021ec320fd0b5fc0fd68ffff8a706 )
Conflicts:
src/common/config_opts.h: trivial resolution
src/include/rbd/librbd.h: trivial resolution
src/librbd/CMakeLists.txt: trivial resolution
src/librbd/Makefile.am: trivial resolution
src/test/librbd/test_librbd.cc: trivial resolution
Mykola Golub [Fri, 10 Jun 2016 11:04:04 +0000 (14:04 +0300)]
rbd-mirror: fix error messages formatting
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit
2af72480d94b2b90ed6eac7b3e131437864eada7 )
Conflicts:
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc: trivial resolution
Jason Dillaman [Sun, 11 Sep 2016 13:08:41 +0000 (09:08 -0400)]
librbd: ignore partial refresh error when acquiring exclusive lock
Fixes: http://tracker.ceph.com/issues/17227
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
24396dcba77a97342d19916fdd285bae0c38fd19 )
Jason Dillaman [Fri, 9 Sep 2016 12:31:52 +0000 (08:31 -0400)]
librbd: potential seg fault when blacklisting an image client
Fixes: http://tracker.ceph.com/issues/17251
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
7025fe8976f8672a2fce05ea693c06a8e9faed19 )
Jason Dillaman [Sun, 4 Sep 2016 14:48:48 +0000 (10:48 -0400)]
librbd: potential double-unwatch of watch handle upon error
Fixes: http://tracker.ceph.com/issues/17210
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
1068ded0cba59831a0712f347946731689a68553 )
Jason Dillaman [Thu, 1 Sep 2016 01:33:54 +0000 (21:33 -0400)]
librbd: deadlock when replaying journal during image open
Fixes: http://tracker.ceph.com/issues/17188
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
3dc13067f5f0d140ee76b0166eb4cec568610211 )
Jason Dillaman [Thu, 1 Sep 2016 00:56:54 +0000 (20:56 -0400)]
librbd: improve image state machine debug log messages
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
c71182a73146c65dfe7bf955ad67ebeebcf7b1fd )
Jason Dillaman [Wed, 17 Aug 2016 19:16:37 +0000 (15:16 -0400)]
librbd: remove unused refresh request logic
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
5156b438d5ad69803b4d4529083039db825d6c8c )
Jason Dillaman [Wed, 17 Aug 2016 18:58:22 +0000 (14:58 -0400)]
librbd: interlock image refresh and lock operations
Fixes: http://tracker.ceph.com/issues/16773
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
583ac91872859e81d68c9d346516522c6aa1614c )
Jason Dillaman [Wed, 17 Aug 2016 18:02:32 +0000 (14:02 -0400)]
librbd: image state machine now has hooks for lock requests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
a5b8c9c1d81ed609e71a5a8abe4d0e90194408cc )
Jason Dillaman [Tue, 16 Aug 2016 20:23:57 +0000 (16:23 -0400)]
librbd: integrate asynchronous image rewatch state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
d0d97fcca2cb427adbdf5c32f0e07830c38aaf4b )
Jason Dillaman [Mon, 15 Aug 2016 19:46:23 +0000 (15:46 -0400)]
librbd: helper state machine for asynchronous watch recovery
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
32180aaf42050a01981c33f84edd95eff931ee6c )
Conflicts:
src/librbd/CMakeLists.txt: trivial resolution
src/librbd/Makefile.am: trivial resolution
Jason Dillaman [Tue, 16 Aug 2016 18:20:20 +0000 (14:20 -0400)]
librbd: exclusive lock now supports reacquiring a lost lock
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
66c605573f840c0db8b3630315ea50e9fc987509 )
Jason Dillaman [Tue, 16 Aug 2016 17:11:19 +0000 (13:11 -0400)]
librbd: store exclusive lock cookie instead of recalculating
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
aa53f74ad261f453e971bf3cef0b96bba4932b7b )
Jason Dillaman [Tue, 16 Aug 2016 16:28:09 +0000 (12:28 -0400)]
librbd: helper state machine to update lock cookie
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
d523df8dafac472f95233805d3a82edb3b3b02ea )
Jason Dillaman [Mon, 15 Aug 2016 20:50:43 +0000 (16:50 -0400)]
cls_lock: support updating the lock cookie without releasing the lock
Fixes: http://tracker.ceph.com/issues/17015
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
377f57652f8ddae53f44c59f21e89c51b2bf0f7b )
Nathan Cutler [Mon, 30 Jan 2017 12:26:37 +0000 (13:26 +0100)]
Merge pull request #12323 from dachary/wip-18024-jewel
jewel: rbd: FAILED assert(m_processing == 0) while running test_lock_fence.sh
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Mon, 30 Jan 2017 12:25:48 +0000 (13:25 +0100)]
Merge pull request #12649 from xiaoxichen/wip-18278-jewel
jewel: rbd: librbd: use proper snapshot when computing diff parent overlap
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Mon, 30 Jan 2017 12:24:22 +0000 (13:24 +0100)]
Merge pull request #12741 from SUSE/wip-18320-jewel
jewel: rbd status: json format has duplicated/overwritten key
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Mon, 30 Jan 2017 12:23:44 +0000 (13:23 +0100)]
Merge pull request #12753 from Abhishekvrshny/wip-18288-jewel
jewel: rbd-mirror: image sync object map reload logs message
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Mon, 30 Jan 2017 12:23:09 +0000 (13:23 +0100)]
Merge pull request #12756 from Abhishekvrshny/wip-18276-jewel
jewel: rbd-nbd: invalid error code for "failed to read nbd request" messages
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Mon, 30 Jan 2017 12:22:37 +0000 (13:22 +0100)]
Merge pull request #12822 from SUSE/wip-18450-jewel
jewel: tests: update rbd/singleton/all/formatted-output.yaml to support ceph-ci
Reviewed-by: Jason Dillaman <dillaman@redhat.com>