mirror of
https://github.com/Zygo/bees.git
synced 2025-07-01 00:02:27 +02:00
context: don't forget to retry locked extents
The caller of scan_forward has to stop advancing the BeesFileCrawl position when an extent lock blocks a scan, so that it will resume from the same position when the Task is scheduled again; otherwise, bees simply skips over the extent and leave it incompletely deduped. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -751,7 +751,7 @@ public:
|
||||
Fd home_fd();
|
||||
string root_path() const { return m_root_path; }
|
||||
|
||||
void scan_forward(const BeesFileRange &bfr);
|
||||
bool scan_forward(const BeesFileRange &bfr);
|
||||
|
||||
bool is_root_ro(uint64_t root);
|
||||
BeesRangePair dup_extent(const BeesFileRange &src, const shared_ptr<BeesTempFile> &tmpfile);
|
||||
|
Reference in New Issue
Block a user