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.... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html