Re: [SUGGESTION]: drop virtual merge accounting in I/O requests

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mikulas Patocka
Date: Tuesday, July 15, 2008 - 3:32 pm

On Mon, 14 Jul 2008, David Miller wrote:


So add signed-off line and forward it to Linus.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
---
 include/asm-sparc64/io.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Index: linux-2.6.26-fast/include/asm-sparc64/io.h
===================================================================
--- linux-2.6.26-fast.orig/include/asm-sparc64/io.h	2008-07-15 23:29:39.000000000 +0200
+++ linux-2.6.26-fast/include/asm-sparc64/io.h	2008-07-15 23:33:41.000000000 +0200
@@ -16,7 +16,10 @@
 /* BIO layer definitions. */
 extern unsigned long kern_base, kern_size;
 #define page_to_phys(page)	(page_to_pfn(page) << PAGE_SHIFT)
-#define BIO_VMERGE_BOUNDARY	8192
+
+/* Don't declare that we are virtual-merge capable because Sparc64 IOMMU code
+   doesn't guarantee that the merge is always possible */
+#define BIO_VMERGE_BOUNDARY	0
 
 static inline u8 _inb(unsigned long addr)
 {
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[SUGGESTION]: drop virtual merge accounting in I/O requests, Mikulas Patocka, (Thu Jul 10, 2:56 pm)
Re: [SUGGESTION]: drop virtual merge accounting in I/O req ..., Mikulas Patocka, (Tue Jul 15, 3:32 pm)