Merge pull request #560 from KanagiAomori/json
Flattened ocf_core_info struct
This commit is contained in:
commit
43917e88bc
@ -22,14 +22,11 @@ struct ocf_core_info {
|
|||||||
/** Core size in bytes unit */
|
/** Core size in bytes unit */
|
||||||
uint64_t core_size_bytes;
|
uint64_t core_size_bytes;
|
||||||
|
|
||||||
/** Fields refers ongoing flush operation */
|
|
||||||
struct {
|
|
||||||
/** Number of blocks flushed in ongoing flush operation */
|
/** Number of blocks flushed in ongoing flush operation */
|
||||||
uint32_t flushed;
|
uint32_t flushed;
|
||||||
|
|
||||||
/** Number of blocks left to flush in ongoing flush operation */
|
/** Number of blocks left to flush in ongoing flush operation */
|
||||||
uint32_t dirty;
|
uint32_t dirty;
|
||||||
};
|
|
||||||
|
|
||||||
/** How long core is dirty in seconds unit */
|
/** How long core is dirty in seconds unit */
|
||||||
uint64_t dirty_for;
|
uint64_t dirty_for;
|
||||||
|
Loading…
Reference in New Issue
Block a user