dm integrity: update documentation
Update documentation with the "meta_device" parameter and flags. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
Родитель
893e3c395b
Коммит
88ad5d1eb1
|
@ -79,6 +79,10 @@ interleave_sectors:number
|
||||||
a power of two. If the device is already formatted, the value from
|
a power of two. If the device is already formatted, the value from
|
||||||
the superblock is used.
|
the superblock is used.
|
||||||
|
|
||||||
|
meta_device:device
|
||||||
|
Don't interleave the data and metadata on on device. Use a
|
||||||
|
separate device for metadata.
|
||||||
|
|
||||||
buffer_sectors:number
|
buffer_sectors:number
|
||||||
The number of sectors in one buffer. The value is rounded down to
|
The number of sectors in one buffer. The value is rounded down to
|
||||||
a power of two.
|
a power of two.
|
||||||
|
@ -167,7 +171,11 @@ The layout of the formatted block device:
|
||||||
provides (i.e. the size of the device minus the size of all
|
provides (i.e. the size of the device minus the size of all
|
||||||
metadata and padding). The user of this target should not send
|
metadata and padding). The user of this target should not send
|
||||||
bios that access data beyond the "provided data sectors" limit.
|
bios that access data beyond the "provided data sectors" limit.
|
||||||
* flags - a flag is set if journal_mac is used
|
* flags
|
||||||
|
SB_FLAG_HAVE_JOURNAL_MAC - a flag is set if journal_mac is used
|
||||||
|
SB_FLAG_RECALCULATING - recalculating is in progress
|
||||||
|
* log2(sectors per block)
|
||||||
|
* a position where recalculating finished
|
||||||
* journal
|
* journal
|
||||||
The journal is divided into sections, each section contains:
|
The journal is divided into sections, each section contains:
|
||||||
* metadata area (4kiB), it contains journal entries
|
* metadata area (4kiB), it contains journal entries
|
||||||
|
|
|
@ -3081,10 +3081,12 @@ bad:
|
||||||
* buffer_sectors
|
* buffer_sectors
|
||||||
* journal_watermark
|
* journal_watermark
|
||||||
* commit_time
|
* commit_time
|
||||||
|
* meta_device
|
||||||
|
* block_size
|
||||||
* internal_hash
|
* internal_hash
|
||||||
* journal_crypt
|
* journal_crypt
|
||||||
* journal_mac
|
* journal_mac
|
||||||
* block_size
|
* recalculate
|
||||||
*/
|
*/
|
||||||
static int dm_integrity_ctr(struct dm_target *ti, unsigned argc, char **argv)
|
static int dm_integrity_ctr(struct dm_target *ti, unsigned argc, char **argv)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче