OS Manuals

llapi_changelog_get_fd(3)

llapi_changelog_get_fd - Return the file descriptor of the changelog device

LLAPI_CHANGELOG_GET_FD(3) Lustre Library Functions LLAPI_CHANGELOG_GET_FD(3)

llapi_changelog_get_fd - Return the file descriptor of the changelog device

#include <lustre/lustreapi.h>
int llapi_changelog_get_fd(void *priv);

The function llapi_changelog_get_fd() returns the file descriptor of changelog char device for the instance priv.

This can be used to call poll() on the file descriptor to get events on the changelog device.

Return the file descriptor on success or a negative errno value on failure.

-EINVAL
priv argument is invalid.

llapi_changelog_get_fd is part of the lustre(7) user application interface library since release 2.4.0

poll(2), llapi_changelog_clear(3), llapi_changelog_in_buf(3), llapi_changelog_recv(3), llapi_changelog_register(3), llapi_changelog_start(3), lustreapi(7)

2026-09-12 Lustre User API

lustre 2.17.60-r0 · enterprise-packages · ingested 2026-10-22