pub fn balance_progress(
fd: BorrowedFd<'_>,
) -> Result<(BalanceState, BalanceProgress)>Expand description
Query the current balance state and progress on the filesystem referred to
by fd.
Returns a BalanceState bitflags value indicating whether a balance is
running, paused, or being cancelled, along with a BalanceProgress with
the current counters.
ยงErrors
Returns Err if the balance progress ioctl fails.