Hello, On Fri, May 13, 2016 at 11:47:29AM -0500, Jun He wrote: > Hi, > > I understand that "F2FS does cleaning both on demand and in the > background. On-demand cleaning is triggered when there are not enough > free segments to serve VFS calls". Is there any way to start GC to > clean all garbage even when the free segments are enough?
There are two ways. 1. mount option: -o background_gc=sync This will invoke forground gc instead of background one periodically. 2. ->ioctl(F2FS_IOC_GARBAGE_COLLECT) This can invoke one round of forground or background gc by user directly. Thanks, > > Thanks, > Jun > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > _______________________________________________ > Linux-f2fs-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
