Algorithm for nodatacow is broken

2008-07-16 Thread Yan Zheng
Hello, Yesterday, I realized the algorithm for nodatacow is broken, it can't reliably detect whether a given extent is referenced by only one snapshot. Let me use the attached picture to describe the issue. Figure (1) shows the initial tree structure. there is only one fs tree A. Figure (2

Re: Algorithm for nodatacow is broken

2008-07-16 Thread Chris Mason
On Wed, 2008-07-16 at 15:41 +0800, Yan Zheng wrote: Hello, Yesterday, I realized the algorithm for nodatacow is broken, it can't reliably detect whether a given extent is referenced by only one snapshot. I had to change around nodatacow back in May because it was definitely broken