Re: [f2fs-dev] [PATCH] f2fs: handle error cases of memory donation

2025-04-23 Thread Chao Yu via Linux-f2fs-devel
On 4/23/25 03:11, Daeho Jeong wrote: > From: Daeho Jeong > > In cases of removing memory donation, we need to handle some error cases > like ENOENT and EACCES (indicating the range already has been donated). > > Signed-off-by: Daeho Jeong > --- > fs/f2fs/f2fs.h | 1 + > fs/f2fs/file.c

[f2fs-dev] [PATCH] f2fs: handle error cases of memory donation

2025-04-22 Thread Daeho Jeong
From: Daeho Jeong In cases of removing memory donation, we need to handle some error cases like ENOENT and EACCES (indicating the range already has been donated). Signed-off-by: Daeho Jeong --- fs/f2fs/f2fs.h | 1 + fs/f2fs/file.c | 21 ++--- fs/f2fs/shrinker.c | 5 ++