Skip to content

Commit

Permalink
Added more debug info to test a theory
Browse files Browse the repository at this point in the history
  • Loading branch information
john-sharratt committed Jun 1, 2024
1 parent 75b7480 commit 304e845
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/virtual-fs/src/overlay_fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,10 @@ where

fn poll_copy_start_and_progress(&mut self, cx: &mut Context) -> Poll<io::Result<()>> {
replace_with_or_abort(&mut self.state, |state| match state {
CowState::ReadOnly(inner) => CowState::SeekingGet(inner),
CowState::ReadOnly(inner) => {
tracing::trace!("COW file touched, starting file clone",);
CowState::SeekingGet(inner)
}
state => state,
});
self.poll_copy_progress(cx)
Expand Down

0 comments on commit 304e845

Please sign in to comment.