From owner-svn-src-head@freebsd.org Fri Feb 2 21:25:47 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11909ECB490; Fri, 2 Feb 2018 21:25:47 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 781B881316; Fri, 2 Feb 2018 21:25:46 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: by mail-lf0-f41.google.com with SMTP id 63so33464352lfv.4; Fri, 02 Feb 2018 13:25:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+EcnQosOM+3xaLsNlPqSrtSsxmUcSqS1opFGaPfMqmQ=; b=sHxGQkn+3BJGZSh5DqMbqGDydAvqB7XWU6sOiGkr5snN1tPvqAYgYSuIGz/JgFxO/G x2IQFICGs3+WAyqwzIffkc/ZhcbZRsC0h+ZUpY0Dhc99r6XXwacLonMmRn33Heks4xAS JYIPoNO7bNeIEh6Zvn25oY34Jj42szNMdz9QMER7aNa+xgsYAL/2STVE18fTOkJfw+/5 eV599Y70zB04r0CDK2qFzN47Kp1r0BRBJZHbKfwIz2vxcw1i00Z8XLwy6qgFzUZG9hFk AMyPf0nSABpcsCxdURehmajjK6WIv2FTz4dC3cerA55TS85UX1+JqljWFTsTj5zoxFSU tUVQ== X-Gm-Message-State: AKwxytexDzpRs9rVxZ9Ev7K8TrlLs7NpeYn/E1Zrt9QVCRHNFOlRp9+a tVDnfWAVOGroj3Pd3NlbYjqUoNx2 X-Google-Smtp-Source: AH8x227VbRY+xeONLu6V4MJznpw8lv5mMbPSTF1ehiX/SxAN6j/mImVnn7nMgl6EEQmj1vV31ylzMw== X-Received: by 10.46.22.30 with SMTP id w30mr11885971ljd.91.1517605358423; Fri, 02 Feb 2018 13:02:38 -0800 (PST) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com. [209.85.215.50]) by smtp.gmail.com with ESMTPSA id d132sm547292lfd.69.2018.02.02.13.02.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 13:02:38 -0800 (PST) Received: by mail-lf0-f50.google.com with SMTP id a204so33403630lfa.2; Fri, 02 Feb 2018 13:02:38 -0800 (PST) X-Received: by 10.25.17.20 with SMTP id g20mr23995885lfi.124.1517605357946; Fri, 02 Feb 2018 13:02:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.46.106.8 with HTTP; Fri, 2 Feb 2018 13:02:17 -0800 (PST) In-Reply-To: <201801260058.w0Q0wXXP097695@repo.freebsd.org> References: <201801260058.w0Q0wXXP097695@repo.freebsd.org> From: Kyle Evans Date: Fri, 2 Feb 2018 15:02:17 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r328426 - in head: lib/libufs sbin/clri sbin/dump sbin/fsck_ffs sbin/fsirand sbin/growfs sbin/newfs sbin/quotacheck stand/libsa sys/geom sys/geom/journal sys/geom/label sys/ufs/ffs usr.... To: Kirk McKusick Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 21:25:47 -0000 On Thu, Jan 25, 2018 at 6:58 PM, Kirk McKusick wrote: > Author: mckusick > Date: Fri Jan 26 00:58:32 2018 > New Revision: 328426 > URL: https://svnweb.freebsd.org/changeset/base/328426 > > Log: > Refactoring of reading and writing of the UFS/FFS superblock. > Specifically reading is done if ffs_sbget() and writing is done > in ffs_sbput(). These functions are exported to libufs via the > sbget() and sbput() functions which then used in the various > filesystem utilities. This work is in preparation for adding > subperblock check hashes. > > No functional change intended. > > Reviewed by: kib Hi, This change seems to have had some unintended side-effect: $ mdconfig -a -t swap -s 10M $ newfs /dev/md0 $ tunefs -L BUG /dev/md0 This results in a "failed to write superblock." crochet's method of building images also fails with a "failed to write superblock."