LLAPI_FID_HASH(3)

NAME
llapi_fid_hash - compute hash value for a File Identifier

SYNOPSIS
#include <lustre/lustreapi.h>

unsigned long llapi_fid_hash(const struct lu_fid *f, unsigned int shift);

DESCRIPTION
llapi_fid_hash() computes a hash value for a Lustre File Identifier. The FID is flattened to 64 bits and then hashed.

RETURN VALUES
Returns an unsigned long.

AVAILABILITY
llapi_fid_hash() is part of the lustre(7) user application interface library since release 2.15.54

SEE ALSO
llapi_layout(7), lustreapi(7)