Maps a single cluster region for a sequential read.
(
&mut self,
address: u64,
count: usize,
has_backing_file: bool,
)
| 508 | |
| 509 | /// Maps a single cluster region for a sequential read. |
| 510 | pub(crate) fn map_cluster_read( |
| 511 | &mut self, |
| 512 | address: u64, |
| 513 | count: usize, |
| 514 | has_backing_file: bool, |
| 515 | ) -> io::Result<ClusterReadMapping> { |
| 516 | match self.try_map_read(address, count, has_backing_file)? { |
| 517 | Some(mapping) => Ok(mapping), |
| 518 | None => self.map_read_with_populate(address, count, has_backing_file), |
| 519 | } |
| 520 | } |
| 521 | |
| 522 | /// Write path mapping. Always called under write lock. |
| 523 | fn map_write( |
no test coverage detected