Re: 2.6.9-mm1: LVM stopped working (dio-handle-eof.patch)

From: Alasdair G Kergon
Date: Wed Oct 27 2004 - 10:42:15 EST


On Wed, Oct 27, 2004 at 11:03:35AM -0400, Joseph Fannin wrote:
> I made this change to 2.6.9-mm1 and it didn't. vgchange still
> seems to be trying to read 2048 bytes, rather than 4096 (I may not
> know what I'm talking about, or even what I'm looking at, though).

LVM2 uses the (soft) device block size for both alignment and size.
If no blocksize is defined, it uses pagesize.

Even when it only needs to change a few consecutive bytes, it still
has to read a complete aligned block, make the change, then write it
back.

Alasdair
--
agk@xxxxxxxxxx
-
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/