]> sourceware.org Git - lvm2.git/commit
integrity: add --integritysettings for tuning 1404928847
authorDavid Teigland <teigland@redhat.com>
Mon, 5 Aug 2024 18:20:58 +0000 (13:20 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 7 Aug 2024 22:40:34 +0000 (17:40 -0500)
commit78d14a805c3133c9a633a61c7751a81ebfae4d99
tree8406da3f57435c80f8a57509c82df6bf97ff19ff
parent07576f7e511f8b7084871c5f3f306760c85a16fd
integrity: add --integritysettings for tuning

The option can be used in multiple ways (like --cachesettings):

--integritysettings key=val
--integritysettings 'key1=val1 key2=val2'
--integritysettings key1=val1 --integritysettings key2=val2

Use with lvcreate or lvconvert when integrity is first enabled
to configure:
journal_sectors
journal_watermark
commit_time
bitmap_flush_interval
allow_discards

Use with lvchange to configure (only while inactive):
journal_watermark
commit_time
bitmap_flush_interval
allow_discards

lvchange --integritysettings "" clears any previously configured
settings, so dm-integrity will use its own defaults.

lvs -a -o integritysettings displays configured settings.
19 files changed:
device_mapper/all.h
device_mapper/libdm-deptree.c
lib/integrity/integrity.c
lib/metadata/integrity_manip.c
lib/metadata/metadata-exported.h
lib/metadata/metadata.c
lib/metadata/writecache_manip.c
lib/report/columns.h
lib/report/properties.c
lib/report/report.c
man/lvmraid.7_main
test/shell/integrity.sh
tools/args.h
tools/command-lines.in
tools/lvchange.c
tools/lvconvert.c
tools/lvcreate.c
tools/toollib.c
tools/toollib.h
This page took 0.035969 seconds and 5 git commands to generate.