summaryrefslogtreecommitdiff
path: root/fs/btrfs/zoned.h
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2021-02-04 13:21:46 +0300
committerDavid Sterba <dsterba@suse.com>2021-02-09 04:32:20 +0300
commit1cb3dc3f79153c2d7f9a4438381e1385dff09656 (patch)
tree54d523abf8e1f577a9953bb11ec9c3bc9ca97ad9 /fs/btrfs/zoned.h
parentb53429bad3a3555fdbda190192c6e9dfef8e7787 (diff)
downloadlinux-1cb3dc3f79153c2d7f9a4438381e1385dff09656.tar.xz
btrfs: zoned: disallow fitrim on zoned filesystems
The implementation of fitrim depends on space cache, which is not used and disabled for zoned extent allocator. So the current code does not work with zoned filesystem. In the future, we can implement fitrim for zoned filesystems by enabling space cache (but, only for fitrim) or scanning the extent tree at fitrim time. For now, disallow fitrim on zoned filesystems. Reviewed-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/zoned.h')
0 files changed, 0 insertions, 0 deletions