Re: [RFC PATCH] xfs: check shared state of when CoW, update reflink flag when io ends

2023-03-22 Thread Shiyang Ruan
在 2023/3/21 23:13, Darrick J. Wong 写道: On Mon, Mar 20, 2023 at 06:02:05PM +0800, Shiyang Ruan wrote: 在 2023/3/18 4:35, Darrick J. Wong 写道: On Fri, Mar 17, 2023 at 03:59:48AM +, Shiyang Ruan wrote: As is mentioned[1] before, the generic/388 will randomly fail with dmesg warning. This

Re: [RFC PATCH] xfs: check shared state of when CoW, update reflink flag when io ends

2023-03-21 Thread Darrick J. Wong
On Mon, Mar 20, 2023 at 06:02:05PM +0800, Shiyang Ruan wrote: > > > 在 2023/3/18 4:35, Darrick J. Wong 写道: > > On Fri, Mar 17, 2023 at 03:59:48AM +, Shiyang Ruan wrote: > > > As is mentioned[1] before, the generic/388 will randomly fail with dmesg > > > warning. This case uses fsstress with

Re: [RFC PATCH] xfs: check shared state of when CoW, update reflink flag when io ends

2023-03-20 Thread Shiyang Ruan
在 2023/3/18 4:35, Darrick J. Wong 写道: On Fri, Mar 17, 2023 at 03:59:48AM +, Shiyang Ruan wrote: As is mentioned[1] before, the generic/388 will randomly fail with dmesg warning. This case uses fsstress with a lot of random operations. It is hard to reproduce. Finally I found a 100%

Re: [RFC PATCH] xfs: check shared state of when CoW, update reflink flag when io ends

2023-03-17 Thread Darrick J. Wong
On Fri, Mar 17, 2023 at 03:59:48AM +, Shiyang Ruan wrote: > As is mentioned[1] before, the generic/388 will randomly fail with dmesg > warning. This case uses fsstress with a lot of random operations. It is hard > to reproduce. Finally I found a 100% reproduce condition, which is setting >

[RFC PATCH] xfs: check shared state of when CoW, update reflink flag when io ends

2023-03-16 Thread Shiyang Ruan
As is mentioned[1] before, the generic/388 will randomly fail with dmesg warning. This case uses fsstress with a lot of random operations. It is hard to reproduce. Finally I found a 100% reproduce condition, which is setting the seed to 1677104360. So I changed the generic/388 code: removed