diff options
author | mav <mav@FreeBSD.org> | 2011-11-01 20:56:19 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2011-11-01 20:56:19 +0000 |
commit | 973c472be56bc3b72c00c1a5a5d09b9f4cd60826 (patch) | |
tree | 961747cbd5a8187e64771c81928283e26794b5ea /sys/geom/concat/g_concat.h | |
parent | 94ae8df8ba38a9793074c09902e9dde734ee33b0 (diff) | |
download | FreeBSD-src-973c472be56bc3b72c00c1a5a5d09b9f4cd60826.zip FreeBSD-src-973c472be56bc3b72c00c1a5a5d09b9f4cd60826.tar.gz |
Refactor disk disconnection and geom destruction handling sequences.
Do not close/destroy opened consumer directly in case of disconnect. Instead
keep it existing until it will be closed in regular way in response to
upstream provider destruction. Delay geom destruction in the same way.
Previous implementation could destroy consumers still having active
requests and worked only because of global workaround made on GEOM level.
Diffstat (limited to 'sys/geom/concat/g_concat.h')
-rw-r--r-- | sys/geom/concat/g_concat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/concat/g_concat.h b/sys/geom/concat/g_concat.h index def0a98..1c1e6f5 100644 --- a/sys/geom/concat/g_concat.h +++ b/sys/geom/concat/g_concat.h @@ -72,6 +72,7 @@ struct g_concat_disk { struct g_concat_softc *d_softc; off_t d_start; off_t d_end; + int d_removed; }; struct g_concat_softc { |