beegfs/meta/source/net/message/storage/StatStoragePathMsgEx.h
2025-08-10 01:34:16 +02:00

19 lines
479 B
C++

#pragma once
#include <common/storage/StorageErrors.h>
#include <common/net/message/storage/StatStoragePathMsg.h>
// derives from config option "StoragePath" and actually is similar to statfs()
class StatStoragePathMsgEx : public StatStoragePathMsg
{
public:
virtual bool processIncoming(ResponseContext& ctx);
private:
FhgfsOpsErr statStoragePath(int64_t* outSizeTotal, int64_t* outSizeFree,
int64_t* outInodesTotal, int64_t* outInodesFree);
};