Messages in this thread | | | Subject | Re: [f2fs-dev] [PATCH 2/2] f2fs: introduce FI_COMPRESS_RELEASED instead of using IMMUTABLE bit | From | Chao Yu <> | Date | Sun, 6 Jun 2021 21:53:29 +0800 |
| |
On 2021/5/26 4:49, Jaegeuk Kim wrote: > Once we release compressed blocks, we used to set IMMUTABLE bit. But it turned > out it disallows every fs operations which we don't need for compression. > > Let's just prevent writing data only. > > Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
BTW, we need to expose .i_inline field to userspace since there is no way to check status of inode whether it has released blocks?
Thanks,
| |