Defer shrink operations if there is a pending decrypt
This commit is contained in:
parent
4bb5fd3a30
commit
2c9a386e25
@ -10,6 +10,10 @@ proc ::shrink::dequeue {q ts} {
|
||||
return {"OK" "Already shrunk"}
|
||||
}
|
||||
|
||||
if {[queue check $ts decrypt]} {
|
||||
return {"DEFER" "Deferring shrink until decrypted"}
|
||||
}
|
||||
|
||||
# If the directory is flagged for decryption as well as shrink
|
||||
# then check to see if decryption has already occured. If not,
|
||||
# defer the shrink for now.
|
||||
|
Loading…
Reference in New Issue
Block a user