Introduce pass-through block stats
Signed-off-by: Sara Merzel <sara.merzel@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:

committed by
Michal Mielewczyk

parent
3ebf6e64c1
commit
835eb708b5
@@ -87,6 +87,10 @@ int ocf_read_pt_do(struct ocf_request *req)
|
||||
|
||||
/* Update statistics */
|
||||
ocf_engine_update_block_stats(req);
|
||||
|
||||
ocf_core_stats_pt_block_update(req->core, req->part_id, req->rw,
|
||||
req->byte_length);
|
||||
|
||||
ocf_core_stats_request_pt_update(req->core, req->part_id, req->rw,
|
||||
req->info.hit_no, req->core_line_count);
|
||||
|
||||
|
Reference in New Issue
Block a user