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:
parent
95087c8f96
commit
584b4ae38b
@ -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.
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user