]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: consolidate incore inode radix tree posteof/cowblocks tags
authorDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:48:43 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:49 +0000 (09:18 -0800)
commitce2d3bbe06473fa76eb9dad21529f9cc48408000
tree5e816f9e55dff69f1c0e0b142366e1e5a44faa0b
parent865ac8e253c97423c41e22ce615615eb006fc52e
xfs: consolidate incore inode radix tree posteof/cowblocks tags

The clearing of posteof blocks and cowblocks serve the same purpose:
removing speculative block preallocations from inactive files.  We don't
need to burn two radix tree tags on this, so combine them into one.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_icache.c
fs/xfs/xfs_icache.h
fs/xfs/xfs_trace.h