linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* Invoke GC by user?
@ 2016-05-13 16:47 Jun He
  2016-05-13 17:05 ` Jaegeuk Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Jun He @ 2016-05-13 16:47 UTC (permalink / raw)
  To: linux-f2fs-devel

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?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Invoke GC by user?
  2016-05-13 16:47 Invoke GC by user? Jun He
@ 2016-05-13 17:05 ` Jaegeuk Kim
  2016-05-14 15:16   ` Jun He
  0 siblings, 1 reply; 3+ messages in thread
From: Jaegeuk Kim @ 2016-05-13 17:05 UTC (permalink / raw)
  To: Jun He; +Cc: linux-f2fs-devel

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
> Linux-f2fs-devel@lists.sourceforge.net
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Invoke GC by user?
  2016-05-13 17:05 ` Jaegeuk Kim
@ 2016-05-14 15:16   ` Jun He
  0 siblings, 0 replies; 3+ messages in thread
From: Jun He @ 2016-05-14 15:16 UTC (permalink / raw)
  To: Jaegeuk Kim; +Cc: linux-f2fs-devel

Thanks. I'll try.

Jun

On Fri, May 13, 2016 at 12:05 PM, Jaegeuk Kim <jaegeuk@kernel.org> wrote:
> 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
>> Linux-f2fs-devel@lists.sourceforge.net
>> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-14 15:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13 16:47 Invoke GC by user? Jun He
2016-05-13 17:05 ` Jaegeuk Kim
2016-05-14 15:16   ` Jun He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).