Hi Tao,
On Mon, 8 Aug 2022 19:52:25 +0800
Tao Liu <ltao(a)redhat.com> wrote:
The lvmthinpool-monitor module is needed for monitor and
autoextend the size of thin pool in 2nd kernel.
for documentation please add the dracut version wich added the module to
the commit message.
Other than that the patch looks fine to me.
Thanks
Philipp
Signed-off-by: Tao Liu <ltao(a)redhat.com>
---
dracut-module-setup.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh
index 4c6096a..66249dd 100755
--- a/dracut-module-setup.sh
+++ b/dracut-module-setup.sh
@@ -40,6 +40,10 @@ depends() {
_dep="$_dep ssh-client"
fi
+ if is_lvm2_thinp_dump_target; then
+ add_opt_module lvmthinpool-monitor
+ fi
+
if [[ "$(uname -m)" == "s390x" ]]; then
_dep="$_dep znet"
fi