------------------------------------------------------------------ Tue Apr 15 07:50:00 UTC 2024 - Glass Su - drbd: fix build error against kernel v6.8.2 (boo#1222397) * add upstream patches + 0024-compat-fixup-FMODE_READ-FMODE_WRITE-usage.patch + 0025-compat-drdb-Convert-to-use-bdev_open_by_path.patch + 0026-compat-gate-blkdev_-patches-behind-bdev_open_by_path.patch ------------------------------------------------------------------- Mon Feb 26 07:45:54 UTC 2024 - Dominique Leuenberger - Use %autosetup macro. Allows to eliminate the usage of deprecated PatchN. ------------------------------------------------------------------ Tue Nov 13 11:56:00 UTC 2023 - Glass Su - drbd: fix build error against kernel v6.6.1 (boo#1217078) * add upstream patches + 0021-compat-sock-Remove-sendpage-in-favour-of-sendmsg-MSG.patch + 0022-compat-block-replace-fmode_t-with-a-block-specific-t.patch + 0023-compat-genetlink-remove-userhdr-from-struct-genl_inf.patch * remove patch which are already included in upstream patches: - bsc-1215699_fix-build-error-against-kernel-v6.5.4.patch ------------------------------------------------------------------ Tue Sep 26 03:35:00 UTC 2023 - Heming Zhao - drbd: fix build error against kernel v6.5.4 (boo#1215699) * add upstream patch + 0001-drbd-allow-transports-to-take-additional-krefs-on-a-.patch + 0002-drbd-improve-decision-about-marking-a-failed-disk-Ou.patch + 0003-drbd-fix-error-path-in-drbd_get_listener.patch + 0004-drbd-build-fix-spurious-re-build-attempt-of-compat.p.patch + 0005-drbd-log-error-code-when-thread-fails-to-start.patch + 0006-drbd-log-numeric-value-of-drbd_state_rv-as-well-as-s.patch + 0007-drbd-stop-defining-__KERNEL_SYSCALLS__.patch + 0008-compat-block-introduce-holder-ops.patch + 0009-drbd-reduce-net_ee-not-empty-info-to-a-dynamic-debug.patch + 0010-drbd-do-not-send-P_CURRENT_UUID-to-DRBD-8-peer-when-.patch + 0011-compat-block-pass-a-gendisk-to-open.patch + 0012-drbd-Restore-DATA_CORKED-and-CONTROL_CORKED-bits.patch + 0013-drbd-remove-unused-extern-for-conn_try_outdate_peer.patch + 0014-drbd-include-source-of-state-change-in-log.patch + 0015-compat-block-use-the-holder-as-indication-for-exclus.patch + 0016-drbd-Fix-net-options-set-defaults-to-not-clear-the-t.patch + 0017-drbd-propagate-exposed-UUIDs-only-into-established-c.patch + 0018-drbd-rework-autopromote.patch + 0019-compat-block-remove-the-unused-mode-argument-to-rele.patch + 0020-drbd-do-not-allow-auto-demote-to-be-interrupted-by-s.patch * add suse special patch + bsc-1215699_fix-build-error-against-kernel-v6.5.4.patch ------------------------------------------------------------------ Mon Sep 04 11:35:00 UTC 2023 - Heming Zhao - Update DRBD version from 9.0.30+ to 9.1.16 (PED-6362) * 9.1.16 (api:genl2/proto:86-121/transport:18) * shorten times DRBD keeps IRQs on one CPU disabled. Could lead to connection interruption under specific conditions * fix a corner case where resync did not start after resync-pause state flapped * fix online adding of volumes/minors to an already connected resource * fix a possible split-brain situation with quorum enabled with ping-timeout set to (unusual) high value * fix a locking problem that could lead to kernel OOPS * ensure resync can continue (bitmap-based) after interruption also when it started as a full-resync first * correctly handle meta-data when forgetting diskless peers * fix a possibility of getting a split-brain although quorum enabled * correctly propagate UUIDs after resync following a resize operation. Consequence could be a full resync instead of a bitmap-based one * fix a rare race condition that can cause a drbd device to end up with WFBitMapS/Established replication states * 9.1.15 (api:genl2/proto:86-121/transport:18) * fix how flush requests are marked when submitted to the Linux IO stack on the secondary node * when establishing a connection failed with a two-pc timeout, a receiver thread deadlocked, causing drbdsetup calls to block on that resource (difficult to trigger) * fixed a NULL-ptr deref (a OOPS) caused by a rare race condition while taking a resource down * fix a possible hard kernel-lockup, can only be triggerd when a CPU-mask is configured * updated kernel compatibility to at least Linux head and also fixed a bug in the compat checks/rules that caused OOPSes of the previous drbd releases when compiled with Linux-6.2 (or on RHEL 9.2 kernel). * fix an aspect of the data-generation (UUID) handling where DRBD failed to do a resync when a diskless node in the remaining partition promotes and demotes while a diskful node is isolated * fix an aspect of the data-generation (UUID) handling where DRBD considered a node to have unrelated data; this bug was triggered by a sequence involving removing two nodes from a cluster and readding one with the "day-0" UUIDs. * do not block specific state changes (promote, demote, attach, and detach) when only some nodes add a new minor * 9.1.14 (api:genl2/proto:86-121/transport:18) * fix a race with concurrent promotion and demotion, which can lead to an unexpected "split-brain" later on * fix a specific case where promotion was allowed where it should not * fix a race condition between auto-promote and a second two-phase commit that can lead to a DRBD thread locking up in an endless loop * fix several bugs with "resync-after": - missing resync-resume when minor numbers run in opposite direction as the resync-after dependencies - a race that might lead to an OOPS in add_timer() * fix an OOPS when reading from in_flight_summary in debugfs * fix a race that might lead to an endless loop of printing "postponing start_resync" while starting a resync * fix diskless node with a diskfull with a 4KiB backend * simplify remembering two-pc parents, maybe fixing a one-time-seen bug * derive abort_local_transaction timeout from ping-timeout * 9.1.13 (api:genl2/proto:86-121/transport:18) * when calculating if a partition has quorum, take into account if the missing nodes might have quorum * fix forget-peer for diskless peers * clear the resync_again counter upon disconnect * also call the unfence handler when no resync happens * do not set bitmap bits when attaching to an up-to-date disk (late) * work on bringing the out-of-tree DRBD9 closer to DRBD in the upstream kernel; Use lru_cahche.ko from the installed kernel whenever possible * 9.1.12 (api:genl2/proto:86-121/transport:18) * fix a race that could result in connection attempts getting aborted with the message "sock_recvmsg returned -11" * rate limit messages in case the peer can not write the backing storage and it does not finish the necessary state transitions * reduced the receive timeout during connecting to the intended 5 seconds (ten times ping-ack timeout) * losing the connection at a specific point in time during establishing a connection could cause a transition to StandAlone; fixed that, so that it keeps trying to connect * fix a race that could lead to a fence-peer handler being called unexpectedly when the fencing policy is changed at the moment before promoting * 9.1.11 (api:genl2/proto:86-121/transport:18) * The change introduced with 9.1.10 created another problem that might lead to premature request completion (kernel crash); reverted that change and fix it in another way * 9.1.10 (api:genl2/proto:86-121/transport:18) * fix a regression introduced with 9.1.9; using protocol A on SMP with heavy IO can might cause kernel crash * 9.1.9 (api:genl2/proto:86-121/transport:18) * fix a mistake in the compat generation code; it broke DRBD on partitions on kernel older than linux 5.10 (this was introduced with drbd-9.1.8; not affected: logical volumes) * fix for a bug (introduced with drbd-9.0.0), that caused possible inconsistencies in the mirror when using the 'resync-after' option * fix a bug that could cause a request to get stuck after an unlucky timing with a loss of connection * close a very small timing window between connect and promote that could lead to the new-current-uuid not being transmitted to the concurrently connecting peer, which might lead to denied connections later on * fix a recently introduced OOPS when adding new volumes to a connected resource * fix online attach when the connection to a 3rd node is down * 9.1.8 (api:genl2/proto:86-121/transport:18) * restore protocol compatibility with drbd-8.4 * detect peers that died silently when starting a two-phase-commit * correctly abort two-phase-commits when a connection breaks between phases 1 and 2 * allow re-connect to a node that was forced into secondary role and where an opener is still present from the last time it was primary * fix a race condition that allowed to configure two peers with the same node id * ensure that an open() call fails within the auto-promote timeout if it can not succeed * build fixes for RHEL9 * following upstream changes to DRBD up to Linux 5.17 and updated compat * 9.1.7 (api:genl2/proto:110-121/transport:18) * avoid deadlock upon trying to down an io-frozen DRBD device that has a file system mounted * fix DRBD to not send too large resync requests at multiples of 8TiB * fix for a "forgotten" resync after IO was suspended due to lack of quorum * refactored IO suspend/resume fixing several bugs; the worst one could lead to premature request completion * disable discards on diskless if diskful peers do not support it * make demote to secondary a two-phase state transition; that guarantees that after demotion, DRBD will not write to any meta-data in the cluster * enable "--force primary" in for no-quorum situations * allow graceful recovery of primary lacking quorum and therefore have forzen IO requests; that includes "--force secondary" * following upstream changes to DRBD up to Linux 5.15 and updated compat * 9.1.6 (api:genl2/proto:110-121/transport:17) * fix IO to internal meta-data for backing device larger than 128TB * fix resending requests towards diskless peers, this is relevant when fencing is enabled, but the connection is re-established before fencing succeeds; when the bug triggered it lead to "stuck" requests * remove lockless buffer pages handling; it still contained very hard to trigger bugs * make sure DRBD's resync does not cause unnecessary allocation in a thinly provisioned backing device on a resync target node * avoid unnecessary resync (or split-brain) due to a wrongly generated new current UUID when an already IO frozen DBRD gets new writes * small fix to autopromote, when an application tries a read-only open before it does a read-write open immediately after the peer primary vanished ungracefully * split out the secure boot key into a package on its own, that is necessary to allow installation of multiple drbd kernel module packages * Support for building containers for flacar linux * 9.1.5 (api:genl2/proto:110-121/transport:17) * merged all changes from drbd-9.0.32 - fix a read-access-after-free, that could cause an OOPs; triggers with an unusual configuration with a secondary having a smaller AL than the primary or a diskless primary and heavy IO - avoid a livelock that can cause long IO delays during resync on a primary resync-target node - following upstream changes to DRBD up to Linux 5.14 and updated compat (including RHEL9-beta) - fix module override for Oracle-Linux * fixed a locking regression of the 9.1 branch, only relevant in the moment a local backing device delivers an IO error to drbd * removed compat support for kernel older than Linux-3.10 (RHEL7) * code cleanups and refactoring * 9.1.4 (api:genl2/proto:110-121/transport:17) * merged all changes from drbd-9.0.31 * enabled dynamic debug on some additional log messages * remove (broken) write conflict resolution, replace it with warning about the fact * debugfs entry for the interval tree * 9.1.3 (api:genl2/proto:110-120/transport:17) * merged all fixes from drbd-9.0.30-0rc1 * fix a corner-case NULL deref in the lockless buffer pages handling; the regression was introduced with 9.1.0 (released Feb 2021); To my knowledge it took 6 months until someone triggered it for the first time * fix sending a P_PEERS_IN_SYNC packet into a fresh connection (before handshake packets); this problem was introduced when the drbd-8.x compatibility code was removed * remove sending a DRBD-barrier packet when processing a REQ_PREFLUSH request, that improves IO-depth and improves performance with that * 9.1.2 (api:genl2/proto:110-120/transport:17) * merged all fixes from drbd-9.0.29; other than that no changes in this branch * 9.1.1 (api:genl2/proto:110-119/transport:17) * fix a temporal deadlock you could trigger when you exercise promotion races and mix some read-only openers into the test case * fix for bitmap-copy operation in a very specific and unlikely case where two nodes do a bitmap-based resync due to disk-states * fix size negotiation when combining nodes of different CPU architectures that have different page sizes * fix a very rare race where DRBD reported wrong magic in a header packet right after reconnecting * fix a case where DRBD ends up reporting unrelated data; it affected thinly allocated resources with a diskless node in a recreate from day0 event * changes to socket buffer sizes get applied to established connections immediately; before it was applied after a re-connect * add exists events for path objects * fix a merge-mistake that broke compatibility with 5.10 kernels * 9.1.0 (api:genl2/proto:110-119/transport:16) * was forked off from drbd 9.0.19 * has all changes up to 9.0.28-1 * locking in the IO-submit code path was considerably improved, allowing multiple CPU to submit in parallel * rename patch - fix-resync-finished-with-syncs-have-bits-set.patch + bsc-1025089_fix-resync-finished-with-syncs-have-bits-set.patch * remove patches which are already included in upstream code: - bsc-1192929_01-make_block_holder_optional.patch - bsc-1192929_02-move_kvmalloc_related_to_slab.patch - bsc-1192929_03-polling_to_bio_base.patch - bsc-1192929_04-pass_gend_to_blk_queue_update_readahead.patch - bsc-1192929_07-add_disk_error_handle.patch - bsc-1192929_08-have_void_drbd_submit_bio.patch - bsc-1192929_09-remove_bdgrab.patch - bsc-1201335_01-compat-test-and-cocci-patch-for-bdi-in-gendisk.patch - bsc-1201335_02-compat-only-apply-bdi-pointer-patch-if-bdi-is-in-req.patch - bsc-1201335_03-genhd.patch - bsc-1201335_04-bio_alloc_bioset.patch - bsc-1201335_05-bio_alloc.patch - bsc-1201335_06-bdi.patch - bsc-1201335_07-write-same.patch - bsc-1201335_08-bio_clone_fast.patch - bsc-1202600_01-remove-QUEUE_FLAG_DISCARD.patch - bsc-1202600_02-dax-introduce-DAX_RECOVERY_WRITE-dax-access-mode.patch - bsc-1202600_03-block-decouple-REQ_OP_SECURE_ERASE-from-REQ_OP_DISCA.patch - bsc-1202600_04-remove-assign_p_sizes_qlim.patch - bsc-1204596_01-block-remove-blk_cleanup_disk.patch - bsc-1204596_02-drbd-remove-usage-of-bdevname.patch - bsc-1206791-01-drbd-add-comments-explaining-removal-of-bdi-congesti.patch - bsc-1206791-02-drbd-fix-static-analysis-warnings.patch - bsc-1206791-03-drbd-fix-warning-about-initializing-multiple-struct-.patch - bsc-1206791-04-blk_queue_split__no_present.patch - bsc-1206791-05-prandom_u32_max.patch - bsc-1206791-06-write_zeroes__no_capable.patch - bsc-1206791-07-drbd-fix-use-after-free-bugs-in-get_initial_state.patch - bsc-1206791-08-lib-lru_cache-Fixed-array-overflow-caused-by-incorre.patch - bsc-1206791-09-pmem-use-fs_dax_get_by_bdev-instead-of-dax_get_by_ho.patch ------------------------------------------------------------------ Sat Mar 11 06:25:00 UTC 2023 - Heming Zhao - drbd: fix build error against kernel v6.2.1 (bsc#1209168) * update patch + bsc-1206791-05-prandom_u32_max.patch ------------------------------------------------------------------- Thu Jan 6 01:40:00 UTC 2023 - Heming Zhao - remove useless patch, dax_get_by_host() was replaced by fs_dax_get_by_bdev() * bsc-1192929_06-dax_support.patch ------------------------------------------------------------------- Thu Jan 5 11:13:00 UTC 2023 - Heming Zhao - drbd: fix build error against kernel v6.1.1 (bsc#1206791) * update bsc-1201335_06-bdi.patch commit log (no code change) + bsc-1201335_06-bdi.patch * update bsc-1202600_02-dax-introduce-DAX_RECOVERY_WRITE-dax-access-mode.patch (no code change) + bsc-1202600_02-dax-introduce-DAX_RECOVERY_WRITE-dax-access-mode.patch * using upstream patch to replace exist patch - bsc-1204596_02-drbd-stop-using-bdevname-in-drbd_report_io_error.patch + bsc-1204596_02-drbd-remove-usage-of-bdevname.patch * add new patches + bsc-1206791-01-drbd-add-comments-explaining-removal-of-bdi-congesti.patch + bsc-1206791-02-drbd-fix-static-analysis-warnings.patch + bsc-1206791-03-drbd-fix-warning-about-initializing-multiple-struct-.patch + bsc-1206791-04-blk_queue_split__no_present.patch + bsc-1206791-05-prandom_u32_max.patch + bsc-1206791-06-write_zeroes__no_capable.patch + bsc-1206791-07-drbd-fix-use-after-free-bugs-in-get_initial_state.patch + bsc-1206791-08-lib-lru_cache-Fixed-array-overflow-caused-by-incorre.patch + bsc-1206791-09-pmem-use-fs_dax_get_by_bdev-instead-of-dax_get_by_ho.patch ------------------------------------------------------------------- Mon Dec 5 12:47:43 UTC 2022 - Ludwig Nussel - BuildRequire %kernel_module_package_buildreqs (boo#1205149) ------------------------------------------------------------------- Sat Oct 22 12:23:00 UTC 2022 - Heming Zhao - drbd: build error against kernel v6.0.2 (bsc#1204596) - add patch: + bsc-1204596_01-block-remove-blk_cleanup_disk.patch + bsc-1204596_02-drbd-stop-using-bdevname-in-drbd_report_io_error.patch ------------------------------------------------------------------- Tue Aug 23 00:13:00 UTC 2022 - Heming Zhao - drbd: build error against kernel v5.19 (bsc#1202600) - add patch: + bsc-1202600_01-remove-QUEUE_FLAG_DISCARD.patch + bsc-1202600_02-dax-introduce-DAX_RECOVERY_WRITE-dax-access-mode.patch + bsc-1202600_03-block-decouple-REQ_OP_SECURE_ERASE-from-REQ_OP_DISCA.patch + bsc-1202600_04-remove-assign_p_sizes_qlim.patch - For rpmbuild warning, modify symlink /usr/sbin/rcdrbd to relative path + drbd.spec ------------------------------------------------------------------- Fri Jul 08 12:47:00 UTC 2022 - Heming Zhao - drbd: build error against kernel v5.18 (bsc#1201335) - remove patch: + move_bdi_from_request_queue_to_gendisk.patch - change exist patches name from bsc#1192929: old name: make_block_holder_optional.patch move_kvmalloc_related_to_slab.patch polling_to_bio_base.patch pass_gend_to_blk_queue_update_readahead.patch dax_support.patch add_disk_error_handle.patch have_void_drbd_submit_bio.patch remove_bdgrab.patch new name: bsc-1192929_01-make_block_holder_optional.patch bsc-1192929_02-move_kvmalloc_related_to_slab.patch bsc-1192929_03-polling_to_bio_base.patch bsc-1192929_04-pass_gend_to_blk_queue_update_readahead.patch bsc-1192929_06-dax_support.patch bsc-1192929_07-add_disk_error_handle.patch bsc-1192929_08-have_void_drbd_submit_bio.patch bsc-1192929_09-remove_bdgrab.patch - add patch: + bsc-1201335_01-compat-test-and-cocci-patch-for-bdi-in-gendisk.patch + bsc-1201335_02-compat-only-apply-bdi-pointer-patch-if-bdi-is-in-req.patch + bsc-1201335_03-genhd.patch + bsc-1201335_04-bio_alloc_bioset.patch + bsc-1201335_05-bio_alloc.patch + bsc-1201335_06-bdi.patch + bsc-1201335_07-write-same.patch + bsc-1201335_08-bio_clone_fast.patch ------------------------------------------------------------------- Mon Nov 22 04:38:30 UTC 2021 - nick wang - bsc#1192929, compat to kernel v5.15 - Remove patch convert_to_blk_alloc_disk.patch (upstream) - Add patch make_block_holder_optional.patch Add patch move_kvmalloc_related_to_slab.patch Add patch polling_to_bio_base.patch Add patch pass_gend_to_blk_queue_update_readahead.patch Add patch move_bdi_from_request_queue_to_gendisk.patch Add patch dax_support.patch Add patch add_disk_error_handle.patch Add patch have_void_drbd_submit_bio.patch Add patch remove_bdgrab.patch ------------------------------------------------------------------- Wed Jul 21 06:23:09 UTC 2021 - nick wang - Update to 9.0.30~1 * fix a crash when drbd-9 node gets connected to a drbd-8.4 node, the regression was introduced between 9.0.25 and 9.0.26 * A improved approach to serialize rsyncs from multiple sources; the previous one could cause wrong accounting for online verify * fix a race condition that could cause resync operations to stall when the completion of one resync allows another one to proceed * fix a race condition that could cause an online verify operation to not terminate under specific conditions (corking enabled no other IO) * fix locking of drbd_devices idr that caused (very rarely) create/remove minor to fail - Add patch convert_to_blk_alloc_disk.patch (kernel b647ad024) - Remove patch compat_genl_maxattr_in_ops.patch - Delete _servicedata file since not used ------------------------------------------------------------------- Fri Jun 11 15:28:19 UTC 2021 - nick wang - Correct the real version 9.0.29~1 - Disable _servicedata to avoid verbose commits log ------------------------------------------------------------------- Fri Jun 04 13:27:15 UTC 2021 - varkoly@suse.com - Update to version 9.1.2 * drbd: fix termination of verify with stop sector * drbd: Fix locking for the drbd_devices idr * drbd: use DEFINE_MUTEX insteadm of mutex_init() * drbd: remove device_to_minor() * drbd: fix race condition resetting resync_next_bit * build: fix make; make clean; make; with pre-packaged compat.patch * compat: fix compat implementation of CRYPTO_TFM_NEED_KEY * drbd: remove non-existant argument from kerneldoc * drbd: kernel-doc and related fixes from upstream * drbd: Avoid comma separated statements ------------------------------------------------------------------- Fri May 7 05:53:20 UTC 2021 - nick wang - Update to 9.0.29 * fix data corruption when DRBD's backing disk is a degraded Linux software raid (MD) * add correct thawing of IO requests after IO was frozen due to loss of quorum * fix timeout detection after idle periods and for configs with ko-count when a disk on an a secondary stops delivering IO-completion events * fixed an issue where UUIDs where not shifted in the history slots; that caused false "unrelated data" events * fix switching resync sources by letting resync requests drain before issuing resync requests to the new source; before the fix, it could happen that the resync does not terminate since a late reply from the previous caused a out-of-sync bit set after the "scan point" * fix a temporal deadlock you could trigger when you exercise promotion races and mix some read-only openers into the test case * fix for bitmap-copy operation in a very specific and unlikely case where two nodes do a bitmap-based resync due to disk-states * fix size negotiation when combining nodes of different CPU architectures that have different page sizes * fix a very rare race where DRBD reported wrong magic in a header packet right after reconnecting * fix a case where DRBD ends up reporting unrelated data; it affected thinly allocated resources with a diskless node in a recreate from day0 event * speedup open() of drbd devices if promote has not chance to go through * new option "--reset-bitmap=no" for the invalidate and invalidate-remote commands; this allows to do a resync after online verify found differences * changes to socket buffer sizes get applied to established connections immediately; before it was applied after a re-connect * add exists events for path objects * forbid keyed hash algorithms for online verify, csyms and HMAC base alg * fix a regression introduces with 9.0.25; it failed to determine the right device size and the connection hangs in WFBitmapS/WFBitmapT repl state; to trigger this you need to do a partial resync to a new node with different backing device size * fix an issue with netlink packets processed in parallel on multiple CPUs; the bug caused drbdadm adjust failing in very rare cases * fix a very rare occurrence of a reconciliation resync getting stuck * fix a race condition that causes a detach operation to hang; it is very hard to trigger * fix a kernel OOPS (via a BUG()) upon adding a timer twice under very rare timing * fix a counter imbalance that could lead to assertion messages when a protocol A peer disconnects with a certain timing * fix a rare race with receiving bitmap and a state change while establishing a connection * fix UUID handling to avoid false split-brain detections; this bug got triggered an isolated primary that gets demoted, and temporal network interruptions among the remaining nodes * fix resync decision to obey disk states when the generation UUIDs are equal; the effect of this bug was that you could end up with two Outdated nodes after resync * fix concurrent disk-attach operations * Fix possible kernel warning regarding an inbalance of backing device link/unlink * move some amount of kernel backward compatibility code moved from the old method (drbd_wrappers.h) to new cocci semantic patches * add support renaming resources while its devices might be in use and process IO requests * Allow setting c_max_rate to 0 with the meaning that the resync controller has no upper limit for the resync speed * Fix regression: allow live migration between two diskful peers again * following upstream changes to DRBD up to Linux 5.12 and updated compat rules to support up to Linux 5.12 - Add patch compat_genl_maxattr_in_ops.patch (48526a0f) Remove patch drbd-fix-zero-metadata-limit-by-page-size-misaligned.patch Remove patch compat_remove_include_vermagic.patch Remove patch compat-test-header.patch Remove patch submit-bio-private-date.patch Remove patch compat_remove_kernel_setsockopt.patch Remove patch compat_blk_queue_stack_limits.patch Remove patch remove_bdi_cap_stable_writes.patch Remove patch compat_get_fs.patch Remove patch compat_to_v5_11.patch Modify patch suse-coccinelle.patch - cocci apply: linux-5.12.0-2 queue_discard_zeroes_data__no_present (48920ff2a5a9) ------------------------------------------------------------------- Fri Mar 12 07:10:37 UTC 2021 - nick wang - bsc#1183429, compat to kernel v5.11 Add patch compat_to_v5_11.patch ------------------------------------------------------------------- Wed Dec 9 06:40:33 UTC 2020 - nick wang - bsc#1179708, compat to kernel v5.10 - Add patch compat_get_fs.patch Add patch remove_bdi_cap_stable_writes.patch ------------------------------------------------------------------- Tue Dec 8 09:23:06 UTC 2020 - nick wang - Update to 9.0.26 * fix a case of a disk unexpectedly becoming Outdated by moving the exchange of the initial packets into the body of the two-phase-commit that happens at a connect * fix adding of new volumes to resources with a primary node * reliably detect split brain situation on both nodes * fix an unexpected occurrence of NetworkFailure state in a tight drbdsetup disconnect; drbdsetup connect sequence * fix online verify to return to Established from VerifyS if the VerifyT node was temporarily Inconsistent during the run * fix a corner case where a node ends up Outdated after the crash and rejoin of a primary node * implement 'blockdev --setro' in DRBD * following upstream changes to DRBD up to Linux 5.9 and ensure compatibility with Linux 5.8 and 5.9 * fix a crash if during resync a discard operation fails on the resync-target node * fix online verify to not clamp disk states to UpToDate * fix promoting resync-target nodes; the problem was that it could modify the bitmap of an ongoing resync; which leads to alarming log messages * pause a resync if the sync-source node becomes inconsistent; an example is a cascading resync where the upstream resync aborts and leaves the sync-source node for the downstream resync with an inconsistent disk; note, the node at the end of the chain could still have an outdated disk (better than inconsistent) * allow force primary on a sync-target node by breaking the resync * minor fixes to the compat tests * fix for writes not getting mirrored over a connection while the primary transitions through the WFBitMapS state * completed missing logic of the new two-phase-commit based connect process; avoid connecting partitions with a primary in each; ensure consistent decisions if the connect attempt will be retried - Add patch compat-test-header.patch Add patch submit-bio-private-date.patch - Remove patch rely-on-sb-handlers.patch (187bddac0) Remove patch fix-err-of-wrong-return-type.patch (969310232) Remove patch compat_remove_pgprot_88dca4c.patch (ee025dc84) Remove patch compat_generic_make_request.patch (8615d6837) Remove patch blk_alloc_queue_make_request.patch (edaa9b0f/fb59b40e) Remove patch remove_congested_fn_congested_data.patch (34484003/9b80d46b) - Modify patch compat_remove_kernel_setsockopt.patch (518846b54) Modify patch compat_blk_queue_stack_limits.patch (edaa9b0f2) ------------------------------------------------------------------- Tue Nov 3 11:21:13 UTC 2020 - nick wang - bsc#1178388, build error with -Wreturn-type Add patch fix-err-of-wrong-return-type.patch ------------------------------------------------------------------- Tue Oct 20 03:49:16 UTC 2020 - nick wang - bsc#1177910, compat to kernel v5.9 Add patch blk_alloc_queue_make_request.patch Add patch compat_generic_make_request.patch Add patch remove_congested_fn_congested_data.patch - Add tumbleweed only patch Add patch compat_blk_queue_stack_limits.patch ------------------------------------------------------------------- Fri Sep 18 07:38:21 UTC 2020 - nick wang - bsc#1175257, update to 9.0.25-0rc1 * fix a race condition between receiving UUIDs and finishing a resync that can lead to a false-positive split-brain detection later on * fix access after free of peer_req objects, that only happened when a resync target node is paused sync source at the same time * fix abortion of local state changes in case they can not proceed due to loss of connection * fix corner cases with reconciliation resync and parallel promote * fix an issue establishing a connection when the multipath feature is used to connect to a stacked resource without a dedicated service IP * fix sometimes a peer-disk state to another resync-target staying Outdated after two resyncs from the same sync source node finish * fix an (unlikely) deadlock while establishing a connection * deactivate the kref_debug code, it has performance implicatios * Introduce the "disconnected" hander; it receives the last connection state in the evnironment variable DRBD_CSTATE - Changes of drbd-9.0.24-1 * fix deadlock when connecting drbd-9 to drbd-8.4 and the drbd-9 side becomes sync-source * fix an issue with 3 (or more) node configurations; with a diskless node and two storage nodes; if one of the storage nodes was hard rebooted and came back and the diskless got primary and did not issue write requests and the returning storage node established a connection with the surviving storage node first, DRBD failed to upgrade the disk state to UpToDate after the resync * detect split-brain situations also when both nodes are primary; this is how it was in drbd-8.4; up to now drbd-9 did not realize the split-brain since it complains about the not allowed dual primary first; for this change a new protocol version was necessary * verified it compiles with Linux 5.7 - Add compatible patches to kernel v5.8.0 Add patch compat_remove_include_vermagic.patch Add patch compat_remove_kernel_setsockopt.patch Add patch compat_remove_pgprot_88dca4c.patch ------------------------------------------------------------------- Wed Jun 10 03:33:22 UTC 2020 - nick wang - bsc#1172761, Update to drbd-9.0.23-1 * fix a deadlock (regression introduced in 9.0.22) that can happen when new current UUID is generated while a connection gets established * Do not create a new data generation if the node has 'allow-remote-read = no' set, is primary, and the local disk fails (because it has no access to good data anyome) * fix a deadlock (regression introduced in 9.0.22) that can be triggered if a minor is added into a resource with an established connection * generate new UUID immediately if a primary loses a disk due to an IO error * fix read requests on diskless nodes that hit a read error on a diskful node; the retry on another diskful node works, but a bug could lead to a log-storm on the diskless node * fix removal of diskless nodes from clusters with quorum enabled (initiated from the diskless itself) * fix wrongly declined state changes if connections are established concurrently * fix continuation of initial resync; before that the initial resync always started from the beginning if it was interrupted * use rwsem _non_owner() operations to avoid false positives of lock-dep when running on a debug kernel * fix a sometimes missed resync if only a diskless node was primary since the day0 UUID * fix a corner case where a SyncSource node does not recognise that a SyncTarget node declared the resync as finished * update compat up to Linux 5.6 - Remove patch without_pr_warning.patch since change in 7e6a20f7 ------------------------------------------------------------------- Wed Jun 10 02:55:39 UTC 2020 - nick wang - jsc#11801, enable buildrt for Leap15.2 but Tumbleweed. ------------------------------------------------------------------- Tue Mar 10 09:03:04 UTC 2020 - nick wang - bsc#1166298, Update to drbd-9.0.22-1 * introduce locking to avoid connection retries when UUIDs or relevant flags change during the exchange of this data * improve serialization of events after loosing a primary * fix a constraint in sanitize state that can caused a promote to be deliced by some other node * fix a case of a false positive detection of a split brain condition * allow a resync target to switch to the resync source with less bits out of sync * fix bitmap UUID after resync to use current UUID from self rather than sync source * fix pushing bitmap UUID into history when changed * fix regression introduced with 9.0.20, that can cause a missed resync after a reconciliation resync * fix regression introduced with 9.0.20, that can cause a missed resync after a promote on a diskless node * fix UUID handling in case a node promotes during (a short) reconciliation resync * fix removing of a diskless node when quorum is enabled ------------------------------------------------------------------- Tue Feb 25 07:03:39 UTC 2020 - nick wang - Update to drbd-9.0.21-1, require coccinelle >= 1.0.8 * fix compat for write same on linux 4.9 and the Debian users * fix kernel compat for linux 4.8 and 4.9; this mainly affected Debian users; The symptoms where slow resync and resync getting stuck always at the same point * enable resync of lost and re-created backing devices (think lost node) when the backing device was thinly provisioned and its current uuid is pre-set to a 'day0 UUID' (by LINSTOR); that works by copying a unused bitmap slot which tracks all changes since day 0 * fix attach when bitmap is on PMEM; before it was set to 'all blocks out-of-sync' upon attach * avoid doing reconciliation resync multiple times by updating the resync target's dagtag after if completed successfully * return disk-state from Outdated to UpToDate when it loses connection while in WFBitMapT and we have a stable and UpToDate peer * new option --force-resync flag can be passed to new-current-uuid, that can be used to trigger initial resync without touching the role - Remove upstream drbd-update-resync-target-s-dagtag.patch - Modify patch suse-coccinelle.patch to adopt spaas ------------------------------------------------------------------- Fri Jan 3 08:52:14 UTC 2020 - nick wang - bsc#1159786, fix build issue against v5.5 add patch without_pr_warning.patch ------------------------------------------------------------------- Thu Dec 26 07:55:03 UTC 2019 - nick wang - bsc#1159333, back port patch for duplicate resync. add patch drbd-update-resync-target-s-dagtag.patch ------------------------------------------------------------------- Mon Dec 16 06:29:42 UTC 2019 - nick wang - bsc#1158446, fix metadata limit due to 64k page size of ppc64le. add patch drbd-fix-zero-metadata-limit-by-page-size-misaligned.patch ------------------------------------------------------------------- Thu Oct 17 17:48:47 UTC 2019 - Richard Brown - Remove obsolete Groups tag (fate#326485) ------------------------------------------------------------------- Fri Oct 11 02:32:09 UTC 2019 - nick wang - Update to drbd-9.0.20-1 * fix a case of false split brain detection if a diskless node promotes multiple times, by aligning the rules for generating a new current-UUID on a diskless nodes with them on a node with disk * check if we still have quorum by exchanging a drbd-ping with peers before creating new current UUID after loosing one peer * fix after weak handling to not interfere with reconciliation resyncs * retry connect when one of the relevant flags changes during UUID exchange * fix reconciliation resync if one of the secondary got an current-UUID update * fix resync to make progress after it was paused by an other resync operation * fix false split-brains when a resync source changes current-UUID during resync operation * fix restore of D_OUTDATED when the resource first only attached and then the peer objects are created (in contrast to the usual, new-peer, attach, connect) * abort creating new current-UUID when writing to meta-data fails in the moment where the new-current-UUID should be written * removed DRBD marking itself as read-only when secondary; this flag was exposed using the BLKROGET ioctl; that should be left to user-land use; recent KVM checks that flag, and does not dare auto-promote when set by DRBD * fix a small memory-leak when creating peer devices * fix a possible information leak of kernel memory that pads net-link packets * completing implications of "allow-remote-read=no"; i.e. when not to create a new-current-UUID as read-write access to the data set was lost; also fail both reads and writes if reads are no longer possible * new option value "rr-conflict=retry-connect"; that helps in scenarios with quorum where stopping a service takes longer than a temporarily network outage and DRBD's reconnect * code cleanups, introduced enums for remaining magic numbers * new kernel-backward-compatibility framework based on spatch/coccinelle, replacing an unmaintainable moloch of C preprocessor hell; Merged the complete kernel-compat submodule * ships with pre-computed compat-patches for main distros' kernels; in case an other kernel is found it tries to use local spatch, if that is not installed the build process tries to use a LINBIT hosted web service to create the compat patch ("spatch-as-a-service"). * compat with up to Linux-5.3-rc2 - Modify patch suse-coccinelle.patch to adopt spaas ------------------------------------------------------------------- Wed Sep 20 08:22:12 UTC 2019 - nick wang - bsc#1151579, fix collinelle default path and always trigger in obs Add patch suse-coccinelle.patch ------------------------------------------------------------------- Tue Sep 17 04:31:08 UTC 2019 - nwang@suse.com - bsc#1146117, disallow dual primaries when not configured. Modify patch rely-on-sb-handles.patch ------------------------------------------------------------------- Tue Sep 10 07:45:05 UTC 2019 - Jan Engelhardt - Restore higher summary specifity. - Drop old-age %clean, %defattr. ------------------------------------------------------------------- Mon Sep 9 07:09:37 UTC 2019 - nick wang - bsc#1149945, update to 8e93a5d93 (drbd-9.0 branch) * Coccinelle support * compat with up to Linux-5.3 - Remove patch compat_no_bioset_initialized.patch ------------------------------------------------------------------- Fri Jul 19 03:06:11 UTC 2019 - nwang@suse.com - Update to 9.0.19-1 * check on CAP_SYS_ADMIN instead of CAP_NET_ADMIN for certain operations * fix detection of unstable resync * fix possible stuck resync when resync started from an other secondary and later continued from a primary * fix NULL dereference with disk-timeout enabled; was introduced in 9.0.9 * retry connect when own current UUID changes during UUID exchange * fix quorum tie-breaker diskless logic for settings other than "majority" * disable quorum tie-breaker for 0 voters * fix dax_direct_access() error return check * fix resync stuck at near completion; bug was intorduces with 9.0.17 * unblock IO when on-quorum-lost policy is changed (suspend -> io-error) * introduce allow-remote-read configuration option; set it to "no" for DR links you only want to write, but never read * only complain about UUID changes during initial handshake ------------------------------------------------------------------- Tue May 28 05:52:07 UTC 2019 - nwang@suse.com - Upgrade to 9.0.18-1 * Fix an IO deadlock under memory pressure * Fix disconnect timing in case the network connection suddenly drops all packets * Fix some misbehavior that surfaced with Ahead/Behind * Fix potential spinlock deadlock in IRQ * Minor fixes: forget-peer, _rcu iterators * Quickly stop resync during AHEAD/BEHIND by introducing new packet for that purpose. * The quorum feature can now use the connectivity to the majority of Diskless nodes as tiebreaker * Access meta-data using DAX if it is on persistent memory (NVDIMM or PMEM); For write intense workloads this is a x2 to x4 speedup! - Remove patch fix-make-error.patch since merged into upstream(46e8e3fc) ------------------------------------------------------------------- Fri Mar 22 02:10:17 UTC 2019 - nwang@suse.com - Upgrade to 9.0.17-1 * Fix UUID handling of a diskless primary that has not peer with usable data may not touch the current UUID * Fix resync-after dependencies; cross-resource dependencies and missing resources * Fix resync when the sync source suddenly connects to a more recent data set via an other connection and becomes sync target on that other connection; pause first resync; fix wrong display of negative resync progress percentage in this case * Fix volume numbers between 32767 and 65534 * Fix the data integrity implementation; it was broken since drbd-9.0 and reported only false positives * Fix for a corner-case when a promote action happens concurrently with a reconciliation resync * Improve resync code to be able to fully utilize fast storage backend devices and fast networks with resync traffic; as a side effect the settling time of the resync controller got shorter in for most cases * Show in the user-visible message who the opener is if if demote/down fails doe to someone holding a drbd device open * docker file for a "load drbd module container" and allow to disable user-mode-helpers, which is necessary for this container - Add patch fix-make-error.patch for build error of make against TW. ------------------------------------------------------------------- Thu Jan 10 02:16:03 UTC 2019 - nwang@suse.com - bsc#1118732, split brain handles malfunction when 2 primaries. - Add patch rely-on-sb-handlers.patch ------------------------------------------------------------------- Mon Dec 10 08:06:53 UTC 2018 - nwang@suse.com - bsc#1118841, kernel compatible issue. Have bioset_init but no bioset_initialized - Add patch compat_no_bioset_initialized.patch Remove patch compat_have_mempool_init.patch ------------------------------------------------------------------- Wed Nov 21 07:47:51 UTC 2018 - nwang@suse.com - bsc#1116820, kernel compatible issue of sle15sp1 - Add patch compat_have_mempool_init.patch ------------------------------------------------------------------- Fri Oct 26 03:01:05 UTC 2018 - nwang@suse.com - bsc#1115606, Update to 9.0.16-1 * Fix regression (introduced with 9.0.15) in handling request timeouts * Fix a possible distributed loop when establishing a connection * Fix a corner case in case a resync "overtakes" an other one * Fix clearing of the PRIMARY_LOST_QUORUM flag * Check peers before generating new current UUID after loosing a node * In case the locally configured address of a connection is not available keep on retrying until it comes back ------------------------------------------------------------------- Mon Jul 23 02:32:47 UTC 2018 - nwang@suse.com - Update to 9.0.15-1 * fix tracking of changes (on a secondary) against the lost disk of a primary and also fix re-attaching in case the disk is replaced * fix live migrate of VMs on DRBD when migrated to/from diskless nodes * fix an IO deadlock in DRBD when the activity log on a secondary runs full * fix hanging demote after IO error followed by attaching the disk again and the corresponding resync * fix DRBD dopping connection after an IO error on the secondary node * improve details when online changing devices from diskless to with disk and vice versa. (Including peers freeing bitmap slots) * new module parameter to disable support for older protocol versions * improve details when online changing devices from diskless to with disk * remove no longer relevant compat tests * expose openers via debugfs * optimize IO submit code path * compat for v4.18 kernel ------------------------------------------------------------------- Thu May 3 01:04:29 UTC 2018 - nwang@suse.com - Update to 9.0.14-1 * fix regression in 9.0.13: call after-split-brain-recovery handlers no auto-recovery strategies (not even the default: disconnect) would be applied, nodes would stay connected and all nodes would try to become the source of the resync. * fix spurious temporary promotion failure: if after Primary loss failover happened too quickly, transparently retry internally. * fixup recently introduced P_ZEROES to actually work as intended * fix online-verify to account for skipped blocks; otherwise, it won't notice that it has finished, apparently being stuck near "100% done" * expose more resync and online-verify statistics and details * improve accounting of "in-flight" data and resync requests * allow taking down an already useless minor device during "down", even if it is (temporarily) opened by for example udev scanning * fix for a node staying "only" Consistent and not returning to UpToDate in certain scenarios when fencing is enabled * fix data generation UUID propagate during resync * compat for upstream kernels up to v4.17 ------------------------------------------------------------------- Sun Apr 8 02:00:53 UTC 2018 - nwang@suse.com - bsc#1090167, Update to 9.0.13-1 * abort a resync if a resync source becomes weakly and the sync targetis a neighbor of the primary * fix UUID handling with multiple diskless nodes * When a data-set gets into contact with an all diskless cluster, make sure to either set it to "Consistent" or reject the attach * correctly handle when a node that was marked as intentional diskless should get a disk * fix outdating of weakly connected nodes * made returning from Ahead to SyncSource more reliable * fix a hard to trigger deadlock in the receiver * fix online resize in the presence of two or more diskless nodes * fix online add of volumes to diskless nodes when it already has established connections * Set the SO_KEEPALIVE socket option on data sockets * automatically solve a specific split brain when quorum is enabled * Compat: Added support for kernels up to v4.15.x * new wire packet P_ZEROES a cousin of P_DISCARD, following the kernel as it introduced separated BIO ops for writing zeros and discarding * compat workaround for two RHEL 7.5 idiosyncrasies regarding refcount_t and struct nla_policy - Remove patch support-timer-setup.patch. Upstream fix 74b1cbb274 ------------------------------------------------------------------- Sun Feb 11 06:39:19 UTC 2018 - nwang@suse.com - bsc#1080458, enable build with kernel-rt on x86_64. - bsc#1080459, support build against 4.15.0. setup_timer() change to timer_setup() - Add patch support-timer-setup.patch ------------------------------------------------------------------- Wed Jan 24 03:44:56 UTC 2018 - nwang@suse.com - bsc#1077318, Update to 9.0.12 * Fix a race condition in the device_open code path that can cause an internal counter to go negative - Update to 9.0.11 * Fix bug in compat code: Without this fix large bios are not split. ------------------------------------------------------------------- Wed Dec 6 07:24:09 UTC 2017 - nwang@suse.com - bsc#1074169, Update to 9.0.10-1 * Fix resync of two secondary nodes in the presence of a 3rd node that is primary (maybe with disk or diskless); Fixed the race condition that caused the resync to sometimes not terminate * Improve connection behavior with autopromote enable one node Primary and udev present. * Fix in memory alignment of DRBD's struct bio. * Improve the quorum implementation, so that is works nicely with for the purpose of replacing fencing with quorum in a Pacemaker setup. * Ensure compatibility with upstream Linux kernel 4.14 - Remove patch reproducible.patch ------------------------------------------------------------------- Fri Nov 17 03:03:20 UTC 2017 - nwang@suse.com - bsc#1068587, add build request libelf-devel to build. ------------------------------------------------------------------- Wed Oct 11 09:58:26 UTC 2017 - nwang@suse.com - bsc#1062749, disable buildrt against SLE15 x86_64 temporarily. This change will be removed when rt is ready. ------------------------------------------------------------------- Fri Oct 6 07:48:08 UTC 2017 - nwang@suse.com - bsc#1061981, update to 9.0.9 * fix occasionally forgotten resyncs in installations where diskless primaries are present. * fix an issue that causes unexpected split-brain upon connect. * in a cluster with a diskless primary, when a server goes away, and is not outdated, outdate it upon reconnect. * fix update of exposed data UUID on diskless primaries. * fix a possible OOPS when in a debug message regarding bitmap locking * fix discard bigger than 1MiB * fix left over bits in bitmap on SyncSource after resync * fix peers becoming unexpectedly displayed as D_OUTDATED at the end of a resync * fix a race between auto promote and auto demote of multiple volumes in a single resource * Speed up down of many resources by using call_rcu() instead of synchronize_rcu() * Make it compatible with the soon to be released 4.13 kernel - Modify reproducible.patch since part of the patch is merged ------------------------------------------------------------------- Wed Jul 19 05:01:10 UTC 2017 - bwiedemann@suse.com - Add reproducible.patch to sort file lists (boo#1041090) and to override build date (boo#1047218) to fix build-compare ------------------------------------------------------------------- Wed Jun 14 03:21:59 UTC 2017 - nwang@suse.com - bsc#1045473, update to 9.0.8 fix a race condition between adding connections and receiving data fix a OOPS on a diskfull node when a request from a diskless node fix a distributed deadlock when doing a discard/write-same burst fix an issue with diskless nodes adopting wrong current UUIDs fix wrongly rejected two-phase-state transactions fix initial resync, triggered by "--force primary"(regression 9.0.7) Speed-up AL-updates with bio flags REQ_META and REQ_PRIO Merged changes from 8.4.10 and with that compatibility with Linux-4.12 - Remove patch fix-initial-sync-stop.patch - Fix the license to GPL-2.0+ ------------------------------------------------------------------- Thu May 25 07:55:55 UTC 2017 - nwang@suse.com - bsc#1038852, fix initial sync not triggered add patch fix-initial-sync-stop.patch ------------------------------------------------------------------- Wed Apr 26 09:03:00 UTC 2017 - nwang@suse.com - Update to 9.0.7 Using 9.0.7rc2 for upgrading from rc1... - bsc#1028124, fix kernel compat - Fix a potenial split brain - Change the drbd-utils requirement to 8.9.11 ------------------------------------------------------------------- Fri Mar 24 07:44:01 UTC 2017 - nwang@suse.com - Update to 9.0.7rc1 - various fixes to the 2-phase-commit online resize fix fencing and disk state trasition and from consistent, necessary for crm-fence-peer fix calculation of authoritative nodes Quorum to avoid data divergence, an alternative to fencing Compat with Linux 4.10 - Remove patch drbd_wrapper-Blank-out-WRITE_SYNC-warning-for-new-ke.patch - Add fix-resync-finished-with-syncs-have-bits-set.patch for bsc#1025089 - Including the compatible fix of bsc#1031299 ------------------------------------------------------------------- Mon Mar 6 16:14:45 CET 2017 - hare@suse.de - Compability fixes for SLE12 SP3 (bsc#993388, FATE#321732) - Add patch drbd_wrapper-Blank-out-WRITE_SYNC-warning-for-new-ke.patch ------------------------------------------------------------------- Thu Feb 16 06:56:53 UTC 2017 - nwang@suse.com - bsc#1025585, upgrade to 9.0.6 ------------------------------------------------------------------- Fri Nov 25 10:28:35 UTC 2016 - lpechacek@suse.com - Excluded openSUSE from RT KMP build (bsc#1005578) ------------------------------------------------------------------- Wed Nov 19 11:56:17 UTC 2016 - lpechacek@suse.com - Enabled RT KMP build (bsc#1005578) ------------------------------------------------------------------- Mon Oct 24 06:35:26 UTC 2016 - nwang@suse.com - bsc#1006176, compat with kernel 4.8 with 9.0.5 ------------------------------------------------------------------- Mon Oct 24 06:33:56 UTC 2016 - nwang@suse.com - Upgrade 9.0.2 to 9.0.5 - Remove patch compat-4.7-9902af79-i_mutex.patch Remove patch compat-4.7-fe8fb75e-blk_queue_write_cache.patch Remove patch compat-4.7-50225243-kill-nla_put_u64.patch Remove patch compat-4.7-1dee3f59-align-nla-u64.patch Remove patch drbd-buildcompare.patch Remove patch kernel-4.5-compat.patch Remove patch temp.patch ------------------------------------------------------------------- Wed Jun 8 06:03:05 UTC 2016 - nwang@suse.com - bsc#983633, upgrade to ver9.0.2 to build against kernel 4.6/4.7 - Add patch compat-4.7-9902af79-i_mutex.patch - Add patch compat-4.7-fe8fb75e-blk_queue_write_cache.patch - Add patch compat-4.7-50225243-kill-nla_put_u64.patch - Add patch compat-4.7-1dee3f59-align-nla-u64.patch ------------------------------------------------------------------- Fri Apr 8 14:44:21 UTC 2016 - nwang@suse.com - Compat with kernel 4.5 - Add patch kernel-4.5-compat.patch ------------------------------------------------------------------- Mon Mar 7 14:23:53 UTC 2016 - olaf@aepfle.de - Remove timstamp from binaries Add patch drbd-buildcompare.patch ------------------------------------------------------------------- Mon Mar 7 08:42:41 UTC 2016 - nwang@suse.com - Update to release drbd-9.0.1 - Depend on drbd-utils >= 8.9.6 ------------------------------------------------------------------- Mon Nov 30 14:31:22 UTC 2015 - nwang@suse.com - Update to released drbd-9.0.0 - Remove patch 0001-Support-zeroout-device-in-initial-sync.patch - Remove patch update-to-8.4.6-5.patch - Remove patch rename-GFP_WAIT-to-GFP_RECLAIM.patch - Remove patch new-bio-struct.patch ------------------------------------------------------------------- Fri Nov 20 06:50:29 UTC 2015 - nwang@suse.com - BSC#955968, support GFP_RECLAIM in kernel4.4 - Add rename-GFP_WAIT-to-GFP_RECLAIM.patch ------------------------------------------------------------------- Thu Oct 22 05:35:03 UTC 2015 - nwang@suse.com - BSC#950477, support new bio struct in kernel4.3 - Add new-bio-struct.patch ------------------------------------------------------------------- Fri Oct 16 09:18:10 UTC 2015 - nwang@suse.com - BSC#950477, update to 8.4.6-5 to fix bdi congested. - Rename 0001-drbd-Support-zeroout-device-in-initial-sync.patch to 0001-Support-zeroout-device-in-initial-sync.patch - Add update-to-8.4.6-5.patch ------------------------------------------------------------------- Fri Sep 25 04:52:12 UTC 2015 - nwang@suse.com - BSC#947460, add rcdrbd symlink. ------------------------------------------------------------------- Wed Aug 19 08:50:27 UTC 2015 - nwang@suse.com - Fate#317940, merge patch set into one patch. - Support zeroout/discard-devices instead of zap-devices - New feature flag FF_DISCARD - Add patch 0001-drbd-Support-zeroout-device-in-initial-sync.patch - Remove old patch set: Patch 0000-cover-letter-fate317940.patch Patch 0001-drbd-Fix-the-wrong-logic-of-moving-history.patch Patch 0002-drbd-Add-options-zap_devices-to-new-current-uuid.patch Patch 0003-drbd-A-function-to-zero-out-drbd-backing-device.patch Patch 0004-drbd-New-packet-P_ZERO_OUT.patch Patch 0005-drbd-Functions-to-notify-peer-node-to-start.patch Patch 0006-drbd-Wapper-for-zeroing-out-device-by-worker.patch Patch 0007-drbd-Flags-for-background-drbd-device-work.patch Patch 0008-drbd-Function-to-work-with-packet-P_ZERO_OUT.patch Patch 0009-drbd-Receive-zero-out-command-from-peer-node.patch Patch 0010-drbd-Handle-new-current-uuid-zap-devices.patch ------------------------------------------------------------------- Wed Jul 29 01:03:11 UTC 2015 - nwang@suse.com - BSC#939778. Add obsolete of old packages and a description for KMP package. - Require kernel-source-rt for RT. ------------------------------------------------------------------- Mon Jul 20 07:52:36 UTC 2015 - nwang@suse.com - Fate#317940. Speed up initial sync by supporting zero out device. Patch 0000-cover-letter-fate317940.patch Patch 0001-drbd-Fix-the-wrong-logic-of-moving-history.patch Patch 0002-drbd-Add-options-zap_devices-to-new-current-uuid.patch Patch 0003-drbd-A-function-to-zero-out-drbd-backing-device.patch Patch 0004-drbd-New-packet-P_ZERO_OUT.patch Patch 0005-drbd-Functions-to-notify-peer-node-to-start.patch Patch 0006-drbd-Wapper-for-zeroing-out-device-by-worker.patch Patch 0007-drbd-Flags-for-background-drbd-device-work.patch Patch 0008-drbd-Function-to-work-with-packet-P_ZERO_OUT.patch Patch 0009-drbd-Receive-zero-out-command-from-peer-node.patch Patch 0010-drbd-Handle-new-current-uuid-zap-devices.patch - Delete useless patch init-script-fixes.diff - ExcludeArch i586 and s390, since user space split into drbd-utils. ------------------------------------------------------------------- Fri Apr 17 06:34:51 UTC 2015 - nwang@suse.com - Update to 8.4.6 - With DRBD module version 8.4.5, we split out the management tools into their own repository. Started out as "drbd-utils version 8.9.0". To manage DRBD 8.4.5 kernel modules and above, want drbd-utils >= 8.9.0 - fix failing of user space helpers since kernel 3.13. This bug is known as 'out of mem, failed to invoke fence-peer helper' - fix connection timeouts for resources with multiple volumes - fix an issue with DRBD on linux software raid by properly remapping bi_bdev - fix a (hard to trigger) race condition between promoting to primary an connection handshake. In case the bug was hit the Primary got stuck in WFBitmapS connection state - Fix a NULL deref when resuming IO on a diskless primary - Fix compile issues with uncommon architectures - improvements to asender performance. With high end backing storage and networking equipment you may see IOPS improvements between 25% to 50%. - Highest number on a single drbd seen by LINBIT so far: 160000 IOPS - backport of events2 and status commands from drbd9. This allows to be DRBD9 compatible starting with this release, and to get used to DRBD9 compatible status reporting - support for lsblk in drbd - Update to 8.4.5 - fix potential BUG_ON in mempool_alloc for older kernels (<2.6.23) - fix cornercase of resync finished detection - fix drbd_ldev_destroy to run exactly once and in worker context - fix spurious detach/disconnect: don't announce WRITE_SAME - fix NULL pointer deref in blk_add_request_payload - (DISCARD/TRIM handling in sd) - fix regression: potential NULL pointer dereference - fix regression: potential list corruption - fix regression: potential deadlock in adm functions (drbdsetup) - fix regression: /sbin vs /usr/sbin in scripts - fix race stopping the worker thread - new debugfs presence expose oldest requests and other details - userspace moved to own repository - linux 3.13 and 3.14 compatibility - improve adaptive resync controler - reduce bitmap IO during resync - allow write-ordering policy to be bumped up again - trigger tcp_flush_pending_frames() for PING/PING_ACK - fix potential segfault in drbdadm adjust - drbdsetup improvements: fix netlink socket buffers; detect modprobe failure ------------------------------------------------------------------- Fri May 30 04:29:22 UTC 2014 - lwang@suse.com - modify drbd.rules by removing NAME and adding SYMLINK in case that configuration has a device name diffrent from kernel node (bnc#878119) add: fix-udev-for-drbd-start-timeout.patch ------------------------------------------------------------------- Tue May 20 09:13:32 UTC 2014 - lmb@suse.com - Packages drbd-xen, drbd-utils, drbd-bash-completion, and drbd-pacemaker were merged into drbd (bnc#878793) ------------------------------------------------------------------- Sun Apr 13 20:10:00 UTC 2014 - mmarek@suse.cz - Add # needssslcertforbuild to use the project's certificate when building in a home project. ------------------------------------------------------------------- Mon Mar 31 21:44:23 UTC 2014 - rgoldwyn@suse.com - Add Module.supported and preamble (bnc#871132) ------------------------------------------------------------------- Thu Mar 27 07:40:07 UTC 2014 - xli@suse.com - Update to 8.4.4.7 - fix potential BUG_ON in mempool_alloc for older kernels (<2.6.23) - fix cornercase of resync finished detection - fix drbd_ldev_destroy to run exactly once and in worker context - fix spurious detach/disconnect: don't announce WRITE_SAME - fix NULL pointer deref in blk_add_request_payload (DISCARD/TRIM handling in sd) - fix regression: potential NULL pointer dereference - fix regression: potential list corruption - fix regression: potential deadlock in adm functions (drbdsetup) - fix regression: /sbin vs /usr/sbin in scripts - fix race stopping the worker thread - linux 3.13 compatibility - improve adaptive resync controler - reduce bitmap IO during resync - allow write-ordering policy to be bumped up again - trigger tcp_flush_pending_frames() for PING/PING_ACK - new sysfs oldest_requests attribute (may be moved to debugfs) - fix potential segfault in drbdadm adjust - drbdsetup improvements: fix socket buffers; detect modprobe failure - Upstream version cs: 3c1f46cb19993f98b22fdf7e18958c21ad75176d ------------------------------------------------------------------- Thu Mar 13 06:40:32 UTC 2014 - xli@suse.com - Handle drbd devices when presented as phy devices by xenstore with libxl (bnc#865682) + add_phy_to_block-drbd.diff ------------------------------------------------------------------- Wed Jan 29 13:21:11 CET 2014 - ro@suse.de - disable build_kmp on i586 and s390, SLE-12 does not build a runnable kernel there ------------------------------------------------------------------- Mon Oct 14 09:56:15 UTC 2013 - lmb@suse.com ------------------------------------------------------------------- Mon Oct 14 09:27:25 UTC 2013 - lmb@suse.com - Update to official 8.4.4 - drbd: evaluate disk and network timeout on different requests - drbd: Fix a hole in the challange-response connection authentication - drbd: always implicitly close last epoch when idle - drbd: add back some fairness to AL transactions - drbd: keep max-bio size during detach/attach on disconnected primary - drbd: fix a race between start_resync and send_and_submit - drbd: fix deadlock in discard fallback code - Build drbd KMPs. ------------------------------------------------------------------- Thu Oct 10 14:04:56 UTC 2013 - lmb@suse.com - Update to 8.4.4rc2 - fix potential deadlock when concurrently fencing and establishing a connection - fix potential distributed deadlock during verify or resync - fix decoding of bitmap vli rle for device sizes > 64 TB - fix for deadlock when using automatic split-brain-recovery - only fail empty flushes if no good data is reachable - avoid to shrink max_bio_size due to peer re-configuration - fix resume-io after reconnect with broken fence-peer handler - crm-fence-peer: less cib polling, peer-alive detection using crmadmin, and other improvements - OCF RA: avoid too tight pacemaker driven recovery loop on failed promote, implement adjust_master_score parameter - fix too large bursts for very slow resync rates - don't let application IO throttle resync to a stall - Fixed attaching to disks with fixed size external meta-data (This regressions was introduced with 8.4.3) - Fixed a crash when the connection broke at a very exact point in time while a graceful disconnect executes - Support for REQ_DISCARD - Allow parallel promote/demote - Allow online changing of al-stripes and al-stripe-size with the resize command - drbdadm adjust now deals with IP-address changes correctly - Align the internal object model with drbd-9.0 (away from drbd-8.3) - New drbd-proxy option "bwlimit"; allow proxy options on host level - Compiles on Linux v3.10 ------------------------------------------------------------------- Wed Sep 18 09:56:22 UTC 2013 - lmb@suse.com - Update drbd version string in specfile so that a future 8.4.4 check-in will be considered newer than 8.4.4rc1. - Clean-up specfile based on spec-cleaner ------------------------------------------------------------------- Mon Sep 16 11:22:46 UTC 2013 - lmb@suse.com - Update to drbd 8.4.4rc1 - Disable heartbeat support (heartbeat no longer ships on openSUSE) - fix decoding of bitmap vli rle for device sizes > 64 TB - fix for deadlock when using automatic split-brain-recovery - only fail empty flushes if no good data is reachable - avoid to shrink max_bio_size due to peer re-configuration - fix resume-io after reconnect with broken fence-peer handler - fencing script improvements - Fixed attaching to disks with fixed size external meta-data (This regressions was introduced with 8.4.3) - Allow online changing of al-stripes and al-stripe-size with the resize command - drbdadm adjust now deals with IP-address changes correctly - Align the internal object model with drbd-9.0 (away from drbd-8.3) - Do not end up in Unconnected state if the connection breaks at a certain point during the handshake (was introduced with 8.3.12) - Closed a race condition between promoting and connection handshake, that could lead to an inconsistent view of the peer's UUIDS - Fixed a race condition that could lead to a full sync, if connection breaks at a certain point while starting a regular resync - Fixed crm-fence-peer.sh for pacemaker 1.1.8 - Fixed a list corruption for read requests that complete with an error after they were aborted - Fixed a kernel panic if the device size was an exact multiple of 128MiB - Fixed a potential memory allocation during deadlock online resize - Improve the handling of read-errors: Make sure that sectors that had a read error are overwritten with data from the peer on the next resync - Expose the data-generation-uuids through /sys/block/drbdXX/drbd/ - The new flag --peer-max-bio-size for drbdmeta create-md is of use if you plan to use the device for long time without peer - Fixed a potential protocol error and resulting disconnect/reconnect, when a disk fails on the secondary node. (Introduced with 8.4.2) - Do not fail empty flushed on diskless, primary node - Fixed calculation of master scores for single volume and unconfigured resources in the drbd.ocf RA - When the connection breaks during a grace full disconnect DRBD failed to call the eventually configured fence-peer handler. Fixed. - Obey md-barrier setting when changed via the disk-options command - Non blocking queuing of AL-updates; This change significantly improves the number of IOPs in case the workload does not fit into the configured AL size. (Backport from drbd-9) - New options for drbdmeta create-md --al-stripes and --al-stripe-size to create a larger and striped AL - Fixed drbdadm adjust of max-bio-bvecs - Fixed a memory leak of 336 byte per attach/detach cycle - Fix a potential null-pointer deference when configuring invalid resync after dependencies - Fixed IO resuming after connection was established before fence peer handler returned - Fixed an issue in the state engine that could cause state lockup with multiple volumes - Write all pages of the bitmap if it gets moved during an online resize operation. (This issue was introduced with 8.3.10) - Fixed a race condition could cause DRBD to go through a NetworkFailure state during disconnect - Fixed a race condition in the disconnect code path that could lead to a BUG() (introduced with 8.4.0) - Fixed a write ordering problem on SyncTarget nodes for a write to a block that gets resynced at the same time. The bug can only be triggered with a device that has a firmware that actually reorders writes to the same block (merged from 8.3.13) - Fixed a potential deadlock during restart of conflicting writes - Disable the write ordering method "barrier" by default, since it is not possible for a driver to find out if it works reliably since 2.6.36 - All fixes that went into 8.3.13 - Removed a null pointer access when using on-congestion policy on a diskless device - In case of a graceful detach under IO load, wait for the outstanding IO. (As opposed to aborting IOs as a forcefully detach does) - Reinstate disabling AL updates with invalidate-remote (8.4.0 regression) - Reinstate the 'disk-barrier no', 'disk-flushes no', and 'disk-drain no' switches (8.4.0 regression) - Backported the request code from DRBD-9. Improves handling of many corner cases. - Support FLUSH/FUA bio flags - Made the establishing of connections faster - New option 'al-updates no' to disable writing transactions into the - activity log. It is use full if you prefer a full sync after a primary crash, for improved performance of a spread out random write work load - Expose the data generation identifies via sysfs - "--stop" option for online verify to specify a stop sector - Fixed a bug that might cause in kernel list corruption triggered by simultaneous IO on multiple volumes in a single resource - Fixed a bug that might cause a kernel OOPS in the worker thread while the receiver tied to establish a connection (drbd-8.4.0 regression) - Fixed an issue in the receiver that could cause connection triggered by simultaneous IO on multiple volumes in a single resource - Consider the discard-my-data flag for all volumes - Fixed attaching to backing devices that do not support barriers/flushes, when barriers/flushes are not disabled by the configuration. (drbd-8.4.0 regression) - Fixed a rare compatibility issue with DRBD's older than 8.3.7 when negotiating the bio_size - Fixed a rare race condition where an empty resync could stall with if pause/unpause events happen in parallel - Made the re-establishing of connections quicker, if it got a broken pipe once. Previously there was a bug in the code caused it to waste the first successful established connection after a broken pipe event. - crm-fence-peer.sh: Can now deal with multiple DRBD instances being in a master/slave group - Optional load balancing for read requests: new keyword "read-balance" ------------------------------------------------------------------- Mon May 13 10:44:16 CEST 2013 - ohering@suse.de - Make /etc/xen mode 0700 to protect vnc passwords. ------------------------------------------------------------------- Tue Jul 10 07:51:21 UTC 2012 - tserong@suse.com - Don't use /var/lock/subsys in init script (bnc#714643) ------------------------------------------------------------------- Fri Dec 16 03:45:16 UTC 2011 - tserong@suse.com - update to 8.3.11 * Added missing spinlock in compressed bitmap receive (regression introduced in 8.3.10, could lead to "negative" out-of-sync stats and non-terminating resync when "use-rle" is enabled) * Fixed handling of read errors during online verify runs * Fixes for possible distributed deadlocks during online verify and checksum based resync processes * Fixed handling of IO errors with an on-io-error=pass-on policy; the disk state goes to inconsistent * Fixed the behavior in case ping-timeout and ping-int are set to the same value * Fix for connecting on high latency network links * Fixed wrong connection drops ("PingAck did not arrive in time") with asymmetrically congested networks * Fixed state transitions if fence-peer handler returns after connection was established again * Fixes to drbdmeta and drbdsetup for the > 16TByte support * Made negotiation of max_bio_size conservative instead of optimistic * Network timeouts for mirrored write requests are now always enforced, no longer only when the socket is congested ------------------------------------------------------------------- Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de - Remove redundant tags/sections from specfile (cf. packaging guidelines) ------------------------------------------------------------------- Mon Feb 21 14:10:49 UTC 2011 - ro@novell.com - update to 8.3.10 * Fixed a subtle performance degradation that might affected synchronous work loads (databases) (introduced in 8.3.9) * Fixed a locking regression (introduced in 8.3.9) * Fixed on-no-data-accessible for Primary, SyncTarget nodes (Bugz 332) * Progress bar for online verify * Optionally use the resync speed control loop code for the online verify process as well * Added code to detect false positives when using data-integrity-alg * New config option on-congestion and new connection states ahead and behind * Reduced IO latencies during resync, bitmap exchange and temporal states * Only build a single kernel module package on distributions that provide the infrastructure to have kernel version independent modules * On 64bit architectures allow device sizes up to one petabyte - update to 8.3.9 * Fix for possible deadlock on IO error during resync * Fixed a race condition between adding and removing network configuration. Lead to a BUG_ON() when triggered. * Fixed spurious full syncs that could happen after an empty resync and concurrent connection loss. * Fixed spurious full syncs that happened when connection got lost while one node was in WFSyncUUID state (Bugz 318) * Fixed a race in the meta-data update code path, that could lead to forgotten updates to the meta-data. That in fact could lead to unexpected behavior at the next connect * Fixed potential deadlock on detach * Fixed potential data divergence after multiple failures * Implicitly create unconfigured devices which are referenced in sync-after dependencies. * OCF RA now also works with pacemaker 1.1 * Allow BIO sizes of up to 128kByte. Note: In case drbd-proxy is used, at least version 1.0.16 of drbd-proxy is required. * New configuration keyword on-no-data-accessible. Possible values io-error, and suspend-io. The default is "io-error", which matches the previous behavior. * If the fencing policy is set to resource-and-stonith, the primary node will creates the new current UUID _after_ the fencing handler returned. (Before it did immediately) * Rewrote the resync speed control loop code. New configuration parameters c-plan-ahead, c-fill-target, c-delay-target, c-max-rate, c-min-rate. * Disable activity log updates when all blocks of an unconnected device is are out of sync. That can be activated by using "invalidate-remote" on an unconnected primary. * Improved IPv6 support: link local addresses * Improved resync speed display in /proc/drbd ------------------------------------------------------------------- Fri Oct 22 00:40:04 CEST 2010 - ro@suse.de - update to 8.3.8.1 * Revert delay probes, they could potentially lead to stalled resync. Feature is being re-implemented differently * DRBD ocf resource agent now treats hostnames case insensitive - update to 8.3.8 * Do not expose failed local READs to upper layers, regression introduced in 8.3.3 * Fixed support for devices with 4k hard sector size (again) * Fixed a potential Oops in the disconnect code * Fixed a race condition that could cause DRBD to consider the peers disk as Inconstent after resync instead of UpToDate (Bugz 271) * Fixed a reace condition that could cause DRBD to consider the peers disk as Outdated instead of Inconsistent during resync (Bugz 277) * Disallow to start a resync with invalidate / invalidate-remote when the source disk is not UpToDate * Forcing primary works now also for Consistent, not only for Outdated and Inconsistent (Bugz 266) * Improved robustness against corrupt or malicous sector addresses when receiving data * Added the initial-split-brain, it gets called also if the split-brain gets automatically resolved * Added the --assume-clean option for the resize command, it causes drbd to not resync the new storage after an online grow operation * drbdadm: Do not segfault if stacked-on-top-of refers to an undefined res * drbdadm: Do not consider configs with invalid after statements as invalid * drbdadm: Do not segfault if the peer's proxy section is missing * drbdadm: Allow nullglob in include statement * drbdadm: Fixed the use of waitpid * init script: fix insserv headers (Debian 576901) * Gave the receiving code the ability to use multiple BIOs for writing a single data packet; now DRBD works with BIOs up to 32kByte also on LVM devices; from now on the use_bmbv config option does nothing * New command check-resize, that allows DRBD to detect offline resizing and to move internal meta-data accordingly * Added a control loop, that allows DRBD to find auto tune the resync speed, on connections with large queues (drbd-proxy) * --dry-run option for connect; disconnects after sync handshake * --overwrite-data-of-peer got an alias named --force * Improvements to crm-fence-peer * Fixed option parsing and stacking in snapshot-resync-target-lvm.sh * Compiles on 2.6.33 and 2.6.34 - removed patches: 64bit-fixes.diff (upstream/obsolete) ------------------------------------------------------------------- Fri Jun 25 05:39:10 UTC 2010 - tserong@novell.com - Include Linbit RA ------------------------------------------------------------------- Sun Apr 11 14:29:39 CEST 2010 - dmueller@suse.de - remove KMP subpackage, the kernel modules are part of the kernel and don't build out of tree anymore - update to 8.3.7: * Lots of fixes to the new RPM packaging * Lots of fixes to the autoconfig stuff * Following the rename of CONFIG_LBD to CONFIG_LBDAF * Silenced an assert. Could trigger after changing write ordering (Bugz 261) * Fixed a race condition between detach and ongoing IO. Very hard to trigger, caused an OOPS in make_request/drbd_make_request. (Bugz 262) * Fixed a regression in the resync handshake code introduced before 8.3.3. That bug causes DRBD to block during the initial handshake when a partial resync is not possible but a full resync is necessary. Happens very rarely. (Bugz 260) * Do not drop into StandAlone mode when connection is lost during authentication * Corrected a null test in the authentication code, found by conccinelle, thanks to upstream integration. The chance to trigger that was probably 10^-9. * crm-fence-peer.sh is now also usable if DRBD is managed from the xen block helper script * Fixes to the init script's dependencies * Backported cleanups that where contributed to the in kernel DRBD * Allow online resizing of disconnected devices, new option to drbdsetup drbdsetup /dev/drbdX resize --assume-peer-has-space * Allow multiple after options in the syncer section for stacked setups * Correctly process relative paths in include statements in drbd.conf * New option (-t) for drbdadm to test syntax of config snippets * Following Linux upstream changes 2.6.32 (SHASH and in_flight issues) * New /etc/drbd.conf example that suggests the use of /etc/drbd.d/xxx.res * Fixed a regression introduced shortly before 8.3.3, which might case a deadlock in DRBD's disconnect code path. (Bugz 258) * Fixed drbdsetup X resume-io which is needed for the recovery from the effects of broken fence-peer scripts. (Bugz 256) * Do not reduce master score of a current Primary on connection loss, to avoid unnecessary migrations * Do not display the usage count dialog for /etc/inti.d/drbd status ------------------------------------------------------------------- Fri Jan 8 16:54:23 CET 2010 - vuntz@opensuse.org - Remove unneeded glib-devel BuildRequires. ------------------------------------------------------------------- Wed Oct 7 19:16:37 UTC 2009 - aj@suse.de - update to 8.3.4: * Support kernel 2.6.31 * Numerous bug fixes * Support for Infiniband via SDP (sockets direct protocol) - Add build fix from upstream. ------------------------------------------------------------------- Sun Jul 19 21:51:40 CEST 2009 - coolo@novell.com - trying to get installation right ------------------------------------------------------------------- Tue Jul 14 12:13:04 CEST 2009 - teelynn19@aim.com - update to 8.3.2 * For kernel 2.6.30 support - see internal changelog of source ------------------------------------------------------------------- Mon Apr 20 01:13:04 CEST 2009 - ro@suse.de - update to 8.3.1 * Fixed drbdadm invalidate on disconnected devices (reg in 8.2.7) * Fixed a hard to trigger spinlock deadlock when using device stacking with the upper device having a smaller minor number than the lower device. (Bugz 210) * Adding a missing range check in ensure_mdev() * Implemented a congested_fn; the kernel can keep its pdflushes running now * Improvements the connection code for high latency links * Fix for several potential memory leaks when allocating a device * Use an additional meta data bit to store the fact of an old crashed primary * Udev rule that populates /dev/drbd/by-res/ and /dev/drbd/by-disk/ * New timeout option: outdated-wfc-timeout * New drbdmeta option: --ignore-sanity-checks * Include statement for drbd.conf * Improvements to drbd-overview.pl * Fixed snapshot-resync-target-lvm.sh to work with more than 10 devices * Do not force a full resync after a detach on a primary node * Compatibility with Linux 2.6.27, 2.6.28 and 2.6.29 - update to 8.3.0 * Fixed 'sleep with spinlock held' in case online verify found a difference * Fixed error code pathes in request processing. * Fix for stack smashing in drbdmeta * Fixed a bug that could lead to a crash when detaching/attaching on the primary under heavy IO (Bugz 171) * Fixed a bug in the new epoch code (introduced with 8.2.7). Might cause crash at reconnect after connection loss during heavy IO (Bugz 160) * Fixed a bug in drbdsetup that could cause drbdsetup wait-connect to miss the connection event. * Fixed a race condition in the new barrier code. (Reordered barrier ACKs) * Do not rely on blkdev_issue_flush() returning ENOTSUPP * bitmap in unmapped pages = support for devices > 4TByte (was DRBD+) * checksum based resync (was DRBD+) * support for stacked resource (was DRBD+) * Added support for stacked resources to the bash completion stuff * Added missing documentation (manpages) * Fixed drbdadm handlers for stacked resources * Support of drbd-proxy in stacked setups * RedHat cluster suite (rgmanager) integration scripts * Renamed 'state' to 'role' * More build compatibility with older vendor kernels * Added drbd-overview.pl to the packages - update filelist ------------------------------------------------------------------- Tue Jan 13 14:16:41 CET 2009 - dgollub@suse.de - Add kernel-syms-rt to build requires to build SLERT KMPs ------------------------------------------------------------------- Wed Dec 10 13:30:00 CET 2008 - lmb@suse.de - Update with changes from 8a9ba53abe973301639beacc55eec569b43507e5: - Fix buffer overflow and off-by-one errors in drbd user-space token parser (bnc#450883). - Fix resizing of devices. - Fix a NULL pointer dereference in barrier handling. - Handle failing request better. - Race in UUID synchronization. - Fix a call to a blocking function from within a spinlock. - drbd-optflags.patch: removed, is now upstream. ------------------------------------------------------------------- Fri Nov 21 14:00:00 CET 2008 - lmb@suse.de - Update from 8.2.7-rc1 to 8.2.7 proper. - Endianness fixes. - Handle out-of-sequence barrier acks. - Allow DRBD to user other cn_idx values in case our default value is already taken. - Although Primary/Diskless/StandAlone is invalid it is not unconfigured - become UpToDate on both after detach-attach on a connected secondary device pair - 2.6.28 compatibility (needed for SLE11 kernel) - Bugfixes to write barrier handling. ------------------------------------------------------------------- Mon Oct 27 14:00:00 CET 2008 - lmb@suse.de - Include fixes from upstream (0e87a13b63e2ef87af6cfcc0d875721c53f37ed9). - Fixed possible Oops on connection loss during sync handshake. - Latency improvements. - Improved barrier support. ------------------------------------------------------------------- Thu Sep 4 12:13:27 CEST 2008 - lmb@suse.de - Imported some changes from upstream, including: - Made it to compile on Linux-2.6.26 - Fixed online resizing if there is application IO on the fly when the resize is triggered. - Fixed online resizing if it is triggered from the secondary node. - Fixed a possible deadlock in case "become-primary-on-both" is used, and a resync starts - Fixed the invocation of the pri-on-incon-degr handler - Fixed the exit codes of drbdsetup - sock_create_lite() to avoid a socket->sk leak - Auto-tune socket buffers if sndbuf-size is set to zero ------------------------------------------------------------------- Mon Aug 18 18:07:48 CEST 2008 - mrueckert@suse.de - remove outdated options in the fillup_and_insserv call ------------------------------------------------------------------- Mon Aug 18 11:26:43 CEST 2008 - schwab@suse.de - Fix name of completions file. ------------------------------------------------------------------- Tue Jul 15 09:41:31 CEST 2008 - lmb@suse.de - Update to 8.2.6 and include all bugfixes from upstream. - Fix loading of module (bnc#403731). - Include bash completion for drbdadm. - Added the before-resync-target handler. - Fixed the out-of-sync handler. - Added the max-bio-bvecs option to workaround issues in a stack of DRBD/LVM/Xen. - Fix online resizing in case if triggered from secondary. - Includes bugfixes from 8.0.11 -> 8.0.12 branch. ------------------------------------------------------------------- Wed Jun 4 12:04:56 CEST 2008 - ro@suse.de - buildreq xen-tools only on x86,x86_64 ------------------------------------------------------------------- Tue Jun 3 21:57:39 CEST 2008 - coolo@suse.de - avoid packaging a directory of xen-tools with different permissions ------------------------------------------------------------------- Tue Apr 15 15:03:25 CEST 2008 - lmb@suse.de - Update to 8.2.5 (FATE#302403) - Include online-verify + various fixes to it. - Fix races between online-verify and application writes. - Fixed data-integrity-alg features. - Improved latency. - Full support for migration of meta-data from 0.7 -> 0.8. - Fix some more races, bugs, and memory leaks. ------------------------------------------------------------------- Wed Dec 5 15:03:58 CET 2007 - ro@suse.de - hack to compile with 2.6.24 ------------------------------------------------------------------- Tue Sep 18 12:07:34 CEST 2007 - ro@suse.de - do really build a module ------------------------------------------------------------------- Mon Sep 17 14:41:31 CEST 2007 - lmb@suse.de - Update to drbd 8.0.6 for kernel-compatibility (310187) ------------------------------------------------------------------- Wed Apr 4 22:13:20 CEST 2007 - lrupp@suse.de - added module-init-tools to BuildRequires ------------------------------------------------------------------- Fri Mar 30 15:20:11 CEST 2007 - rguenther@suse.de - add flex BuildRequires - add /etc/modprobe.d directory ------------------------------------------------------------------- Fri Mar 30 02:26:42 CEST 2007 - ro@suse.de - added bison to buildreq ------------------------------------------------------------------- Mon Jan 15 09:43:01 CET 2007 - lmb@suse.de - Update to 0.7.23 for Linux kernels >2.6.19. ------------------------------------------------------------------- Mon Oct 30 23:33:13 CET 2006 - lmb@suse.de - Update to the officially released 0.7.22 version. - Implement "freeze_io" feature. - convert-MODULE_PARM.diff: drop unneeded patch. ------------------------------------------------------------------- Fri Oct 6 14:03:21 CEST 2006 - lmb@suse.de - Update to 0.7.22: - In protocol A and B, on connection loss, drbd could "forget" to set certain areas out of sync. - fix races between failure in drbd_send_dblock and concurrently running tl_clear. - fix potential access-afer-free in drbd_dio_end. - fix possible list corruption respective resulting deadlock in receive_DataRequest. - improved the drbd_thread_stop / start code. ------------------------------------------------------------------- Mon Aug 14 21:44:10 CEST 2006 - lmb@suse.de - Update to 0.7.21. * Fixed the "syncer stalled" after reconnect symptom. * Fixed the "stalled in WFParams" after reconnect symptom. The cause of this bug was actually a misuse of the data socket. * Allow to set the uplug_watermark to 1, only usefull for very strange cases. * The GC comparison code failed to start a resync in case the two cluster node failed simultaniously (common power failure). * Fixed DRBD's code to start kernel threads to work on 2.6.17 also. * IOCTL return codes fixed for 32bit userland - 64 bit kernel setups. * New config option "unplug-watermark". * Released the drbd_alloc_ee() / drbd_free_ee() implementation from the DRBD+ branch to the main branch. * Fixed a bug where lc_del() left a list poison in an LRU chache's hash table. The only way to trigger this bug was: up (>>200M), primary, mkfs, resize to 200M, down, up * DRBD now propagates the backing storage's read ahead properties to upper layers. With devices that read very fast, this is important. * GFP_KERNEL was changed to GFP_NOIO in a few places, to make it more save against deadlocks in the memory subsystem. ------------------------------------------------------------------- Thu May 4 17:10:38 CEST 2006 - lmb@suse.de - Import fixes from 0.7.18: - Under high memory pressure it was possible to hit a deadlock on a kmalloc(). Changed the GFP mask, it is no longer possible to deadlock it with memory pressure. - With very unlucky network timing during connect DRBD falls into a connect / drop-connection loop, that as soon as DRBD is in this loop is very stable. This is fixed now, DRBD detects this situation an breaks out of it. - Fix to the init-script. Now it waits until udev has created the device nodes of _all_ resources. - A small fix for the 32bit userland 64bit kernel people, running older kernels. - Improved handling of IO errors during initial read in of the activity log. ------------------------------------------------------------------- Sun Apr 2 20:01:34 CEST 2006 - agruen@suse.de - convert-MODULE_PARM.diff: Convert from the obsolete MODULE_PARM to the new module_param. ------------------------------------------------------------------- Mon Mar 27 17:43:40 CEST 2006 - lmb@suse.de - Fix memory allocation flags for the activity log (GFP_KERNEL -> GFP_NOIO) to avoid possible deadlock. ------------------------------------------------------------------- Mon Mar 6 17:09:05 CET 2006 - lmb@suse.de - Import upstream fixes from 0.7.17: - There was a bug that could cause the activity log to be not applied after a primary crash, when an other size than 127 elements was configured. - There was a bug in the activity log code, that could cause that the latest update to the AL is omitted at recovery time. - The "Marked additional XXKB as out-of-synced based on AL." message showed one one eighth of the real amount. ------------------------------------------------------------------- Thu Feb 16 16:41:19 CET 2006 - lmb@suse.de - Update to 0.7.16, new fixes: - DRBD no longer shrinks an consistent device if it gets connected to an smaller peer or attached to a smaller disk. - There was a bug related to the degr-wcf-timeout config option, it was never used in recent DRBD releases. Fixed. ------------------------------------------------------------------- Fri Feb 3 11:59:29 CET 2006 - agruen@suse.de - drbd.spec: Replace %arch with %_target_cpu. ------------------------------------------------------------------- Thu Feb 2 12:04:52 CET 2006 - ro@suse.de - added KMP subpackage (required with suse_kernel_module_package) ------------------------------------------------------------------- Tue Jan 31 15:04:10 CET 2006 - lmb@suse.de - Change km_drbd to a KMP. - Import fix to deal with serialized recursive calls to generic_make_request() and avoid a deadlock (SVN r2056). ------------------------------------------------------------------- Thu Jan 26 12:25:02 CET 2006 - lmb@suse.de - Compile fix for 2.6.16-rc1. ------------------------------------------------------------------- Wed Jan 25 21:35:35 CET 2006 - mls@suse.de - converted neededforbuild to BuildRequires ------------------------------------------------------------------- Mon Jan 23 17:57:02 CET 2006 - lmb@suse.de - Import some updated documentation. ------------------------------------------------------------------- Tue Dec 20 14:14:54 CET 2005 - lmb@suse.de - Update to 0.7.15. ------------------------------------------------------------------- Thu Dec 1 15:57:58 CET 2005 - lmb@suse.de - Update to 0.7.14/SVN. ------------------------------------------------------------------- Thu Sep 1 12:18:25 CEST 2005 - lmb@suse.de - Switch to stable version 0.7.13. ------------------------------------------------------------------- Thu Jun 30 09:43:19 CEST 2005 - meissner@suse.de - use RPM_OPT_FLAGS correctly. ------------------------------------------------------------------- Mon Feb 21 18:08:00 CET 2005 - lmb@suse.de - Update to upstream 0.8_pre1 (SVN 1763). ------------------------------------------------------------------- Wed Feb 2 18:42:01 CET 2005 - lmb@suse.de - Update to upstream 0.7.10 (1754). ------------------------------------------------------------------- Fri Jan 14 01:32:35 CET 2005 - ro@suse.de - fix typo in specfile ------------------------------------------------------------------- Wed Dec 1 14:51:29 CET 2004 - lmb@suse.de - Update to upstream version 0.7.6. ------------------------------------------------------------------- Mon Sep 20 15:54:07 CEST 2004 - lmb@suse.de - Merge fixes from SLES9 SP1 with STABLE. ------------------------------------------------------------------- Fri Sep 3 15:36:21 CEST 2004 - lmb@suse.de - Realign with upstream. ------------------------------------------------------------------- Fri Aug 27 12:41:43 CEST 2004 - lmb@suse.de - Allow invalidate if cstate to - changed neededforbuild to ------------------------------------------------------------------- Wed Oct 2 14:23:53 CEST 2002 - jg@suse.de - Updated to 0.6.1-pre17, changes: - Merged syncer speedup code by Lars G. Ellenberg - Merged most of Lars' modifications to the ioctl interface - Marged the bug-fixes from the lge-branch - Implemented the TimoutCounter in the meta-data code. - Fixed a bug that could cause lockup of the primary node on SMP systems using a SCSI device for DRBD, it always happened during resynchronisation. (!) - Checking /.buildenv now in buildsystem instead of /etc/*-release ------------------------------------------------------------------- Tue Sep 3 18:18:48 CEST 2002 - jg@suse.de - Init script fixes: - Removed abortion on non existing block devices (may break LVM setups) - Sourcing . /etc/rc.status earlier now - Allowing execution via rcdrbd link ------------------------------------------------------------------- Mon Sep 2 22:09:22 CEST 2002 - jg@suse.de - Incorporated latest changes from CVS - Using lge branch now (syncer much faster) ------------------------------------------------------------------- Wed Aug 21 10:32:08 CEST 2002 - jg@suse.de - Fixed manpage generation (should now even build on ppc64) ------------------------------------------------------------------- Tue Aug 20 11:17:55 CEST 2002 - jg@suse.de - Added PreReq tag ------------------------------------------------------------------- Mon Aug 19 12:07:53 CEST 2002 - kukuk@suse.de - fix compilation on UL ------------------------------------------------------------------- Tue Aug 13 15:28:49 CEST 2002 - jg@suse.de - Added documentation stuff again - Modified init script to comply with LSB ------------------------------------------------------------------- Mon Aug 12 15:18:40 CEST 2002 - jg@suse.de - Updated to latest version from CVS repository - Removed temporary documentation path from Makefile (does not build) ------------------------------------------------------------------- Tue Mar 5 08:38:28 CET 2002 - jg@suse.de - Fixed broken specfile ------------------------------------------------------------------- Mon Mar 4 17:37:13 CET 2002 - jg@suse.de - updated to bugfix release 0.6.1pre10 - Data-corruption bug in SyncAll fixed (was introduced in pre9) - Fixed an OOPS in tl_check_sector() (was introduced in pre9) - Fixed Linux-2.2.x compability (was broken in pre9) - removed documentation patch (not needed anymore) ------------------------------------------------------------------- Wed Feb 20 18:14:04 CET 2002 - jg@suse.de - modified init script to honor inittimeout settings ------------------------------------------------------------------- Wed Feb 20 17:55:05 CET 2002 - jg@suse.de - added -include /usr/src/linux/include/linux/modversions.h to km_drbd Makefile in case CONFIG_MODVERSIONS is set - modified the init script to comply to LSB and to skip the "interactive" part on boot ------------------------------------------------------------------- Tue Feb 12 15:47:56 CET 2002 - jg@suse.de - added -DMODVERSION and -D__SMP__ to km_drbd Makefile (according to kernel configuration) ------------------------------------------------------------------- Fri Feb 1 00:26:06 CET 2002 - ro@suse.de - changed neededforbuild to ------------------------------------------------------------------- Tue Jan 29 18:26:07 CET 2002 - jg@suse.de - updated to 0.6.1-pre9 ------------------------------------------------------------------- Thu Dec 20 10:22:14 CET 2001 - jg@suse.de - replaced insserv call in specfile with respective macro ------------------------------------------------------------------- Wed Dec 19 21:01:42 CET 2001 - jg@suse.de - updated to 0.6.1-pre7 (supports now kernel 2.4) - removed insserv call after installing - removed fillup template - removed some outdated documentation files ------------------------------------------------------------------- Fri Jul 27 17:21:10 MEST 2001 - mt@suse.de - fixed init script to be LSB compliant ------------------------------------------------------------------- Fri Jul 20 12:06:42 CEST 2001 - kukuk@suse.de - changed neededforbuild to - changed neededforbuild to - changed neededforbuild to ------------------------------------------------------------------- Sun Jan 14 11:01:43 CET 2001 - mt@suse.de - added km_drbd subpackage with drbd kernel module source ------------------------------------------------------------------- Fri Dec 1 14:07:17 CET 2000 - mt@suse.de - added mkdir $RPM_BUILD_ROOT/sbin in spec ------------------------------------------------------------------- Fri Dec 1 10:43:41 CET 2000 - kukuk@suse.de - move sbin/init.d -> etc/init.d ------------------------------------------------------------------- Mon Nov 27 12:45:16 CET 2000 - mt@suse.de - fixed link src for rcdrbd in spec file - changed group to Applications/Clustering ------------------------------------------------------------------- Thu Nov 23 09:42:31 CET 2000 - mt@suse.de - removed heartbeat from neededforbuild ------------------------------------------------------------------- Wed Nov 22 13:40:05 CET 2000 - mt@suse.de - changed to LSB installation of run level links ------------------------------------------------------------------- Fri Nov 10 16:01:54 CET 2000 - mt@suse.de - no module build in spec - drbd module is patched into the kernel ------------------------------------------------------------------- Wed Nov 8 10:42:33 CET 2000 - mt@suse.de - new package