Thomas Lamprecht e22ad28302 GC scheduling: avoid triggering operation tracking error for upfront checks
without that one gets a "failed to lookup datastore X" in the log for
every datastore that is in read-only or offline maintenance mode,
even if they aren't scheduled for GC anyway.

Avoid that by first opening the datastore through a Lookup operation,
and only re-open it as Write op once we know that GC needs to get
scheduled for it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-12 11:36:56 +02:00
..
2022-04-14 14:03:46 +02:00
2022-04-14 14:03:46 +02:00
2022-04-14 14:03:46 +02:00
2022-04-14 14:03:46 +02:00
2022-04-14 14:03:46 +02:00