On Thu, Sep 22, 2016 at 08:33:31AM +1000, Dave Chinner wrote: > On Wed, Sep 21, 2016 at 10:57:24PM +0100, Al Viro wrote: > > On Thu, Sep 22, 2016 at 07:48:15AM +1000, Dave Chinner wrote: > > > > > If you get any error other than -EXDEV or -EOPNOTSUPP from a clone > > > operation, there's somethign seriously wrong with the metadata of > > > the inode or the underlying storage. > > > > Such as -ENOSPC? > > Yup, that's a fatal error, too. i.e. if a clone returns ENOSPC > because there isn't space for the extra metadata, then the fallback > data copy is almost certainly going to fail with ENOSPC when trying > to reserve/allocate space for both the extra data copy and the extra > metadata.... XFS will return ENOSPC during reflink if one of the relevant AGs is running low on space for the refcount/rmap trees; however there might be enough blocks in another AG to make a regular old copy. --D > > Cheers, > > Dave. > -- > Dave Chinner > david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html