Re: [PATCH v14 07/42] btrfs: disallow fitrim in ZONED mode

2021-01-30 Thread Anand Jain
On 1/26/2021 10:24 AM, Naohiro Aota wrote: The implementation of fitrim is depending on space cache, which is not used and disabled for zoned btrfs' extent allocator. So the current code does not work with zoned btrfs. In the future, we can implement fitrim for zoned btrfs by enabling space cache

[PATCH v14 07/42] btrfs: disallow fitrim in ZONED mode

2021-01-26 Thread Naohiro Aota
The implementation of fitrim is depending on space cache, which is not used and disabled for zoned btrfs' extent allocator. So the current code does not work with zoned btrfs. In the future, we can implement fitrim for zoned btrfs by enabling space cache (but, only for fitrim) or scanning the exten