From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Biggers Subject: Re: [PATCH 1/2] f2fs: detect wrong layout Date: Wed, 7 Dec 2016 12:16:50 -0800 Message-ID: <20161207201650.GA125037@google.com> References: <20161207011625.15591-1-jaegeuk@kernel.org> 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-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cEieC-0001M0-EV for linux-f2fs-devel@lists.sourceforge.net; Wed, 07 Dec 2016 20:17:00 +0000 Received: from mail-pg0-f53.google.com ([74.125.83.53]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1cEieB-0003sr-MN for linux-f2fs-devel@lists.sourceforge.net; Wed, 07 Dec 2016 20:17:00 +0000 Received: by mail-pg0-f53.google.com with SMTP id 3so165461128pgd.0 for ; Wed, 07 Dec 2016 12:16:59 -0800 (PST) Content-Disposition: inline In-Reply-To: <20161207011625.15591-1-jaegeuk@kernel.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: Jaegeuk Kim Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net On Tue, Dec 06, 2016 at 05:16:24PM -0800, Jaegeuk Kim wrote: > Previous mkfs.f2fs allows small partition inappropriately, so f2fs should detect > that as well. > > Refer this in f2fs-tools. > > mkfs.f2fs: detect small partition by overprovision ratio and # of segments > > Reported-by: Eric Biggers > Signed-off-by: Jaegeuk Kim > --- Hi Jaegeuk, I tested these two patches and they seem to work correctly --- the kernel now doesn't allow mounting a 32 MB f2fs filesystem. Thanks! Eric ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi