Re: Disk copy, last sector problem

From: viro
Date: Tue Jun 29 2004 - 17:22:31 EST


On Tue, Jun 29, 2004 at 06:16:25PM -0400, Bill Davidsen wrote:
> >So the copy will still miss the last sector ?
> >But the blockdev command is a working workaround ?
> >Are there any downsides of setting the block size to
> >512 bytes right at boot for all hard drives ?
> >What about 8kb sectors, do they work ?
>
> Given that the change from 1k to 4k, I suspect that going to 512 will
> suck rocks off the bottom of the ocean in terms of performance. I don't
> think that 8k works in 2.4, it didn't work in my 2.6, but the error was
> "device busy" so it may not be related to anything but having no spare
> drive.

First of all, it *will* work without any "blockdev command" crap.
And no, performace is not a problem - we get requests immediately
merged and unlike regular files we don't spend time figuring out
where the hell next block is.
-
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/