]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add a comment describing delalloc space reservation
authorJosef Bacik <josef@toxicpanda.com>
Tue, 4 Feb 2020 18:18:55 +0000 (13:18 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:27 +0000 (17:01 +0100)
commit261fc4f90d7bab4f28c01101b54c31d9ab3d9718
tree05ae88f85db260595adbaf4bd782636fbef3940d
parentbe9de4a87df429210270c735051d8e31b10b13c1
btrfs: add a comment describing delalloc space reservation

delalloc space reservation is tricky because it encompasses both data
and metadata.  Make it clear what each side does, the general flow of
how space is moved throughout the lifetime of a write, and what goes
into the calculations.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delalloc-space.c