integ/filesystem/drbd/drbd-tools/centos/patches
M. Vefa Bicakci b2c04a8fab drbd: Ensure compatibility with kernel versions >= v5.2
Prior to this commit, the Ansible bootstrap procedure on StarlingX would
fail with drbd-related errors when a v5.10-based kernel was in use. The
error reported by the kernel was "invalid argument".

Upon further debugging, it was discovered that generic-netlink (genl)
messages generated by drbdsetup would be rejected by the v5.10 kernel.
After looking at the git history of the drbd-utils repository, the
following two commits were found:

$ git log -2 --pretty=ref 859151b228d3b3aacefb09d06d515a2589c22e35
859151b228d3 (netlink: Add NLA_F_NESTED flag to nested attribute, 2019-07-12)
92ade5989027 (netlink: prepare for kernel v5.2, 2019-07-12)

This issue appears to be caused by kernel versions >= 5.2 being more
strict with the validation of nested netlink attributes. The patches
required very minor context adjustments and enable the Ansible bootstrap
procedure to succeed.

Story: 2008921
Task: 42787

Change-Id: I573d0caafc741c7668be8ee8e494fde826437a98
Signed-off-by: M. Vefa Bicakci <vefa.bicakci@windriver.com>
2021-07-07 15:30:15 -04:00
..
0001-skip_wait_con_int_on_simplex.patch de-fuzz drbd patch 2018-10-09 23:05:18 +08:00
0002-drbd-conditional-crm-dependency.patch de-fuzz drbd patch 2018-10-09 23:05:18 +08:00
0003-drbd_report_condition.patch Relocate drbd-tools to stx-integ/filesystem/drbd/drbd-tools 2018-08-01 15:31:55 -04:00
0004-drbdadm-ipaddr-change.patch Relocate drbd-tools to stx-integ/filesystem/drbd/drbd-tools 2018-08-01 15:31:55 -04:00
0005-drbd_reconnect_standby_standalone.patch Relocate drbd-tools to stx-integ/filesystem/drbd/drbd-tools 2018-08-01 15:31:55 -04:00
0006-avoid-kernel-userspace-version-check.patch Relocate drbd-tools to stx-integ/filesystem/drbd/drbd-tools 2018-08-01 15:31:55 -04:00
0007-Update-OCF-to-attempt-connect-in-certain-states.patch Relocate drbd-tools to stx-integ/filesystem/drbd/drbd-tools 2018-08-01 15:31:55 -04:00
0008-Increase-short-cmd-timeout-to-15-secs.patch Relocate drbd-tools to stx-integ/filesystem/drbd/drbd-tools 2018-08-01 15:31:55 -04:00
0009-Check-for-mounted-device-before-demoting-Primary-DRB.patch Check for mount before demoting DRBD filesystem 2019-02-07 11:20:44 -05:00
0010-backport-drbd-main-ipv6-Fix-interface-indices-larger.patch backport drbd main ipv6: Fix interface indices larger than 255 2020-06-29 23:52:38 +03:00
0011-Unmount-all-targets-during-drbd-stop.patch Unmount all targets during drbd stop 2021-04-20 17:35:24 -05:00
0012-netlink-prepare-for-kernel-v5.2.patch drbd: Ensure compatibility with kernel versions >= v5.2 2021-07-07 15:30:15 -04:00
0013-netlink-Add-NLA_F_NESTED-flag-to-nested-attribute.patch drbd: Ensure compatibility with kernel versions >= v5.2 2021-07-07 15:30:15 -04:00