From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaegeuk Kim Subject: Re: fstrim fails on F2FS device Date: Sat, 28 Jun 2014 21:03:38 +0900 Message-ID: <20140628120338.GA17941@jmac> References: <53AE641A.8050308@westnet.com.au> <004e01cf92ac$2a76e960$7f64bc20$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1X0rMG-0007Te-RE for linux-f2fs-devel@lists.sourceforge.net; Sat, 28 Jun 2014 12:03:52 +0000 Received: from mail.kernel.org ([198.145.19.201]) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1X0rME-00008S-T2 for linux-f2fs-devel@lists.sourceforge.net; Sat, 28 Jun 2014 12:03:52 +0000 Content-Disposition: inline In-Reply-To: <004e01cf92ac$2a76e960$7f64bc20$@samsung.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: Chao Yu Cc: linux-f2fs-devel@lists.sourceforge.net, 'Brian Chadwick' Exactly, it's correct. Thanks Chao, :) On Sat, Jun 28, 2014 at 04:36:34PM +0800, Chao Yu wrote: > 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//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 > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel -- Jaegeuk Kim ------------------------------------------------------------------------------ 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