Re: [PATCH] the dm-loop target

Christoph Hellwig
2025-03-03T13:59:08Z

On Mon, Mar 03, 2025 at 11:24:27AM +0100, Mikulas Patocka wrote:
> This is the dm-loop target - a replacement for the regular loop driver
> with better performance. The dm-loop target builds a map of the file in
> the constructor and it just remaps bios according to this map.

Using ->bmap is broken and a no-go for new code. If you have any real
performance issues with the loop driver document and report them so that
they can be fixed instead of working around them by duplicating the code
(and in this case making the new code completely broken).