]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r329777: MFV r329776:
authormav <mav@FreeBSD.org>
Mon, 16 Apr 2018 03:43:29 +0000 (03:43 +0000)
committermav <mav@FreeBSD.org>
Mon, 16 Apr 2018 03:43:29 +0000 (03:43 +0000)
commit2b122f114206b439112b31d230050c5ef5907d84
tree3597f21944cc1675c4654e0eefe1aa25f0c135a5
parent6f90fc3abb344ba32cefb1a2a7279b80618b7d93
MFC r329777: MFV r329776:
8477 Assertion failed in vdev_state_dirty(): spa_writeable(spa)

illumos/illumos-gate@f4c1745bd6c9829a05ecec15759ede7757100ab5

Illumos 4080 allows "zpool clear" to work on readonly pools: i don't think
this is the intended behaviour, we shouldn't be allowed to clear readonly
pools. Probably.

A fix is already in the ZFS on Linux repository to addess this issue:
https://github.com/zfsonlinux/zfs/commit/92e43c17188d47f47b69318e4884096dec380e36

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: loli10K <ezomori.nozomu@gmail.com>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c