Re: [RFC: 2.6 patch] fs/block_dev.c: remove #if 0'ed code

From: Jens Axboe
Date: Mon Feb 18 2008 - 07:51:26 EST


On Sun, Feb 17 2008, Adrian Bunk wrote:
> Commit b2e895dbd80c420bfc0937c3729b4afe073b3848 #if 0'ed this code stating:
>
> <-- snip -->
>
> [PATCH] revert blockdev direct io back to 2.6.19 version
>
> Andrew Vasquez is reporting as-iosched oopses and a 65% throughput
> slowdown due to the recent special-casing of direct-io against
> blockdevs. We don't know why either of these things are occurring.
>
> The patch minimally reverts us back to the 2.6.19 code for a 2.6.20
> release.
>
> <-- snip -->
>
> It has since been dead code, and unless someone wants to revive it now
> it's time to remove it.
>
> This patch also makes bio_release_pages() static again and removes the
> ki_bio_count member from struct kiocb, reverting changes that had been
> done for this dead code.

I agree with this, if it's been sitting like that for a long time, might
as well just kill it. I've merged your patch, if no one complains it'll
go in during 2.6.25.

--
Jens Axboe

--
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/