Project

General

Profile

Actions

Feature #63030

open

Enhance Pool Statistics with "Num_bytes_available" Field in rados_pool_stat_t

Added by Sujeet P 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
librados
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently, the "rados_ioctx_pool_stat" function in the Ceph C library provides essential pool statistics via the "struct rados_pool_stat_t." However, it does not include information about the maximum available space in the pool, a crucial metric for users of the "github.com/ceph/go-ceph" Go library, which depends on the Ceph C library.

We propose the addition of a new field, "Num_bytes_available," to the "rados_pool_stat_t" structure in the Ceph C library. This enhancement is essential to ensure compatibility with the "github.com/ceph/go-ceph" Go library, enabling Go developers to access information about the maximum available space in a Ceph pool.

Use Case:
The addition of the "Num_bytes_available" field is crucial for users of the "github.com/ceph/go-ceph" Go library, especially those involved in monitoring and managing Ceph pools. This enhancement becomes particularly valuable when making decisions based on available storage capacity.

No data to display

Actions

Also available in: Atom PDF