1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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 -
======================================
Use blkdeactivate -r wait in blk-availability systemd service/initscript.
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 typo in blkdeactivate's '--{dm,lvm,mpath}options' option name.

View File

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

View File

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