From owner-freebsd-current@FreeBSD.ORG Sun Sep 11 14:55:32 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98845106564A; Sun, 11 Sep 2011 14:55:32 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 65DC88FC12; Sun, 11 Sep 2011 14:55:32 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LRD00F005GJ8U00@smtpauth2.wiscmail.wisc.edu>; Sun, 11 Sep 2011 09:55:31 -0500 (CDT) Received: from wanderer.tachypleus.net (AAnnecy-157-1-99-204.w90-4.abo.wanadoo.fr [90.4.178.204]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LRD00EFQ5GG7A00@smtpauth2.wiscmail.wisc.edu>; Sun, 11 Sep 2011 09:55:31 -0500 (CDT) Date: Sun, 11 Sep 2011 16:55:27 +0200 From: Nathan Whitehorn In-reply-to: <20110911113109.GA81577@server.vk2pj.dyndns.org> To: Peter Jeremy Message-id: <4E6CCBDF.1090206@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=90.4.178.204 X-Spam-PmxInfo: Server=avs-12, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.9.11.144214, SenderIP=90.4.178.204 References: <20110901223646.14b8aae8@o2.pl> <4E60DBBD.1040703@FreeBSD.org> <4E679D3D.1000007@FreeBSD.org> <4E6B1285.70508@FreeBSD.org> <4E6B1AD4.6080206@FreeBSD.org> <4E6B320A.4090606@FreeBSD.org> <20110910110310.GA6263@server.vk2pj.dyndns.org> <4E6C71FA.50906@FreeBSD.org> <20110911113109.GA81577@server.vk2pj.dyndns.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.1) Gecko/20110905 Thunderbird/6.0.1 Cc: Alexander Kabaev , freebsd-current@FreeBSD.org, Andriy Gapon Subject: Re: ZFS: i/o error - all block copies unavailable after upgrading to r225312 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 14:55:32 -0000 On 09/11/11 13:31, Peter Jeremy wrote: > On 2011-Sep-11 11:31:54 +0300, Andriy Gapon wrote: >> And I am actually wondering about -fno-unit-at-a-time option. >> In my opinion this is an anti-optimization option and it can actually increase >> a size of a final binary. In fact, it looks like the option was introduced to >> boot2 in r132870 in the year 2004, way before GCC 4.X switch, and it was >> introduced to avoid some optimizations that produced broken code. >> I wonder if there is any reason to keep using that option now. > > In any case, size isn't an issue for any of gptboot, gptzfsboot or > zfsboot (unlike boot2). For that matter, why do we need both > gptboot and gptzfsboot? It would be more convenient to have a > single GPT bootstrap that handled both UFS& ZFS. > It would be much more convenient, and also simplify adding installation onto ZFS partitions in the installer significantly. -Nathan