Re: [f2fs-dev] [PATCH v3] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-12-09 Thread Jaegeuk Kim
On 12/09, Chao Yu wrote: > On 2020/12/3 14:56, Daeho Jeong wrote: > > From: Daeho Jeong > > + f2fs_balance_fs(F2FS_I_SB(inode), true); > > Trivial cleanup: > > f2fs_balance_fs(sbi, true); > > > + f2fs_balance_fs(F2FS_I_SB(inode), true); > > Ditto, > > Jaegeuk could fix this directly? Let

Re: [f2fs-dev] [PATCH v3] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-12-08 Thread Chao Yu
On 2020/12/3 14:56, Daeho Jeong wrote: From: Daeho Jeong + f2fs_balance_fs(F2FS_I_SB(inode), true); Trivial cleanup: f2fs_balance_fs(sbi, true); + f2fs_balance_fs(F2FS_I_SB(inode), true); Ditto, Jaegeuk could fix this directly? Thanks,

Re: [f2fs-dev] [PATCH v3] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-12-07 Thread Eric Biggers
On Thu, Dec 03, 2020 at 03:56:15PM +0900, Daeho Jeong wrote: > From: Daeho Jeong > > Added two ioctl to decompress/compress explicitly the compression > enabled file in "compress_mode=user" mount option. > > Using these two ioctls, the users can make a control of compression > and decompression

Re: [f2fs-dev] [PATCH v3] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-12-02 Thread Chao Yu
On 2020/12/3 14:56, Daeho Jeong wrote: From: Daeho Jeong Added two ioctl to decompress/compress explicitly the compression enabled file in "compress_mode=user" mount option. Using these two ioctls, the users can make a control of compression and decompression of their files. Signed-off-by: Da

[PATCH v3] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-12-02 Thread Daeho Jeong
From: Daeho Jeong Added two ioctl to decompress/compress explicitly the compression enabled file in "compress_mode=user" mount option. Using these two ioctls, the users can make a control of compression and decompression of their files. Signed-off-by: Daeho Jeong --- v3: changed error conditio