summaryrefslogtreecommitdiff
path: root/mm/khugepaged.c
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2021-02-04 13:22:15 +0300
committerDavid Sterba <dsterba@suse.com>2021-02-09 04:46:07 +0300
commit32430c614844169a5e5554dcbb307735ddd1f780 (patch)
tree3bfc0fc9a2c46c2b0dac709dde2e8409684d8f34 /mm/khugepaged.c
parent7db1c5d14dcd521bef1780b79dcc68b3968447a9 (diff)
downloadlinux-32430c614844169a5e5554dcbb307735ddd1f780.tar.xz
btrfs: zoned: enable relocation on a zoned filesystem
Currently fallocate() is disabled on a zoned filesystem. Since current relocation process relies on preallocation to move file data extents, it must be handled differently. On a zoned filesystem, we just truncate the inode to the size that we wanted to pre-allocate. Then, we flush dirty pages on the file before finishing the relocation process. run_delalloc_zoned() will handle all the allocations and submit IOs to the underlying layers. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'mm/khugepaged.c')
0 files changed, 0 insertions, 0 deletions