mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
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:
parent
ef25a816a7
commit
eff0fe3a23
@ -58,6 +58,9 @@ var (
|
|||||||
|
|
||||||
// ErrVolumeHasSnapshots is returned when a subvolume has snapshots.
|
// ErrVolumeHasSnapshots is returned when a subvolume has snapshots.
|
||||||
ErrVolumeHasSnapshots = coreError.New("volume 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
|
// IsCloneRetryError returns true if the clone error is pending,in-progress
|
||||||
|
Loading…
Reference in New Issue
Block a user