overlayfs icon indicating copy to clipboard operation
overlayfs copied to clipboard

Read from snapshot may read data from the future

Open amir73il opened this issue 7 years ago • 0 comments

readdir getattr and read from snapshot overlay can all race with copy up and read directly from the lower object after it has been modified. Fixing this will require a "sequence lock" pattern, i.e. check that if object was copied up during read and repeat the read operation from copied up object.

amir73il avatar Nov 14 '18 07:11 amir73il