On Thu, Apr 10, 2025 at 11:09:04AM +0800, LongPing Wei wrote: > Fix the compile error when dm-bufio is built as a module. > > 1. dm-bufio module use blk_flush_plug(); > 2. blk_flush_plug is an inline function and it calls __blk_flush_plug.
Then don't call blk_flush_plug from dm-bufio, as drivers should not micro-manage plug flushing. Note that at least in current upstream and linux-next dm-bufio does not actually call blk_flush_plug, so I'm not sure where your report comes from.