Right. So we'll add one
bio->bi_end_io(bio, nr_sectors)
to the partial bio completion case in "finish_that_request_first()".
That's one line.
The other line is
if (bio->bi_size) return;
which has to be added to the end-request thing.
(yeah, yeah, there are several end-request functions, and we need to fix
up the function prototypes too etc, but the point is that the actual
_work_ is just two real lines of new code).
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/