1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

blk-availability: use blkdeactivate -r wait in blk-availability systemd service/initscript

This commit is contained in:
Peter Rajnoha 2017-09-21 15:10:23 +02:00
parent 95087c8f96
commit 584b4ae38b
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.144 - Version 1.02.144 -
====================================== ======================================
Use blkdeactivate -r wait in blk-availability systemd service/initscript.
Add blkdeactivate -r wait option to wait for MD resync/recovery/reshape. Add blkdeactivate -r wait option to wait for MD resync/recovery/reshape.
Fix blkdeactivate regression with failing DM/MD devs deactivation (1.02.142). Fix blkdeactivate regression with failing DM/MD devs deactivation (1.02.142).
Fix typo in blkdeactivate's '--{dm,lvm,mpath}options' option name. Fix typo in blkdeactivate's '--{dm,lvm,mpath}options' option name.

View File

@ -33,7 +33,7 @@
sbindir=@sbindir@ sbindir=@sbindir@
script=blkdeactivate script=blkdeactivate
options="-u -l wholevg -m disablequeueing" options="-u -l wholevg -m disablequeueing -r wait"
LOCK_FILE="/var/lock/subsys/blk-availability" LOCK_FILE="/var/lock/subsys/blk-availability"

View File

@ -7,7 +7,7 @@ Conflicts=shutdown.target
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/usr/bin/true ExecStart=/usr/bin/true
ExecStop=@sbindir@/blkdeactivate -u -l wholevg -m disablequeueing ExecStop=@sbindir@/blkdeactivate -u -l wholevg -m disablequeueing -r wait
RemainAfterExit=yes RemainAfterExit=yes
[Install] [Install]