]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid the GEOM topology lock recursion when we automatically expand a pool.
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Sat, 25 Apr 2020 21:45:31 +0000 (21:45 +0000)
committerPawel Jakub Dawidek <pjd@FreeBSD.org>
Sat, 25 Apr 2020 21:45:31 +0000 (21:45 +0000)
commitcb761bb2fb40a9b318b5583110791b4d9669b1c0
treedb9f158ed1e80f38180125c483e2ff4617344c65
parentcefbc0d19bbfb14776078359c4a67442b0849803
Avoid the GEOM topology lock recursion when we automatically expand a pool.

The steps to reproduce the problem:

mdconfig -a -t swap -s 3g -u 0
gpart create -s GPT md0
gpart add -t freebsd-zfs -s 1g md0
zpool create -o autoexpand=on foo md0p1
gpart resize -i 1 -s 2g md0
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c