On Thu, Apr 25, 2024 at 06:58:51PM +0530, Ritesh Harjani (IBM) wrote: > Currently the bios for reads within iomap are only submitted at > 2 places - > 1. If we cannot merge the new req. with previous bio, only then we > submit the previous bio. > 2. Submit the bio at the end of the entire read processing. > > This means for filesystems with indirect block mapping, we call into > ->iomap_begin() again w/o submitting the previous bios. That causes > unoptimized data access patterns for blocks which are of BH_Boundary type. The same is true for extent mappings. And it's not ideal there either, although it only inreases the bio submission latency.