master - systemd: disable service start rate limiting for [email protected]
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0a480c5c52bd34a1eb8337d59a7f4cc60317d2b1 Commit: 0a480c5c52bd34a1eb8337d59a7f4cc60317d2b1 Parent: 397c246fe03876fb6c68cece2d4345e0fd0ca2e3 Author: Peter Rajnoha <[email protected]> AuthorDate: Tue Sep 27 10:47:54 2016 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Tue Sep 27 10:48:01 2016 +0200
systemd: disable service start rate limiting for lvm2-pvscan at .service
We shouldn't be losing pvscans just because of the fact that the underlying device (PV) appears and disappears quickly in the system, otherwise lvmetad may not see the device if it appears again (or it may still keep the device in cache even it's already gone).
--- WHATS_NEW | 1 + scripts/lvm2_pvscan_systemd_red_hat at .service.in | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.167 - ====================================== + Disable systemd service start rate limiting for lvm2-pvscan at .service. Version 2.02.166 - 26th September 2016 ======================================
scripts/lvm2_pvscan_systemd_red_hat at .service.in +1 -0
@@ -2,6 +2,7 @@ Description=LVM2 PV scan on device %i Documentation=man:pvscan(8) DefaultDependencies=no +StartLimitInterval=0 BindsTo=dev-block-%i.device Requires=lvm2-lvmetad.socket After=lvm2-lvmetad.socket lvm2-lvmetad.service