dsl_deadlist.c revision 8ac09fcebf848c31516b15ce92861de4b2f514e8
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#include <sys/dsl_dataset.h>
#include <sys/refcount.h>
#include <sys/zfs_context.h>
#include <sys/dsl_pool.h>
static int
{
return (-1);
return (+1);
else
return (0);
}
static void
{
if (dl->dl_havetree)
return;
sizeof (dsl_deadlist_entry_t),
zap_cursor_advance(&zc)) {
}
}
void
{
return;
}
}
void
{
return;
}
if (dl->dl_havetree) {
!= NULL) {
}
}
}
{
sizeof (dsl_deadlist_phys_t), tx));
}
void
{
return;
}
}
void
{
return;
}
else
}
/*
* Insert new key in deadlist, which must be > all current entries.
* mintxg is not inclusive.
*/
void
{
return;
}
/*
* Remove this key, merging its entries into the previous key.
*/
void
{
return;
}
/*
* Walk ds's snapshots to regenerate generate ZAP & AVL.
*/
static void
{
return;
}
while (mrs_obj != 0) {
}
}
{
return (newobj);
}
break;
}
return (newobj);
}
void
{
return;
}
}
/*
* return space used in the range (mintxg, maxtxg].
* Includes maxtxg, does not include mintxg.
* mintxg and maxtxg must both be keys in the deadlist (unless maxtxg is
* UINT64_MAX).
*/
void
{
return;
}
/*
* If we don't find this mintxg, there shouldn't be anything
* after it either.
*/
}
}
static void
{
bpobj_close(&bpo);
}
static int
{
return (0);
}
/*
* Merge the deadlist pointed to by 'obj' into dl. obj will be left as
* an empty deadlist.
*/
void
{
bpobj_close(&bpo);
return;
}
zap_cursor_advance(&zc)) {
}
}
/*
* Remove entries on dl that are >= mintxg, and put them on the bpobj.
*/
void
{
while (dle) {
}
}