aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zio_checksum.c
diff options
context:
space:
mode:
authorGeorge Wilson <[email protected]>2013-07-05 15:14:17 -0400
committerBrian Behlendorf <[email protected]>2013-08-07 16:13:56 -0700
commitc61f97f426b7e0bc106b7e6795d4ea2ecbd2384d (patch)
tree61ccc170b0ec8585b896d33c10cab1775f642a56 /module/zfs/zio_checksum.c
parent78d7a5d780d44708a6e8835a0f1e185cc8ee3dfb (diff)
Illumos #3639 zpool.cache should skip over readonly pools
3639 zpool.cache should skip over readonly pools Reviewed by: Eric Schrock <[email protected]> Reviewed by: Adam Leventhal <[email protected]> Reviewed by: Basil Crow <[email protected]> Approved by: Gordon Ross <[email protected]> References: illumos/illumos-gate@fb02ae025247e3b662600e5a9c1b4c33ecab7d72 https://www.illumos.org/issues/3639 Normally we don't list pools that are imported read-only in the cache file, however you can accidentally get one into the cache file by importing and exporting a read-write pool while a read-only pool is imported: $ zpool import -o readonly test1 $ zpool import test2 $ zpool export test2 $ zdb -C This is a problem because if the machine reboots we import all pools in the cache file as read-write. Ported-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/zio_checksum.c')
0 files changed, 0 insertions, 0 deletions