Re: [dm-devel] [PATCH 03/12] dm-zoned: use on-stack superblock for tertiary devices

2020-05-26 Thread Damien Le Moal
On 2020/05/26 17:25, Hannes Reinecke wrote: > On 5/25/20 4:09 AM, Damien Le Moal wrote: >> On 2020/05/23 0:39, Hannes Reinecke wrote: >>> Checking the teriary superblock just consists of validating UUIDs, >> >> s/teriary/tertiary >> >>> crcs, and the generation number; it doesn't have contents

Re: [dm-devel] [PATCH 03/12] dm-zoned: use on-stack superblock for tertiary devices

2020-05-26 Thread Hannes Reinecke
On 5/25/20 4:09 AM, Damien Le Moal wrote: On 2020/05/23 0:39, Hannes Reinecke wrote: Checking the teriary superblock just consists of validating UUIDs, s/teriary/tertiary crcs, and the generation number; it doesn't have contents which would be required during the actual operation. So we

Re: [dm-devel] [PATCH 03/12] dm-zoned: use on-stack superblock for tertiary devices

2020-05-25 Thread Hannes Reinecke
On 5/25/20 4:09 AM, Damien Le Moal wrote: On 2020/05/23 0:39, Hannes Reinecke wrote: Checking the teriary superblock just consists of validating UUIDs, s/teriary/tertiary crcs, and the generation number; it doesn't have contents which would be required during the actual operation. So we

Re: [dm-devel] [PATCH 03/12] dm-zoned: use on-stack superblock for tertiary devices

2020-05-24 Thread Damien Le Moal
On 2020/05/23 0:39, Hannes Reinecke wrote: > Checking the teriary superblock just consists of validating UUIDs, s/teriary/tertiary > crcs, and the generation number; it doesn't have contents which > would be required during the actual operation. > So we should use an on-stack superblock and

[dm-devel] [PATCH 03/12] dm-zoned: use on-stack superblock for tertiary devices

2020-05-22 Thread Hannes Reinecke
Checking the teriary superblock just consists of validating UUIDs, crcs, and the generation number; it doesn't have contents which would be required during the actual operation. So we should use an on-stack superblock and avoid having to store it together with the 'real' superblocks.