On 2021/11/2 15:10, Hyeong-Jun Kim wrote:
Encrypted pages during GC are read and cached in META_MAPPING.
However, due to cached pages in META_MAPPING, there is an issue where
newly written pages are lost by IPU or DIO writes.
Thread A - f2fs_gc()Thread B
/* phase 3 */
down_write(i_gc
Encrypted pages during GC are read and cached in META_MAPPING.
However, due to cached pages in META_MAPPING, there is an issue where
newly written pages are lost by IPU or DIO writes.
Thread A - f2fs_gc()Thread B
/* phase 3 */
down_write(i_gc_rwsem)
ra_data_block() (a)
up_wr