]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: rename PagePrivate2 to PageOrdered inside btrfs
authorQu Wenruo <wqu@suse.com>
Wed, 7 Apr 2021 11:22:13 +0000 (19:22 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jun 2021 13:19:09 +0000 (15:19 +0200)
commit0547e321612e88f0732a77380929d98ee5c7dcf8
tree6c6ade79a8388e964af06525fce0708aa334dd01
parent54474668bdf92ad8a06a83c0c4b8d01b9aa4d9dd
btrfs: rename PagePrivate2 to PageOrdered inside btrfs

Inside btrfs we use Private2 page status to indicate we have an ordered
extent with pending IO for the sector.

But the page status name, Private2, tells us nothing about the bit
itself, so this patch will rename it to Ordered.
And with extra comment about the bit added, so reader who is still
uncertain about the page Ordered status, will find the comment pretty
easily.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c
fs/btrfs/ordered-data.c