Files
linux/drivers/md
Damien Le Moal 548d88f74e dm: Simplify dm_io_complete()
The local variable first_requeue is not needed since it is always equal
to dm_io_flagged(io, DM_IO_WAS_SPLIT). Call __dm_io_complete() passing
this value directly and remove first_requeue.

Also declare dm_io_complete() as inline to make sure it is inlined in
its single call site, thus avoiding the cost of a function call.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2025-06-27 12:59:22 +02:00
..
2024-04-01 11:53:37 -06:00
2024-02-20 14:22:51 -05:00
2025-06-03 19:06:32 +02:00
2024-11-20 11:38:04 +01:00
2025-06-27 12:59:22 +02:00
2025-01-13 07:36:29 -08:00
2025-01-13 07:36:29 -08:00