Jeff,
The more appropriate fix is to use spa_writeable(spa) instead of
readonly. The readonly variable is just used to get the property and
that's it, the rest of the spa uses spa_writeable(spa) as a way to
determine if write activity is allowed.
Thanks,
George
On 11/8/14, 7:43 AM, Josef 'J
On Fri, Nov 7, 2014 at 10:05 AM, Josef 'Jeff' Sipek via illumos-zfs <
z...@lists.illumos.org> wrote:
> I'm trying to figure out sort of a self-inflicted assertion in zdb. This
> lead me to two questions for which I didn't find an obvious answer:
>
> (1) why does zdb import pools read-write? E.g.