logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpma_peer_cfg_set_direct_write_to_pmem - declare direct write to PMEM support

Description

rpma_peer_cfg_set_direct_write_to_pmem() declares the support of the direct write to PMEM.

Errors

rpma_peer_cfg_set_direct_write_to_pmem() can fail with the following error:

       •  RPMA_E_INVAL - pcfg is NULL

Name

rpma_peer_cfg_set_direct_write_to_pmem - declare direct write to PMEM support

Return Value

       The  rpma_peer_cfg_set_direct_write_to_pmem()  function  returns 0 on success or a negative error code on
       failure.

See Also

rpma_conn_apply_remote_peer_cfg(3),                                      rpma_peer_cfg_get_descriptor(3),
       rpma_peer_cfg_get_direct_write_to_pmem(3), rpma_peer_cfg_new(3), librpma(7) and https://pmem.io/rpma/

RPMA                                              01 April 2024        rpma_peer_cfg_set_direct_write_to_pmem(3)

Synopsis

             #include <librpma.h>

             struct rpma_peer_cfg;
             int rpma_peer_cfg_set_direct_write_to_pmem(struct rpma_peer_cfg *pcfg, bool supported);

See Also