[PATCH v2 2/9] mtd: nand: Introduce a block iterator

Miquel Raynal miquel.raynal at bootlin.com
Fri Sep 6 08:03:13 PDT 2024


On Mon, 2024-08-26 at 10:14:05 UTC, Miquel Raynal wrote:
> In order to be able to iterate easily across eraseblocks rather than
> pages, let's introduce a block iterator inspired from the page iterator.
> 
> The main usage of this iterator will be for continuous/sequential reads,
> where it is interesting to use a single request rather than split the
> requests in smaller chunks (ie. pages) that can be hardly optimized.
> 
> So a "continuous" boolean get's added for this purpose.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel



More information about the linux-mtd mailing list