range-based createtxg queries

This commit is contained in:
Christian Schwarz
2020-04-05 14:49:28 +02:00
parent 86698c2789
commit e82aea5862
5 changed files with 408 additions and 33 deletions
+6 -3
View File
@@ -150,9 +150,12 @@ func ReleaseStepCummulativeInclusive(ctx context.Context, fs string, mostRecent
FS: &fs,
},
JobID: &jobID,
Until: &InclusiveExclusiveCreateTXG{
CreateTXG: mostRecent.CreateTXG,
Inclusive: &zfs.NilBool{B: true},
CreateTXG: CreateTXGRange{
Since: nil,
Until: &CreateTXGRangeBound{
CreateTXG: mostRecent.CreateTXG,
Inclusive: &zfs.NilBool{B: true},
},
},
Concurrency: 1,
}