Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Cache hit IO will be uncached IO when as pending job ?  #226

@jack-changtao

Description

@jack-changtao

when write hit ,if the cache state is not in BLOCK_IO_INPROG or cacheblk->nr_queued is not zero,
the write request will be added on pending_job_hashbuckets as an pending job .

The pending job will be processed by work_queue thread in flashcache_do_pending_noerror function,
later, the pending job may be processed an uncached IO?

I am not sure why it will be processed as uncached IO , which may be write hit IO ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions