From eff0fe3a238731d4fde83fa7d4281c6a693715d9 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 13 Feb 2024 14:33:10 +0100 Subject: [PATCH] cephfs: add error for quiesce operation added ErrInProgress to indicate the the quiesce operation is in progress. Signed-off-by: Madhu Rajanna --- internal/cephfs/errors/errors.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/cephfs/errors/errors.go b/internal/cephfs/errors/errors.go index 790119d9a..a354aa57e 100644 --- a/internal/cephfs/errors/errors.go +++ b/internal/cephfs/errors/errors.go @@ -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