submit_cache_miss_req(9)
π
submit_cache_miss_req(9) β Kernel API Manual π¦
πΈ NAME πΈ
submit_cache_miss_req β submit a backing request when cache data is missing. literally the βbestie, the cache missedβ rescue mission π
β¨ SYNOPSIS β¨
void submit_cache_miss_req (struct pcache_cache *cache , struct
pcache_backing_dev_req *backing_req );
π ARGUMENTS π
cacheβ the cache context that manages cache operations. Itβs the main-character cache brain running the show π.backing_reqβ the cache request containing information about the read request. read-request receipt vibes π§Ύ.
π DESCRIPTION π
okay so picture this, bestie: a cache read request shows up and it cannot locate the required data in the cache. Thatβs the miss. π When this kind of miss happens during cache_subtree_walk, it triggers a backing read request to fetch data from the backing storage. No cap, thatβs the whole rescue arc π.
If pcache_req->priv_data is set, it points to a pcache_cache_key, representing a new cache key to be inserted into the cache. The function calls cache_key_insert to attempt adding the key. On insertion failure, it releases the key reference and clears priv_data to avoid further processing. Important caveat: that failure path is real, bestie β on insertion failure the key reference gets released and priv_data gets cleared, periodt π
.
π₯ SEE ALSO π₯
Kernel file ./drivers/md/dm-pcache/cache_req.c: cache_data_alloc(9), miss_read_end_req(9), read_walk_finally(9), cache_read(9), pcache_cache_flush(9). Go give these icons a look πβ¨
mwah π«Ά this page is from the ./drivers/md/dm-pcache source, version date October 2026, and itβs all about submit_cache_miss_req(9) π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms