lkml.org 
[lkml]   [2022]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 00/20] fscache,erofs: fscache-based demand-read semantics
From


On 1/26/22 4:51 PM, David Howells wrote:
> JeffleXu <jefflexu@linux.alibaba.com> 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.
>

Alright. In fact one erofs file can contain multiple chunks, which can
correspond to different backing blob files. Thus currently I will use
fscache_read() directly, to push this feature forward.

Thanks a lot.


--
Thanks,
Jeffle

\
 
 \ /
  Last update: 2022-01-27 08:08    [W:0.083 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site