Backport #54123
Updated by Kotresh Hiremath Ravishankar about 2 years ago
The subvolume snapshot clone fails if the quota on the source
has exceeded. Since the quota is not strictly enforced
at the byte range, this is a possibility.
Steps to reproduce:
1. Create a subvolume with 20 MB size
2. Fill the subvolume with 50 files of 1MB each. (This mostly succeeds if written in loop, exceeding the quota)
3. Create subvolume snapshot
4. Clone the snapshot, the clone fails.