Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-11-02 Thread Dave Chinner
On Wed, Nov 02, 2022 at 05:17:18AM +, ruansy.f...@fujitsu.com wrote: > > 在 2022/11/2 8:45, Darrick J. Wong 写道: > > On Sun, Oct 30, 2022 at 05:31:43PM +0800, Shiyang Ruan wrote: > > FWIW things have calmed down as of 6.1-rc3 -- if I disable reflink, > > fstests runs without complaint. Now it

Re: [dm-devel] [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-11-01 Thread ruansy.f...@fujitsu.com
在 2022/11/2 8:45, Darrick J. Wong 写道: > On Sun, Oct 30, 2022 at 05:31:43PM +0800, Shiyang Ruan wrote: >> >> >> 在 2022/10/28 9:37, Dan Williams 写道: >>> Darrick J. Wong wrote: [add tytso to cc since he asked about "How do you actually /get/ fsdax mode these days?" this morning]

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-11-01 Thread Darrick J. Wong
On Sun, Oct 30, 2022 at 05:31:43PM +0800, Shiyang Ruan wrote: > > > 在 2022/10/28 9:37, Dan Williams 写道: > > Darrick J. Wong wrote: > > > [add tytso to cc since he asked about "How do you actually /get/ fsdax > > > mode these days?" this morning] > > > > > > On Tue, Oct 25, 2022 at 10:56:19AM

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-30 Thread Shiyang Ruan
在 2022/10/28 9:37, Dan Williams 写道: Darrick J. Wong wrote: [add tytso to cc since he asked about "How do you actually /get/ fsdax mode these days?" this morning] On Tue, Oct 25, 2022 at 10:56:19AM -0700, Darrick J. Wong wrote: On Tue, Oct 25, 2022 at 02:26:50PM +,

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-27 Thread Dan Williams
Darrick J. Wong wrote: > [add tytso to cc since he asked about "How do you actually /get/ fsdax > mode these days?" this morning] > > On Tue, Oct 25, 2022 at 10:56:19AM -0700, Darrick J. Wong wrote: > > On Tue, Oct 25, 2022 at 02:26:50PM +, ruansy.f...@fujitsu.com wrote: > > > > > > > > > 在

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-27 Thread Darrick J. Wong
[add tytso to cc since he asked about "How do you actually /get/ fsdax mode these days?" this morning] On Tue, Oct 25, 2022 at 10:56:19AM -0700, Darrick J. Wong wrote: > On Tue, Oct 25, 2022 at 02:26:50PM +, ruansy.f...@fujitsu.com wrote: > > > > > > 在 2022/10/24 13:31, Dave Chinner 写道: > >

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-25 Thread Darrick J. Wong
On Tue, Oct 25, 2022 at 02:26:50PM +, ruansy.f...@fujitsu.com wrote: > > > 在 2022/10/24 13:31, Dave Chinner 写道: > > On Mon, Oct 24, 2022 at 03:17:52AM +, ruansy.f...@fujitsu.com wrote: > >> 在 2022/10/24 6:00, Dave Chinner 写道: > >>> On Fri, Oct 21, 2022 at 07:11:02PM -0700, Darrick J.

Re: [dm-devel] [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-25 Thread ruansy.f...@fujitsu.com
在 2022/10/24 13:31, Dave Chinner 写道: > On Mon, Oct 24, 2022 at 03:17:52AM +, ruansy.f...@fujitsu.com wrote: >> 在 2022/10/24 6:00, Dave Chinner 写道: >>> On Fri, Oct 21, 2022 at 07:11:02PM -0700, Darrick J. Wong wrote: On Thu, Oct 20, 2022 at 10:17:45PM +0800, Yang, Xiao/杨 晓 wrote: >

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-24 Thread Dan Williams
Dave Chinner wrote: > On Fri, Oct 21, 2022 at 07:11:02PM -0700, Darrick J. Wong wrote: > > On Thu, Oct 20, 2022 at 10:17:45PM +0800, Yang, Xiao/杨 晓 wrote: > > > In addition, I don't like your idea about the test change because it will > > > make generic/470 become the special test for XFS. Do you

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-23 Thread Dave Chinner
On Mon, Oct 24, 2022 at 03:17:52AM +, ruansy.f...@fujitsu.com wrote: > 在 2022/10/24 6:00, Dave Chinner 写道: > > On Fri, Oct 21, 2022 at 07:11:02PM -0700, Darrick J. Wong wrote: > >> On Thu, Oct 20, 2022 at 10:17:45PM +0800, Yang, Xiao/杨 晓 wrote: > >>> In addition, I don't like your idea about

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-23 Thread Darrick J. Wong
On Mon, Oct 24, 2022 at 03:17:52AM +, ruansy.f...@fujitsu.com wrote: > 在 2022/10/24 6:00, Dave Chinner 写道: > > On Fri, Oct 21, 2022 at 07:11:02PM -0700, Darrick J. Wong wrote: > >> On Thu, Oct 20, 2022 at 10:17:45PM +0800, Yang, Xiao/杨 晓 wrote: > >>> In addition, I don't like your idea about

Re: [dm-devel] [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-23 Thread ruansy.f...@fujitsu.com
在 2022/10/24 6:00, Dave Chinner 写道: > On Fri, Oct 21, 2022 at 07:11:02PM -0700, Darrick J. Wong wrote: >> On Thu, Oct 20, 2022 at 10:17:45PM +0800, Yang, Xiao/杨 晓 wrote: >>> In addition, I don't like your idea about the test change because it will >>> make generic/470 become the special test for

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-23 Thread Dave Chinner
On Fri, Oct 21, 2022 at 07:11:02PM -0700, Darrick J. Wong wrote: > On Thu, Oct 20, 2022 at 10:17:45PM +0800, Yang, Xiao/杨 晓 wrote: > > In addition, I don't like your idea about the test change because it will > > make generic/470 become the special test for XFS. Do you know if we can fix > > the

RE: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-23 Thread yangx...@fujitsu.com
On 2022/10/22 10:11, Darrick J. Wong wrote: >> We need to fix the issue by discarding XFS log on the block device. >> mkfs.xfs will try to discard the blocks including XFS log by calling >> ioctl(BLKDISCARD) but it will ignore error silently when the block >> device doesn't support

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-21 Thread Darrick J. Wong
On Thu, Oct 20, 2022 at 10:17:45PM +0800, Yang, Xiao/杨 晓 wrote: > On 2022/10/5 2:26, Darrick J. Wong wrote: > > Notice this line in generic/470: > > > > $XFS_IO_PROG -t -c "truncate $LEN" -c "mmap -S 0 $LEN" -c "mwrite 0 $LEN" \ > > -c "log_writes -d $LOGWRITES_NAME -m preunmap" \ > > -f

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-20 Thread Yang , Xiao/杨 晓
On 2022/10/5 2:26, Darrick J. Wong wrote: Notice this line in generic/470: $XFS_IO_PROG -t -c "truncate $LEN" -c "mmap -S 0 $LEN" -c "mwrite 0 $LEN" \ -c "log_writes -d $LOGWRITES_NAME -m preunmap" \ -f $SCRATCH_MNT/test The second xfs_io command creates a MAP_SYNC mmap of the

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-04 Thread Darrick J. Wong
On Mon, Oct 03, 2022 at 09:12:46PM -0700, Gotou, Yasunori/五島 康文 wrote: > On 2022/10/03 17:12, Darrick J. Wong wrote: > > On Fri, Sep 30, 2022 at 09:56:41AM +0900, Gotou, Yasunori/五島 康文 wrote: > > > Hello everyone, > > > > > > On 2022/09/20 11:38, Yang, Xiao/杨 晓 wrote: > > > > Hi Darrick, Brian

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-03 Thread Gotou , Yasunori/五島 康文
On 2022/10/03 17:12, Darrick J. Wong wrote: On Fri, Sep 30, 2022 at 09:56:41AM +0900, Gotou, Yasunori/五島 康文 wrote: Hello everyone, On 2022/09/20 11:38, Yang, Xiao/杨 晓 wrote: Hi Darrick, Brian and Christoph Ping. I hope to get your feedback. 1) I have confirmed that the following patch set

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-10-03 Thread Darrick J. Wong
On Fri, Sep 30, 2022 at 09:56:41AM +0900, Gotou, Yasunori/五島 康文 wrote: > Hello everyone, > > On 2022/09/20 11:38, Yang, Xiao/杨 晓 wrote: > > Hi Darrick, Brian and Christoph > > > > Ping. I hope to get your feedback. > > > > 1) I have confirmed that the following patch set did not change the test

Re: [PATCH] xfs: fail dax mount if reflink is enabled on a partition

2022-09-29 Thread Gotou , Yasunori/五島 康文
Hello everyone, On 2022/09/20 11:38, Yang, Xiao/杨 晓 wrote: Hi Darrick, Brian and Christoph Ping. I hope to get your feedback. 1) I have confirmed that the following patch set did not change the test result of generic/470 with thin-volume. Besides, I didn't see any failure when running