Ubuntu Manpages

rpma_mr_remote_get_flush_type

get a remote memory region's flush types

      #include <librpma.h>
      struct rpma_mr_remote;
      int rpma_mr_remote_get_flush_type(const struct rpma_mr_remote *mr, int *flush_type);

rpma_mr_remote_get_flush_type() gets flush types supported by the remote memory region.

The rpma_mr_remote_get_flush_type() function returns 0 on success or a negative error code on failure. rpma_mr_remote_get_flush_type() does not set *flush_type value on failure.

rpma_mr_remote_get_flush_type() can fail with the following error:

  • RPMA_E_INVAL - mr or flush_type is NULL

rpma_mr_remote_from_descriptor(3), librpma(7) and https://pmem.io/rpma/