Accessing a file system cache that is not in ram but i/o to disk is already issued

Linux has a file system cache where it keeps as many data as possible in RAM as a buffer.

A thread tries to read a page block in file system. If the page is in cache, it fetches the data from the cache (cache hit). otherwise, it issues disk i/o request for the page and waits (cache miss).

But when multiple threads (or processors) read the same page block, I think there can be one more case; the page is not in cache, but the i/o request for the page is already issued. In this case, no disk i/o is issued again, but the threads should wait for the page to be read from disk anyway.

Does Linux's file cache have this property? What do you call this?

Replay

Category: linux Time: 2016-07-29 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.162 (s). 12 q(s)