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

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to