cephfs: add error for quiesce operation

added ErrInProgress to indicate the
the quiesce operation is in progress.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2024-02-13 14:33:10 +01:00 committed by mergify[bot]
parent ef25a816a7
commit eff0fe3a23

View File

@ -58,6 +58,9 @@ var (
// ErrVolumeHasSnapshots is returned when a subvolume has snapshots.
ErrVolumeHasSnapshots = coreError.New("volume has snapshots")
// ErrQuiesceInProgress is returned when quiesce operation is in progress.
ErrQuiesceInProgress = coreError.New("quiesce operation is in progress")
)
// IsCloneRetryError returns true if the clone error is pending,in-progress