]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: add extra comments on extent_map members
authorQu Wenruo <wqu@suse.com>
Tue, 2 Apr 2024 05:30:21 +0000 (16:00 +1030)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 May 2024 19:31:08 +0000 (21:31 +0200)
commit319d91ee7265505d96f085c6bf5b781667b71090
treec2b3ae95b0f294131527124b90f5a5f6e6f26e3c
parent30704a0d562bbed00b3ca4bb14108d75c3ee9108
btrfs: add extra comments on extent_map members

The extent_map structure is very critical to btrfs, as it is involved
for both read and write paths.

Unfortunately the structure is not properly explained, making it pretty
hard to understand nor to do further improvement.

This patch adds extra comments explaining the major members based on my
code reading.  Hopefully we can find more members to cleanup in the
future.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_map.h