Return-Path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:33031 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751545AbdFIVzi (ORCPT ); Fri, 9 Jun 2017 17:55:38 -0400 Received: by mail-pf0-f196.google.com with SMTP id f27so9809953pfe.0 for ; Fri, 09 Jun 2017 14:55:37 -0700 (PDT) Date: Fri, 9 Jun 2017 14:55:31 -0700 (PDT) From: Richard Narron To: Al Viro cc: Linus Torvalds , Will B , linux-fsdevel , Evgeniy Dushistov Subject: Re: UFS s_maxbytes bogosity In-Reply-To: <20170609033526.GZ6365@ZenIV.linux.org.uk> Message-ID: References: <20170604215838.GA24416@ZenIV.linux.org.uk> <20170604220602.GN6365@ZenIV.linux.org.uk> <20170605001142.GP6365@ZenIV.linux.org.uk> <20170605034936.GQ6365@ZenIV.linux.org.uk> <20170607234837.GA20362@ZenIV.linux.org.uk> <20170608022057.GX6365@ZenIV.linux.org.uk> <20170609033526.GZ6365@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, 9 Jun 2017, Al Viro wrote: > On Thu, Jun 08, 2017 at 05:11:39PM -0700, Richard Narron wrote: > >> Test results don't look pretty on FreeBSD. (I will also test OpenBSD and >> NetBSD.) > > OK, here's the cumulative diff so far - easy-to-backport parts only; that'll > be split into 6 commits (plus whatever else gets added). It really needs > beating... > This looks much better. The Linux "df ." test looks good. No more missing 32k. cd /fbsdd #df . Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda18 20307184 8 18682632 1% /fbsdd #mkdir a #rmdir a #df . Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda18 20307184 8 18682632 1% /fbsdd And the FreeBSD "fsck" looks good: # fsck -f ada0s2d ** /dev/ada0s2d ** Last Mounted on ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 2 files, 2 used, 5076794 free (26 frags, 634596 blocks, 0.0% fragmentation) ***** FILE SYSTEM IS CLEAN *****