Re: [PATCH] xfs: don't hand out pNFS layouts for reflink inodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 30, 2016 at 07:26:34PM +0200, Christoph Hellwig wrote:
> On Tue, Mar 29, 2016 at 05:08:42PM -0700, Darrick J. Wong wrote:
> > > Btw, we'll need something similar to prevent swapfiles which just use
> > > ->bmap, but unfortunately swap just checks for the existences of method,
> > > so I'll probably have to do some VFS changes to properly support that.
> > 
> > Yes, please.  ocfs2 will gladly let you call swapon on a reflinked file,
> > and totally fails to CoW it properly. :)
> 
> Ouch.  Time to add a test for that to xfstests..

Swap/reflink tests will appear as generic/92[34] the next time I post xfstests
patches.

--D

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux