[dm-devel] [PATCH] dm-bufio: delete outdated comment

Mikulas Patocka mpatocka at redhat.com
Sun Mar 4 06:53:00 UTC 2018


This comment was true when dm-bufio was written, but since the kernel 4.3,
bios can have arbitrary size and the driver splits them.

Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>

---
 drivers/md/dm-bufio.c |    4 ----
 1 file changed, 4 deletions(-)

Index: linux-2.6/drivers/md/dm-bufio.c
===================================================================
--- linux-2.6.orig/drivers/md/dm-bufio.c	2018-02-14 20:26:06.458255000 +0100
+++ linux-2.6/drivers/md/dm-bufio.c	2018-03-04 06:34:28.758289000 +0100
@@ -544,10 +544,6 @@ static void __relink_lru(struct dm_buffe
  *
  *	the memory must be direct-mapped, not vmalloced;
  *
- *	the I/O driver can reject requests spuriously if it thinks that
- *	the requests are too big for the device or if they cross a
- *	controller-defined memory boundary.
- *
  * If the buffer is small enough (up to DM_BUFIO_INLINE_VECS pages) and
  * it is not vmalloced, try using the bio interface.
  *




More information about the dm-devel mailing list