Re: [f2fs-dev] [PATCH v2] f2fs: fix to set noatime and immutable flag for quota file

2023-05-26 Thread Chao Yu
On 2023/5/27 1:05, Jaegeuk Kim wrote: On 05/25, Chao Yu wrote: We should set noatime bit for quota files, since no one cares about atime of quota file, and we should set immutalbe bit as well, due to nobody should write to the file through exported interfaces. Meanwhile this patch use

Re: [f2fs-dev] [PATCH v2] f2fs: fix to set noatime and immutable flag for quota file

2023-05-26 Thread Jaegeuk Kim
On 05/25, Chao Yu wrote: > We should set noatime bit for quota files, since no one cares about > atime of quota file, and we should set immutalbe bit as well, due to > nobody should write to the file through exported interfaces. > > Meanwhile this patch use inode_lock to avoid race condition

[f2fs-dev] [PATCH v2] f2fs: fix to set noatime and immutable flag for quota file

2023-05-25 Thread Chao Yu
We should set noatime bit for quota files, since no one cares about atime of quota file, and we should set immutalbe bit as well, due to nobody should write to the file through exported interfaces. Meanwhile this patch use inode_lock to avoid race condition during inode->i_flags,