Re: [PATCH v2 00/20] fscache,erofs: fscache-based demand-read semantics

From: David Howells
Date: Wed Jan 26 2022 - 03:51:54 EST


JeffleXu <jefflexu@xxxxxxxxxxxxxxxxx> wrote:

> "/path/to/file+offset"
> ^
>
> Besides, what does the 'offset' mean?

Assuming you're storing multiple erofs files within the same backend file, you
need to tell the the cache backend how to find the data. Assuming the erofs
data is arranged such that each erofs file is a single contiguous region, then
you need a pathname and a file offset to find one of them.

David