pmemset API version 1.0

The PMDK repository on GitHub is the ultimate source of information on PMDK from release 2.0! For all questions and to submit eventual issues please follow to that repository. The PMDK documentation collected here should be valid up to the 1.13.1 release but is maintained only on a best-effort basis and may not reflect the latest state of the art.

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

NAME

pmemset_config_set_reservation() - sets a reservation for entire pmemset to use

SYNOPSIS

#include <libpmemset.h>

struct pmemset_config;
void pmemset_config_set_reservation(struct pmemset_config *config,
		struct pmem2_vm_reservation *rsv);

DESCRIPTION

The pmemset_config_set_reservation() function sets a virtual memory reservation for entire pmemset object.

Setting the reservation in pmemset configuration limits the future part mappings to the virtual address space spanned by the provided reservation. Every part mapping is made to the provided reservation, instead of the virtual address space of the process calling pmemset_map(3). For more information about part mapping behavior and virtual memory reservation creation please see pmemset_map(3) and pmem2_vm_reservation_new(3), respectively.

RETURN VALUE

The pmemset_config_set_reservation() does not return any value.

SEE ALSO

pmem2_vm_reservation_new(3),pmemset_map(3), pmemset_new(3), libpmemset(7) and http://pmem.io

The contents of this web site and the associated GitHub repositories are BSD-licensed open source.