Add back fastpath

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
Kozlowski Mateusz
2021-07-19 15:10:11 +02:00
parent ec4bea4fc0
commit af1f3d73c2
4 changed files with 85 additions and 97 deletions

View File

@@ -172,17 +172,6 @@ static inline void ocf_core_submit_io(struct ocf_io *io)
ocf_volume_submit_io(io);
}
/**
* @brief Fast path for submitting IO. If possible, request is processed
* immediately without adding to internal request queue
*
* @param[in] io IO to be submitted
*
* @retval 0 IO has been submitted successfully
* @retval Non-zero Fast submit failed. Try to submit IO with ocf_core_submit_io()
*/
int ocf_core_submit_io_fast(struct ocf_io *io);
/**
* @brief Submit ocf_io with flush command
*