bug#81776: cp --reflink=auto does not fallback on XFS if reflink AG is f
From:
Peter Chaplin-Smith
Subject:
bug#81776: cp --reflink=auto does not fallback on XFS if reflink AG is full
Date:
Thu, 3 Sep 2026 09:04:30 +0000
Hi All,
Thanks for the quick responses.
> This is probably a general issue for all CoW supporting file systems
> where the metadata is managed separately, so can exhaust independently.
XFS might be the outlier here? As far as I can tell, ZFS and btrfs do the
allocation dynamically. Not sure about bcachefs or any others.
> Also, it strikes me that if this sort of thing happens, people might want to
> know details when debugging.
>
> So I installed the attached. The first treats EDQUOT etc. like ENOSPC; the
> second reports the errno when --debug is used.
Yes, reporting the details may have been useful for us so thanks for that :)
Thank you,
Peter
________________________________
Sophos Ltd, a company registered in England and Wales, number 2096520, The
Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom