diff options
| author | David Sterba <[email protected]> | 2017-06-16 00:09:21 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-01-22 16:08:12 +0100 |
| commit | c5593ca3c8a82eb397804e22a34d2c7061b55f56 (patch) | |
| tree | c5e197d2ff5f6b6065408dd346a4d09a1c01451f /tools/perf/scripts/python/bin | |
| parent | 08ffcae8c92e7154ba5fb78c926463a21cba6501 (diff) | |
btrfs: switch to RCU for device traversal in btrfs_ioctl_dev_info
We don't need to use the mutex as we do not modify the devices nor the
list itself and just read some information:
does not change during device lifetime:
- devid
- uuid
- name (ie. the path)
may change in parallel to the ioctl call, but can lead only to reporting
inacurracy:
- bytes_used
- total_bytes
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions