Fix whitespaces
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
3acbe657c5
commit
ac2effb83d
@ -11,26 +11,26 @@
|
|||||||
#include "../eviction/eviction.h"
|
#include "../eviction/eviction.h"
|
||||||
|
|
||||||
struct ocf_user_part_config {
|
struct ocf_user_part_config {
|
||||||
char name[OCF_IO_CLASS_NAME_MAX];
|
char name[OCF_IO_CLASS_NAME_MAX];
|
||||||
uint32_t min_size;
|
uint32_t min_size;
|
||||||
uint32_t max_size;
|
uint32_t max_size;
|
||||||
int16_t priority;
|
int16_t priority;
|
||||||
ocf_cache_mode_t cache_mode;
|
ocf_cache_mode_t cache_mode;
|
||||||
struct {
|
struct {
|
||||||
uint8_t valid : 1;
|
uint8_t valid : 1;
|
||||||
uint8_t added : 1;
|
uint8_t added : 1;
|
||||||
uint8_t eviction : 1;
|
uint8_t eviction : 1;
|
||||||
/*!< This bits is setting during partition sorting,
|
/*!< This bits is setting during partition sorting,
|
||||||
* and means that can evict from this partition
|
* and means that can evict from this partition
|
||||||
*/
|
*/
|
||||||
} flags;
|
} flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ocf_user_part_runtime {
|
struct ocf_user_part_runtime {
|
||||||
uint32_t curr_size;
|
uint32_t curr_size;
|
||||||
uint32_t head;
|
uint32_t head;
|
||||||
struct eviction_policy eviction[OCF_NUM_EVICTION_LISTS];
|
struct eviction_policy eviction[OCF_NUM_EVICTION_LISTS];
|
||||||
struct cleaning_policy cleaning;
|
struct cleaning_policy cleaning;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Iterator state, visiting all eviction lists within a partition
|
/* Iterator state, visiting all eviction lists within a partition
|
||||||
|
Loading…
Reference in New Issue
Block a user