dm-io: Warn on creating multiple atomic write bios for a region
authorJohn Garry <john.g.garry@oracle.com>
Thu, 16 Jan 2025 17:03:00 +0000 (17:03 +0000)
committerMikulas Patocka <mpatocka@redhat.com>
Fri, 17 Jan 2025 21:24:09 +0000 (22:24 +0100)
commitc6a657d9683def5588aee6ed920cef61415a6a52
tree5f706d64771cdec03fdf6ae17a30f58e4b679d9f
parent30b88ed06f8018b33e034c86d30d67b93f6aca12
dm-io: Warn on creating multiple atomic write bios for a region

A region should just be for a single atomic write, so warn when we are
creating many. This should not occur if request queue limits are properly
configured.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-io.c