Re: [PATCH v1 00/11] dm-pcache – persistent-memory cache for block devices

2025-06-30 Thread Dongsheng Yang
在 6/30/2025 11:45 PM, Mikulas Patocka 写道: On Mon, 30 Jun 2025, Dongsheng Yang wrote: Hi Mikulas,     The reason why we don’t release the spinlock here is that if we do, the subtree could change. For example, in the `fixup_overlap_contained()` function, we may need to split a certain `cach

Re: [PATCH v1 00/11] dm-pcache – persistent-memory cache for block devices

2025-06-30 Thread Mikulas Patocka
On Mon, 30 Jun 2025, Dongsheng Yang wrote: > Hi Mikulas, > >     The reason why we don’t release the spinlock here is that if we do, the > subtree could change. > > For example, in the `fixup_overlap_contained()` function, we may need to split > a certain `cache_key`, and that requires allocat

Re: [PATCH v1 00/11] dm-pcache – persistent-memory cache for block devices

2025-06-30 Thread Dongsheng Yang
在 6/30/2025 9:40 PM, Dongsheng Yang 写道: 在 6/30/2025 9:30 PM, Mikulas Patocka 写道: On Tue, 24 Jun 2025, Dongsheng Yang wrote: Hi Mikulas, This is V1 for dm-pcache, please take a look. Code: https://github.com/DataTravelGuide/linux tags/pcache_v1 Changelogs from RFC-V2: - use c

Re: [PATCH v1 00/11] dm-pcache – persistent-memory cache for block devices

2025-06-30 Thread Dongsheng Yang
在 6/30/2025 9:30 PM, Mikulas Patocka 写道: On Tue, 24 Jun 2025, Dongsheng Yang wrote: Hi Mikulas, This is V1 for dm-pcache, please take a look. Code: https://github.com/DataTravelGuide/linux tags/pcache_v1 Changelogs from RFC-V2: - use crc32c to replace crc32 - o

Re: [PATCH v1 00/11] dm-pcache – persistent-memory cache for block devices

2025-06-30 Thread Mikulas Patocka
On Tue, 24 Jun 2025, Dongsheng Yang wrote: > Hi Mikulas, > This is V1 for dm-pcache, please take a look. > > Code: > https://github.com/DataTravelGuide/linux tags/pcache_v1 > > Changelogs from RFC-V2: > - use crc32c to replace crc32 > - only retry pcache_req when cache f

[PATCH v1 00/11] dm-pcache – persistent-memory cache for block devices

2025-06-24 Thread Dongsheng Yang
Hi Mikulas, This is V1 for dm-pcache, please take a look. Code: https://github.com/DataTravelGuide/linux tags/pcache_v1 Changelogs from RFC-V2: - use crc32c to replace crc32 - only retry pcache_req when cache full, add pcache_req into defer_list, and wait cac