aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorZhao Lei <[email protected]>2015-09-15 21:08:08 +0800
committerDavid Sterba <[email protected]>2015-10-21 18:28:48 +0200
commit9c170b2644610a62b107c12a007e065d4456798d (patch)
tree3c041e94ba9021168868ebfa80d221cd501182d8 /tools/perf/util/trace-event-scripting.c
parent8789f4fe608922f484369382a8e507ca12df7f4e (diff)
btrfs: use btrfs_raid_array in btrfs_reduce_alloc_profile
btrfs_raid_array[] holds attributes of all raid types. Use btrfs_raid_array[].devs_min is best way for request in btrfs_reduce_alloc_profile(), instead of use complex condition of each raid types. Reviewed-by: David Sterba <[email protected]> Signed-off-by: Zhao Lei <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions