Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2009 13:43:57 +0300
From:      Andriy Gapon <avg@freebsd.org>
To:        freebsd-arch@freebsd.org
Subject:   on architecture of dumping 
Message-ID:  <4A8A85ED.4090404@freebsd.org>

next in thread | raw e-mail | index | archive | help

I think that the following is quite obvious, but it needs to be said anyway.

I think that we should switch from current approach of hierarchically configuring
dumper to having a hierarchy of dumpers.

Right now only disks provide dumping routines and the layers above disks can only
set offset and size of dump area. This results in the following limitations:
1. dump can be made only to contiguous area of a disk
2. dump can be made only to a single disk

Having a hierarchy of dumpers is a need that arises from having a GEOM hierarchy.
I think that each compliant GEOM provider could expose a dump method for writing
out a blob of data to certain offset within the provider. Such a dump routine
would dispatch data to dump methods of underlying provider(s) according to
provider's logic. Disk providers would have almost the same dump routines as they
do now (they are actually in disk drivers).

This would allow, for example, mirrored dumping to gmirror devices.
And this would pave a way for porting dumping to a zvol from OpenSolaris.

Please comment.
Thank you.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8A85ED.4090404>