Introduce d2c request
This avoids unnecessary map allocation and initialization of unused fields of request structure. It also allows to track thier number separately from the regular requests Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
committed by
Michal Mielewczyk
parent
8b93b699c3
commit
dc58eeae9b
@@ -85,6 +85,8 @@ struct ocf_cache {
|
||||
/* # of requests accessing attached metadata, excluding
|
||||
* management reqs */
|
||||
struct ocf_refcnt metadata __attribute__((aligned(64)));
|
||||
/* # of requests in d2c mode */
|
||||
struct ocf_refcnt d2c;
|
||||
} refcnt;
|
||||
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user