Re: [PATCH -next v5 12/32] ext4: implement buffered read path using iomap
| Newsgroups | org.kernel.vger.linux-ext4 |
|---|---|
| Message-ID | <[email protected]> |
> From: Zhang Yi <[email protected]> > > Implement the iomap read path for ext4 by introducing a new > ext4_iomap_buffered_read_ops instance. This provides the read_folio() > and readahead() callbacks for ext4_iomap_aops. The implementation > introduces: > > - ext4_iomap_map_blocks(): Helper function to query extent mappings for > a given read range using ext4_map_blocks() and convert the mapping > information to iomap type > - ext4_iomap_buffered_read_begin(): The iomap_begin callbacks that maps > blocks, validates filesystem state, and populates the iomap. It > returns -ERANGE for inline data which is not yet supported. > > Signed-off-by: Zhang Yi <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=12