OS Manuals

llapi_changelog_in_buf(3)

llapi_changelog_in_buf - Check if there is changelog records in the internal buffer

LLAPI_CHANGELOG_IN_BUF(3) Lustre Library Functions LLAPI_CHANGELOG_IN_BUF(3)

llapi_changelog_in_buf - Check if there is changelog records in the internal buffer

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

The function llapi_changelog_in_buf() checks if there are still changelog records in the read buffer for the priv instance.

llapi_changelog_in_buf() with llapi_changelog_recv() can be used to dequeue all the changelog records still in the read buffer.

Returns 1 if changelogs records are present in the internal read buffer, otherwise return 0.

llapi_changelog_in_buf is part of the lustre(7) user application interface library since release 2.13.0

llapi_changelog_clear(3), llapi_changelog_get_fd(3), llapi_changelog_recv(3), llapi_changelog_start(3), llapi_changelog_start_user(3), lustreapi(7)

2024-08-22 Lustre User API

lustre 2.17.59-r1 · enterprise-packages · ingested 2026-10-02