NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
pmemset_config_set_reservation() - sets a reservation for entire pmemset to use
#include <libpmemset.h>
struct pmemset_config;
void pmemset_config_set_reservation(struct pmemset_config *config,
struct pmem2_vm_reservation *rsv);
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_part_map(3). For more information about part mapping behavior and virtual memory reservation creation please see pmemset_part_map(3) and pmem2_vm_reservation_new(3), respectively.
The pmemset_config_set_reservation() does not return any value.
pmem2_vm_reservation_new(3), pmemset_new(3), pmemset_part_map(3), libpmemset(7) and http://pmem.io
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.