diff options
| author | Johannes Thumshirn <[email protected]> | 2019-06-03 16:58:53 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-07-01 13:35:01 +0200 |
| commit | e7e16f4882edb5935ff0ba81a0df25ae0b80b549 (patch) | |
| tree | 2f285c655eec50448a3ae213359bb36b706f6408 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7ebc7e5f2c81f658b1d2f95fcde15dfd1a84b370 (diff) | |
btrfs: add common checksum type validation
Currently btrfs is only supporting CRC32C as checksumming algorithm. As
this is about to change provide a function to validate the checksum type
in the superblock against all possible algorithms.
This makes adding new algorithms easier as there are fewer places to
adjust when adding new algorithms.
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions