From: Jaegeuk Kim <jaegeuk@kernel.org>
To: Jun He <jhe@cs.wisc.edu>
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: Invoke GC by user?
Date: Fri, 13 May 2016 10:05:07 -0700 [thread overview]
Message-ID: <20160513170507.GA27525@jaegeuk.gateway> (raw)
In-Reply-To: <CABW1wHRZddgZsbBwqT3W1rLkNz9R6Dw7u=3ozpVy26x7_rfYDg@mail.gmail.com>
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
next prev parent reply other threads:[~2016-05-13 17:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-13 16:47 Invoke GC by user? Jun He
2016-05-13 17:05 ` Jaegeuk Kim [this message]
2016-05-14 15:16 ` Jun He
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160513170507.GA27525@jaegeuk.gateway \
--to=jaegeuk@kernel.org \
--cc=jhe@cs.wisc.edu \
--cc=linux-f2fs-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).