Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933252AbZLLBwC (ORCPT ); Fri, 11 Dec 2009 20:52:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932844AbZLLBv7 (ORCPT ); Fri, 11 Dec 2009 20:51:59 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:52849 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932786AbZLLBv7 (ORCPT ); Fri, 11 Dec 2009 20:51:59 -0500 Date: Fri, 11 Dec 2009 17:51:56 -0800 (PST) From: Christian Kujau To: Jens Axboe cc: Heinz Diehl , LKML , martin.petersen@oracle.com Subject: Re: todays git regression (2.6.32-04008.g3ff6a46): lot of device mapper warnings In-Reply-To: <20091209220749.GD8742@kernel.dk> Message-ID: References: <200912091049.12604.borntraeger@de.ibm.com> <20091209212516.GA6206@fancy-poultry.org> <20091209214501.GC8742@kernel.dk> <20091209220749.GD8742@kernel.dk> User-Agent: Alpine 2.01 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Provags-ID: V01U2FsdGVkX1/5n+AEGFxUBV3SXFU5W233mtvQ3OnAuqjA6fQ lDP8eDJU1V7P+HKsef8KGzZBLMSuvAN2fSK1xqZsloJZPdH8UO /EtpkcKC5zvIkTrY9yZWA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 39 On Wed, 9 Dec 2009 at 23:07, Jens Axboe wrote: > Does this work? Although not using LVM, these messages were popping up here too. Your patch made these go away with no ill effects so far. Dmesg and .config: http://nerdbynature.de/bits/2.6.33-git/dm/ Thanks, Christian. > > diff --git a/block/blk-settings.c b/block/blk-settings.c > index dd1f1e0..0116d29 100644 > --- a/block/blk-settings.c > +++ b/block/blk-settings.c > @@ -554,11 +554,13 @@ int blk_stack_limits(struct queue_limits *t, struct queue_limits *b, > ret = -1; > } > > +#if 0 > if (offset && > (offset & (b->discard_granularity - 1)) != b->discard_alignment) { > t->discard_misaligned = 1; > ret = -1; > } > +#endif > > /* If top has no alignment offset, inherit from bottom */ > if (!t->alignment_offset) -- BOFH excuse #254: Interference from lunar radiation -- 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/