Re: [BLOCK] phys_contig implies hw_contig

From: David S. Miller
Date: Mon Nov 03 2003 - 17:47:43 EST


On Mon, 3 Nov 2003 09:10:26 +1100
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> On Sun, Nov 02, 2003 at 03:47:34PM +1100, herbert wrote:
> > On Sat, Nov 01, 2003 at 08:45:47PM -0800, David S. Miller wrote:
> >
> > > Your analysis assumes that phys contig implies hw contig, I
> > > believe it does not. There may be limitations in the VMERGE
> > > mechanism a platform implements that causes this situation to
> > > arise.
> >
> > OK, if that's the case, then we better change blk_recount_segments
> > as it assumes this.
>
> Bug David that can't be right. If two segments are physically contiguous,
> then they don't need to be remapped to be virtually continguous, right?

Yes it sounds silly.

To be honest I'm more concerned that things are consistent.
Therefore I recommend that your original patch is applied.
-
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/