overlayfs
overlayfs copied to clipboard
Read from snapshot may read data from the future
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.