fs: Provide function to unmap metadata for a range of blocks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyIn review
- v14 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Improved comment describing what the function does
* Renamed function
* Added wrapper for single block users and use it
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | fs: Provide function to unmap metadata for a range of blocksfs/ include/ | +78 | 0 replies | |
| 2/6 | direct-io: Use clean_bdev_aliases() instead of handmade iterationfs/ | +7 | 0 replies | |
| 3/6 | ext4: Use clean_bdev_aliases() instead of iterationfs/ fs/ | +6 | 0 replies | |
| 4/6 | ext2: Use clean_bdev_aliases() instead of iterationfs/ | +3 | 0 replies | |
| 5/6 | fs: Add helper to clean bdev aliases under a bh and use itfs/ fs/ fs/ +7 more | +16 | 0 replies | |
| 6/6 | fs: Remove unmap_underlying_metadatafs/ include/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/6 v2] fs: Provide function to unmap metadata for a range of blocks
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