mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 07:39:47 +00:00
dm integrity: document allow_discard option
Add decription of the allow_discard option added in commit 84597a44a9d86ac949900441cea7da0af0f2f473. Signed-off-by: Milan Broz <gmazyland@gmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
8267d8fb48
commit
0a2bd55c19
@ -182,12 +182,15 @@ fix_padding
|
|||||||
space-efficient. If this option is not present, large padding is
|
space-efficient. If this option is not present, large padding is
|
||||||
used - that is for compatibility with older kernels.
|
used - that is for compatibility with older kernels.
|
||||||
|
|
||||||
|
allow_discards
|
||||||
|
Allow block discard requests (a.k.a. TRIM) for the integrity device.
|
||||||
|
Discards are only allowed to devices using internal hash.
|
||||||
|
|
||||||
The journal mode (D/J), buffer_sectors, journal_watermark, commit_time can
|
The journal mode (D/J), buffer_sectors, journal_watermark, commit_time and
|
||||||
be changed when reloading the target (load an inactive table and swap the
|
allow_discards can be changed when reloading the target (load an inactive
|
||||||
tables with suspend and resume). The other arguments should not be changed
|
table and swap the tables with suspend and resume). The other arguments
|
||||||
when reloading the target because the layout of disk data depend on them
|
should not be changed when reloading the target because the layout of disk
|
||||||
and the reloaded target would be non-functional.
|
data depend on them and the reloaded target would be non-functional.
|
||||||
|
|
||||||
|
|
||||||
The layout of the formatted block device:
|
The layout of the formatted block device:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user