Introduce cache exported object

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2021-07-29 21:27:21 +02:00
parent 1dd8f12242
commit c0110a4d01
3 changed files with 186 additions and 77 deletions

View File

@@ -33,6 +33,9 @@ struct bd_object {
struct workqueue_struct *expobj_wq;
/*< Workqueue for I/O handled by top vol */
ocf_volume_t front_volume;
/*< Cache/core front volume */
};
static inline struct bd_object *bd_object(ocf_volume_t vol)