lkml.org 
[lkml]   [2009]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: todays git regression (2.6.32-04008.g3ff6a46): lot of device mapper warnings
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


\
 
 \ /
  Last update: 2009-12-12 02:55    [W:0.157 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site