xfs
[Top] [All Lists]

Re: [PATCH 0/4] xfs: fixes for XFS_DIFLAG2_DAX support

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 0/4] xfs: fixes for XFS_DIFLAG2_DAX support
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Wed, 17 Feb 2016 15:04:54 -0500
Cc: xfs@xxxxxxxxxxx, ross.zwisler@xxxxxxxxxxxxxxx, jack@xxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1455513734-15192-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1455513734-15192-1-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.24 (2015-08-30)
On Mon, Feb 15, 2016 at 04:22:10PM +1100, Dave Chinner wrote:
> Hi folks,
> 
> This is a series to add the correct constraints to using the on-disk
> inode flag to enable DAX on per-file basis. The same constraints are
> placed on setting the flag on directories for inheritance purposes.
> 
> These constraints are:
>       - the inode flag is limited to regular files or directory
>         inodes.
>       - the S_DAX flag is only ever set on regular files
>       - the flag can only ever be set on filesystems which have
>         blocksize == PAGE_SIZE (for now)
>       - When the flag is set or cleared, the current mapping
>         contents are flushed and then invalidated so that the new
>         access mode starts with an empty mapping.
>       - Setting or clearing the flag is atomic w.r.t. IO and
>         page faults.
> 
> I've tested these manually with xfs_io (patchset for supporting
> chattr +x/-x to be sent soon), and it all appears to work as
> expected. I'd like to push these for 4.5-rc6 so the initial kernel
> with support for this flag doesn't do silly things, so comments,
> testing and review woul dbe appreciated.
> 

The commit log description for patch 3 (v2) looks like it needs to be
fixed up (multiple title lines and extraneous From: header), but
otherwise the series looks good to me:

Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx>

> Cheers,
> 
> Dave.
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>