Coalescing of disk io requests during merging
How does coalescing of requests takes place during merging if the following scenario occurs...
say request for sector number 3 and 5 already exists...and a new request for sector 4 arrives, then if it front merges with 5, will it also back merge (i.e coalesce in this case) with 3 ?
if it happens ..which functions are called? and how do we get to know whether a single merge or multiple merges have taken place?
references : blk-core.c, elevator.c, deadline_iosched.c all under /block.
|