1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Add "params thin_provisioning=1" in tgt export
Add 'params thin_provisioning=1' in iscsi volume export
to allow fstrim to work with the lvm backend.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: https://review.opendev.org/c/openstack/cinder/+/900513
Last-Update: 2023-12-04
--- cinder-23.0.0.orig/cinder/volume/targets/tgt.py
+++ cinder-23.0.0/cinder/volume/targets/tgt.py
@@ -42,6 +42,7 @@ class TgtAdm(iscsi.ISCSITarget):
%(chap_auth)s
%(target_flags)s
write-cache %(write_cache)s
+ params thin_provisioning=1
</target>
""")
|