bareos: master 2267fbe6

Author Committer Branch Timestamp Parent
arogge arogge master 2024-07-24 17:06 master 43d103aa Pending
Changeset chunked_device: flush all volumes in is_written()

when ReleaseDevice() calls d_flush() on the volume, it should only
return if all buffers were flushed correctly. However, as a volume
change does not imply d_flush(), we might have chunks from a
previously mounted volume still in the queue.
This change ensures that not only the chunks of the current volume are
flushed, but that the queue is completely empty.
mod - core/src/stored/backends/chunked_device.cc Diff File