summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2025-01-02 02:06:34 +0800
committerDavid Sterba <dsterba@suse.com>2025-01-13 14:53:21 +0100
commit22fb0d99c90583e5b32a2a54e614bce221d31a8a (patch)
tree415a1b71244449696a328d190d6c330b3cd34987 /tools/perf/scripts/python/exported-sql-viewer.py
parentb6bed20ed398f71069bfd2cd769bb91fa15859b5 (diff)
btrfs: add tracking of read blocks for read policy
Track number of read blocks in the whole filesystem. The counter is initialized when devices are opened. The counter is increased at btrfs_submit_dev_bio() if the stats tracking is enabled (depends on the read policy). Stats tracking is disabled by default and is enabled through fs_devices::collect_fs_stats when required. The code is not under the EXPERIMENTAL define, as stats can be expanded to include write counts and other performance counters, with the user interface independent of its internal use. This is an in-memory-only feature, not related to the dev error stats. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions