Re: One more bio for for floppy users in 2.5.33..

Andrew Morton (akpm@digeo.com)
Tue, 10 Sep 2002 01:01:36 -0700


Rogier Wolff wrote:
>
> ...
>
> Ehmm. I'm in the data-recovery business, and we seem to have lost
> the ability to recover the other 3k of a 4k page if one of the blocks
> is bad.
>
> And we're annoyed about the read-ahead trying to read blocks past
> a bad block without returning to the application.
>

You can use the raw driver, or O_DIRECT against /dev/hdXX. That
will give 512-byte granularity and no readahead.
-
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/