Re: [dm-devel] [PATCH] dm integrity: Document size and format of superblock fields

2018-11-14 Thread Mikulas Patocka
You can change it - though I expect that anyone who will want to parse the superblock will read the file dm-integrity.c anyway. There's also a new field recalc_sector that says where to resume automatic recalculation. Mikulas On Fri, 9 Nov 2018, Andy Grover wrote: > As mentioned elsewhere in

Re: [dm-devel] [PATCH] dm integrity: Document size and format of superblock fields

2018-11-13 Thread Milan Broz
On 13/11/2018 01:23, Andy Grover wrote: > On 11/9/18 12:21 PM, Andy Grover wrote: >> As mentioned elsewhere in dm-integrity.txt, creating a new integrity >> device requires creating a small integrity device on top of the base >> device that formats the base device, reading the provided data sectors

Re: [dm-devel] [PATCH] dm integrity: Document size and format of superblock fields

2018-11-12 Thread Andy Grover
On 11/9/18 12:21 PM, Andy Grover wrote: As mentioned elsewhere in dm-integrity.txt, creating a new integrity device requires creating a small integrity device on top of the base device that formats the base device, reading the provided data sectors out of the superblock, and then recreating the i

[dm-devel] [PATCH] dm integrity: Document size and format of superblock fields

2018-11-09 Thread Andy Grover
As mentioned elsewhere in dm-integrity.txt, creating a new integrity device requires creating a small integrity device on top of the base device that formats the base device, reading the provided data sectors out of the superblock, and then recreating the integrity device with the correct size. For