aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2018-10-30 16:43:26 +0200
committerDavid Sterba <[email protected]>2018-12-17 14:51:38 +0100
commitd1a63002829a4d8014de20dc141b404cc808405e (patch)
tree0734637651debfcf49ac8c20c8711a4924d131bd /tools/perf/scripts/python/sctop.py
parentfbc6feaec98ac0c6a615bbe9e17c5689a1a84650 (diff)
btrfs: add members to fs_devices to track fsid changes
In order to gracefully handle split-brain scenario during fsid change (which are very unlikely, yet possible), two more pieces of information will be necessary: 1. The highest generation number among all devices registered to a particular btrfs_fs_devices 2. A boolean flag whether a given btrfs_fs_devices was created by a device which had the FSID_CHANGING_V2 flag set. This is a preparatory patch and just introduces the variables as well as code which sets them, their actual use is going to happen in a later patch. Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions