aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorShin'ichiro Kawasaki <[email protected]>2020-06-19 16:49:56 +0900
committerMike Snitzer <[email protected]>2020-06-19 12:29:39 -0400
commitf2cd9a5e85dc25e10f6318bc6fbcb7dcff262561 (patch)
tree8a4cfca800c0266879e513dce92c8c242c160f70 /tools/perf/scripts/python/export-to-sqlite.py
parent3ee39573e567eded4f73e1e22216034bc29f3813 (diff)
dm zoned: Fix reclaim zone selection
When dm zoned has multiple devices, random zones are never selected for reclaim if all reserved sequential write zones are in use and no sequential write required zones can be selected for reclaim. This can lead to deadlocks as selecting a cache zone allows reclaiming a sequential zone, ensuring forward progress. Fix this by always defaulting to selecting a random zone when no sequential write required zone can be selected. [Damien: fix commit message] Signed-off-by: Shin'ichiro Kawasaki <[email protected]> Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions