Do not increment attached metadata counter on behalf of mngt requests
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
9232bfcb72
commit
555f477248
@ -155,6 +155,9 @@ static void start_cache_req(struct ocf_request *req)
|
||||
{
|
||||
ocf_cache_t cache = req->cache;
|
||||
|
||||
if (req->queue == req->cache->mngt_queue)
|
||||
return;
|
||||
|
||||
req->d2c = 1;
|
||||
if (env_atomic_read(&cache->attached)) {
|
||||
req->d2c = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user