]> 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)
commitb4fd09b9b0f0e4a4a71816358b92cb3d03aba93d
tree05ae88f85db260595adbaf4bd782636fbef3940d
parent2ba1cef98d5947647ccb65965c4c4bc761346aec
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