Re: [PATCH v1 04/11] dm-pcache: add segment layer

2025-07-06 Thread Dongsheng Yang
在 7/1/2025 10:46 PM, Jonathan Cameron 写道: On Tue, 24 Jun 2025 07:33:51 + Dongsheng Yang wrote: Introduce segment.{c,h}, an internal abstraction that encapsulates everything related to a single pcache *segment* (the fixed-size allocation unit stored on the cache-device). * On-disk metada

Re: [PATCH v1 04/11] dm-pcache: add segment layer

2025-07-01 Thread Jonathan Cameron
On Tue, 24 Jun 2025 07:33:51 + Dongsheng Yang wrote: > Introduce segment.{c,h}, an internal abstraction that encapsulates > everything related to a single pcache *segment* (the fixed-size > allocation unit stored on the cache-device). > > * On-disk metadata (`struct pcache_segment_info`) >

[PATCH v1 04/11] dm-pcache: add segment layer

2025-06-24 Thread Dongsheng Yang
Introduce segment.{c,h}, an internal abstraction that encapsulates everything related to a single pcache *segment* (the fixed-size allocation unit stored on the cache-device). * On-disk metadata (`struct pcache_segment_info`) - Embedded `struct pcache_meta_header` for CRC/sequence handling. -