https://bugzilla.kernel.org/show_bug.cgi?id=214009
Chao Yu ([email protected]) changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |[email protected] --- Comment #1 from Chao Yu ([email protected]) --- Could you please check below documentation? https://elixir.bootlin.com/linux/latest/source/Documentation/filesystems/f2fs.rst#L824 We've added three ioctl interfaces to query/release/reserve saved block of compressed file: - F2FS_IOC_GET_COMPRESS_BLOCKS - F2FS_IOC_RELEASE_COMPRESS_BLOCKS - F2FS_IOC_RESERVE_COMPRESS_BLOCKS f2fs_io command has supported these ioctls with below sub-command: get_cblocks get number of reserved blocks on compress inode release_cblocks release reserved blocks on compress inode reserve_cblocks reserve blocks on compress inode You can use ioctls directly in your apps, or use f2fs_io in the script to operate the space compression saved, let me know if you have further question. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
