linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Chao Yu <chao2.yu@samsung.com>
To: 'Brian Chadwick' <brianchad@westnet.com.au>
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: fstrim fails on F2FS device
Date: Sat, 28 Jun 2014 16:36:34 +0800	[thread overview]
Message-ID: <004e01cf92ac$2a76e960$7f64bc20$@samsung.com> (raw)
In-Reply-To: <53AE641A.8050308@westnet.com.au>

Hi Brian,

> -----Original Message-----
> From: Brian Chadwick [mailto:brianchad@westnet.com.au]
> Sent: Saturday, June 28, 2014 2:44 PM
> To: linux-f2fs-devel@lists.sourceforge.net
> Subject: [f2fs-dev] fstrim fails on F2FS device
> 
> Hi there
> 
> running fstrim on a F2FS partition gives the following output:
> 
> fstrim: /home: discard operation not supported.
> 
> kernel 3.16.0-rc2
> 
> Is this normal?

Now f2fs has not yet supported batch mode discard through ioctl as the way
fstrim used.

Still you could use real-time mode discard by adding a '-o discard' option when
mount, meanwhile /sys/fs/f2fs/<devname>/max_small_discards could be used for
controlling the real-time mode.

Thanks
Yu

> 
> Cheers
> 
> Brian
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Linux-f2fs-devel mailing list
> Linux-f2fs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

  reply	other threads:[~2014-06-28  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-28  6:43 fstrim fails on F2FS device Brian Chadwick
2014-06-28  8:36 ` Chao Yu [this message]
2014-06-28 12:03   ` Jaegeuk Kim

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='004e01cf92ac$2a76e960$7f64bc20$@samsung.com' \
    --to=chao2.yu@samsung.com \
    --cc=brianchad@westnet.com.au \
    --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).