[Ocfs2-devel] [PATCH 0/6 v2] fs: Provide function to unmap metadata for a range of blocks

Jan Kara jack at suse.cz
Fri Nov 4 10:08:10 PDT 2016


Hello,

I've noticed that in several places we need to unmap metadata in buffer cache
for a range of blocks and we do it by iterating over all blocks in given range.
Let's provide a helper function for that and implement it in a way more
efficient for larger ranges of blocks. Also cleanup other uses of
unmap_unerlying_metadata().  The patches passed xfstests for ext2 and ext4.

Jens, can you merge these patches if they look fine to you?

Changes since v1:
* Improved comment describing what the function does
* Renamed function
* Added wrapper for single block users and use it

								Honza



More information about the Ocfs2-devel mailing list