Re: [f2fs-dev] [PATCH v2] f2fs: fix race of pending_pages in decompression

2020-12-04 Thread Daeho Jeong
As I told, this patch has a bug. Ignore this one. So, I'm implementing another one. :( 2020년 12월 4일 (금) 오후 6:50, Daeho Jeong 님이 작성: > > As I told, this patch has a bug. Ignore this one. So, I'm implementing > another one. :( > > > 2020년 12월 4일 (금) 오후 5:04, Chao Yu 님이 작성: >> >> On 2020/12/4 15:28,

Re: [f2fs-dev] [PATCH v2] f2fs: fix race of pending_pages in decompression

2020-12-04 Thread Chao Yu
On 2020/12/4 15:28, Daeho Jeong wrote: From: Daeho Jeong I found out f2fs_free_dic() is invoked in a wrong timing, but f2fs_verify_bio() still needed the dic info and it triggered the below kernel panic. It has been caused by the race condition of pending_pages value between decompression and v

[PATCH v2] f2fs: fix race of pending_pages in decompression

2020-12-03 Thread Daeho Jeong
From: Daeho Jeong I found out f2fs_free_dic() is invoked in a wrong timing, but f2fs_verify_bio() still needed the dic info and it triggered the below kernel panic. It has been caused by the race condition of pending_pages value between decompression and verity logic, when the same compression cl