Merge pull request #560 from KanagiAomori/json

Flattened ocf_core_info struct
This commit is contained in:
Robert Baldyga 2021-08-26 09:55:39 +02:00 committed by GitHub
commit 43917e88bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,14 +22,11 @@ struct ocf_core_info {
/** Core size in bytes unit */
uint64_t core_size_bytes;
/** Fields refers ongoing flush operation */
struct {
/** Number of blocks flushed in ongoing flush operation */
uint32_t flushed;
/** Number of blocks flushed in ongoing flush operation */
uint32_t flushed;
/** Number of blocks left to flush in ongoing flush operation */
uint32_t dirty;
};
/** Number of blocks left to flush in ongoing flush operation */
uint32_t dirty;
/** How long core is dirty in seconds unit */
uint64_t dirty_for;