diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2025-11-11 11:36:57 -0800 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-25 10:22:10 +0100 |
| commit | fed9c62d28b726dad70cc03fd28ffd700b59c741 (patch) | |
| tree | 67dfbecc87f605921d309b668640534c207095a9 /fs/backing-file.c | |
| parent | a298febc47e0ce116b9fc8151337ba8b2137e42d (diff) | |
iomap: use find_next_bit() for dirty bitmap scanning
Use find_next_bit()/find_next_zero_bit() for iomap dirty bitmap
scanning. This uses __ffs() internally and is more efficient for
finding the next dirty or clean bit than iterating through the bitmap
range testing every bit.
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://patch.msgid.link/20251111193658.3495942-9-joannelkoong@gmail.com
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/backing-file.c')
0 files changed, 0 insertions, 0 deletions
