]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: migrate the delalloc space stuff to it's own home
authorJosef Bacik <josef@toxicpanda.com>
Wed, 19 Jun 2019 19:12:00 +0000 (15:12 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 4 Jul 2019 15:26:17 +0000 (17:26 +0200)
commit3526d46890f34f752bb3f81322702da6aa5ef359
treed32f16aaf9554891750046d2276511cf334b61f8
parent470244ffe7eaa194ae46e41cf22338bd33546d5d
btrfs: migrate the delalloc space stuff to it's own home

We have code for data and metadata reservations for delalloc.  There's
quite a bit of code here, and it's used in a lot of places so I've
separated it out to it's own file.  inode.c and file.c are already
pretty large, and this code is complicated enough to live in its own
space.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
12 files changed:
fs/btrfs/Makefile
fs/btrfs/ctree.h
fs/btrfs/delalloc-space.c [new file with mode: 0644]
fs/btrfs/delalloc-space.h [new file with mode: 0644]
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode-map.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/ordered-data.c
fs/btrfs/relocation.c