Re: [PATCH 3/3] xfs: introduce an always_cow mode

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

 



On Sat, Nov 10, 2018 at 09:47:52AM -0800, Darrick J. Wong wrote:
> >  	xfs_ilock(ip, iolock);
> > +	if (xfs_is_always_cow_inode(ip) && mode != FALLOC_FL_PUNCH_HOLE) {
> > +		error = -EOPNOTSUPP;
> > +		goto out_unlock;
> 
> It's the weekend, so I'm only doing a quick scan of patches:
> 
> Why can't we support collapse range, insert range, zero range, or
> unshare in always_cow mode?

Yes, this a little agressive.  I think we should be fine just
skipping modes zero and keep size (ugg, the fallocate flags
scheme is horrible..).  I'll do that for the next version.



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux