diff options
| author | Avri Altman <[email protected]> | 2021-07-12 12:50:35 +0300 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-08-01 16:05:15 -0400 |
| commit | 13c044e91678d6ef099285705261418bb7b0c748 (patch) | |
| tree | 121bd601800c79e94424cd540c6113a52ca41b11 /tools/perf/scripts/python/bin | |
| parent | 67001ff171cb4ae79774cdd13dc1d00cbfdbab66 (diff) | |
scsi: ufs: ufshpb: Add "cold" regions timer
In order not to hang on to "cold" regions, we inactivate a region that has
had no READ access for a predefined amount of time - READ_TO_MS. For that
purpose monitor the active regions list, polling it on every
POLLING_INTERVAL_MS. On timeout expiry add the region to the
"to-be-inactivated" list unless it is clean and did not exhaust its
READ_TO_EXPIRIES - another parameter.
None of this applies to pinned regions.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Daejun Park <[email protected]>
Signed-off-by: Avri Altman <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions