Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2018 22:10:33 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-projects@freebsd.org
Subject:   Re: svn commit: r336696 - projects/bectl/lib/libbe
Message-ID:  <CACNAnaEL9XbWxoaENotJXO6kUk4vZOars6maysG8aCtbG=9D5Q@mail.gmail.com>
In-Reply-To: <201807250308.w6P38Bub063668@repo.freebsd.org>
References:  <201807250308.w6P38Bub063668@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 24, 2018 at 10:08 PM, Kyle Evans <kevans@freebsd.org> wrote:
> Author: kevans
> Date: Wed Jul 25 03:08:11 2018
> New Revision: 336696
> URL: https://svnweb.freebsd.org/changeset/base/336696
>
> Log:
>   libbe(3): Disambiguate 'active' a little bit, add 'bootfs'
>
>   - Rename 'active' to 'rootfs', which is used in other places to describe the
>   currently booted (or about to be booted) BE.
>
>   - Add 'bootfs', which indicates the next boot environment to be booted. This
>     is pulled from the BOOTFS zpool property.
>
>   - Go ahead and keep an open handle to the active zpool. We might need to
>     enumerate datasets, get properties, and set properties (e.g. bootfs)
>     throughout other libbe bits, and a single handle isn't overly expensive.

Subtract "enumerate datasets" from that list... that doesn't require a
zpool handle. This does reduce redundancy in pulling out pool names to
exactly one place we do this, and we'll clean this stuff up more
later.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaEL9XbWxoaENotJXO6kUk4vZOars6maysG8aCtbG=9D5Q>