Merge pull request #457 from Ostrokrzew/false_stats

Fix broken 'dirty_for' stats
This commit is contained in:
Robert Baldyga
2021-03-18 10:24:02 +01:00
committed by GitHub
8 changed files with 19 additions and 16 deletions

View File

@@ -53,7 +53,7 @@ struct ocf_cache_info {
* out of WB mode
*/
uint32_t dirty_for;
uint64_t dirty_for;
/*!< How long there are dirty cache lines (in seconds) */
ocf_cache_mode_t cache_mode;

View File

@@ -32,7 +32,7 @@ struct ocf_core_info {
};
/** How long core is dirty in seconds unit */
uint32_t dirty_for;
uint64_t dirty_for;
/** Sequential cutoff threshold (in bytes) */
uint32_t seq_cutoff_threshold;