diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2016-09-27 10:47:54 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2016-09-27 10:48:01 +0200 |
commit | 0a480c5c52bd34a1eb8337d59a7f4cc60317d2b1 (patch) | |
tree | 4555133a089817837d39c93bd5e5c0e60e0b9df5 | |
parent | 397c246fe03876fb6c68cece2d4345e0fd0ca2e3 (diff) | |
download | lvm2-0a480c5c52bd34a1eb8337d59a7f4cc60317d2b1.tar.gz |
systemd: disable service start rate limiting for lvm2-pvscan@.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).
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | scripts/lvm2_pvscan_systemd_red_hat@.service.in | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ Version 2.02.167 - ====================================== + Disable systemd service start rate limiting for lvm2-pvscan@.service. Version 2.02.166 - 26th September 2016 ====================================== diff --git a/scripts/lvm2_pvscan_systemd_red_hat@.service.in b/scripts/lvm2_pvscan_systemd_red_hat@.service.in index 03651d576..09895902a 100644 --- a/scripts/lvm2_pvscan_systemd_red_hat@.service.in +++ b/scripts/lvm2_pvscan_systemd_red_hat@.service.in @@ -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 |