aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2021-03-25 15:14:33 +0800
committerDavid Sterba <[email protected]>2021-04-19 17:25:18 +0200
commitfc57ad8d338cbe78c3f7565f3c0812938835fad8 (patch)
tree2e39fd8572eeb4eff654de26011c41a0a50c6020 /tools/perf/scripts/python/export-to-postgresql.py
parentace75066ced9b9abf432049699d0f9f911d8e496 (diff)
btrfs: add sysfs interface for supported sectorsize
Export supported sector sizes in /sys/fs/btrfs/features/supported_sectorsizes. Currently all architectures have PAGE_SIZE, There's some disparity between read-only and read-write support but that will be unified in the future so there's only one file exporting the size. The read-only support for systems with 64K pages also works for 4K sector size. This new sysfs interface would help eg. mkfs.btrfs to print more accurate warnings about potentially incompatible option combinations. Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Qu Wenruo <[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