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

From: Andi Kleen
Date: Sat Jul 12 2008 - 08:31:10 EST


Mikulas Patocka <mpatocka@xxxxxxxxxx> writes:

> I'm getting crashes with InitIO A100u2w controller on Sparc64 (I had
> to fix the endianity issues in the driver, but that's unrelated).

x86-64 (and powerpc) solved this a long time ago by only doing
opportunistic merging: as in don't announce to the block layer
that you can merge, but try to merge anyways. This way SG lists
are not necessarily filled completely, but it's still better
than overflowing them in some rare cases.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/