integ/base/systemd/centos/patches
Li Zhou bed1e46362 systemd: fix rate-limiting of mount events
Backport the patches for this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1968528
It reports:
The fix for Bug 1819868 has introduced a new issue related to its
implementation of rate limiting.
Rate limiting the mount_event_source can cause unmount events to be
missed, which leads to mount unit cgroups being leaked (not cleaned up
when the mount is gone).

The fix for 1968528 can fix the issue we met:
During the reboot process of subclouds (either lock-unlock or sudo
reboot), unmounting failure messages repeat for a few hundred of times.

The patches are listed at:
https://github.com/redhat-plumbers/systemd-rhel8/pull/198/commits
And they are picked from https://github.com/systemd-rhel/rhel-8/ (branch
rhel-8.4.0).

Verification:
  In my test on an AIO-SX lab, the bug appears as:
  run "sudo reboot" on controller, endless unmounting failure logs
  printed.
  Verified that the problem was there during the shutdown
  phase of a reboot. Reinstalled with a fixed image, and verified that
  the issue was now gone by doing 5 reboots. Ran sanity on the lab,
  and verified no new issues seen.

Closes-Bug: #1948899
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Change-Id: If95932ceead1bea973f2219d3a8d6b04cf0fd5f8
2021-10-28 23:29:07 -04:00
..
851-inject-millisec-in-syslog-date.patch systemd: Upgrade to version 219-78.el7_9.3 2021-04-27 02:09:27 +00:00
852-fix-build-error-for-unused-variable.patch systemd: Upgrade to version 219-78.el7_9.3 2021-04-27 02:09:27 +00:00
853-Fix-compile-failure-due-to-deprecated-value.patch systemd: Upgrade to version 219-78.el7_9.3 2021-04-27 02:09:27 +00:00
901-sd-event-don-t-touch-fd-s-accross-forks.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
902-sd-event-make-sure-RT-signals-are-not-dropped.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
903-sd-event-split-out-helper-functions-for-reshuffling-.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
904-sd-event-drop-pending-events-when-we-turn-off-on-an-.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
905-sd-event-fix-call-to-event_make_signal_data.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
906-sd-event-make-sure-to-create-a-signal-queue-for-the-.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
907-sd-event-split-out-enable-and-disable-codepaths-from.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
908-sd-event-use-prioq_ensure_allocated-where-possible.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
909-sd-event-split-clock-data-allocation-out-of-sd_event.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
910-sd-event-split-out-code-to-add-remove-timer-event-so.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
911-sd-event-rename-PASSIVE-PREPARED-to-INITIAL-ARMED.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
912-sd-event-refuse-running-default-event-loops-in-any-o.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
913-sd-event-remove-earliest_index-latest_index-into-com.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
914-sd-event-update-state-at-the-end-in-event_source_ena.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
915-sd-event-increase-n_enabled_child_sources-just-once.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
916-sd-event-don-t-provide-priority-stability.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
917-sd-event-when-determining-the-last-allowed-time-a-ti.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
918-sd-event-permit-a-USEC_INFINITY-timeout-as-an-altern.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
919-sd-event-add-ability-to-ratelimit-event-sources.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
920-core-prevent-excessive-proc-self-mountinfo-parsing.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
921-systemd-Fix-compiling-errors-when-merging-1819868.patch systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
922-sd-event-change-ordering-of-pending-ratelimited-even.patch systemd: fix rate-limiting of mount events 2021-10-28 23:29:07 -04:00
923-sd-event-drop-unnecessary-else.patch systemd: fix rate-limiting of mount events 2021-10-28 23:29:07 -04:00
924-sd-event-use-CMP-macro.patch systemd: fix rate-limiting of mount events 2021-10-28 23:29:07 -04:00
925-sd-event-use-usec_add.patch systemd: fix rate-limiting of mount events 2021-10-28 23:29:07 -04:00
926-sd-event-make-event_source_time_prioq_reshuffle-acce.patch systemd: fix rate-limiting of mount events 2021-10-28 23:29:07 -04:00
927-sd-event-always-reshuffle-time-prioq-on-changing-onl.patch systemd: fix rate-limiting of mount events 2021-10-28 23:29:07 -04:00