RE: BUG REPORT - IDR wraps around at 30-bits - works very bad with NFSD/SCTP

From: Shyam Kaushik
Date: Tue Aug 13 2013 - 03:51:17 EST


It was just more time from me on this:-) But anyways since you wanted I
tried.

I tested 3.10.6-031006-generic & it works perfect in there!

[ 832.513688] Processing for min_stateid[0]
[ 832.513701] Allocated new_stid[0]
[ 832.513703] Dumping entries in IDR
[ 832.513705] IDR Actual ID[0] == Expected Value[0]
[ 832.513710]
[ 832.513710] Processing for min_stateid[1073741823]
[ 832.513713] Allocated new_stid[1073741823]
[ 832.513714] Dumping entries in IDR
[ 832.513729] IDR Actual ID[1073741823] == Expected Value[1073741823]
[ 832.513731]
[ 832.513731] Processing for min_stateid[1073741824]
[ 832.513736] Allocated new_stid[1073741824]
[ 832.513737] Dumping entries in IDR
[ 832.513739] IDR Actual ID[1073741824] == Expected Value[1073741824]
[ 832.513754]
[ 832.513754] Processing for min_stateid[2147483647]
[ 832.513763] Allocated new_stid[2147483647]
[ 832.513765] Dumping entries in IDR
[ 832.513779] IDR Actual ID[2147483647] == Expected Value[2147483647]

Any chances of backporting some parts of fix to <3.9 kernels?

Thanks.

--Shyam

-----Original Message-----
From: Greg KH [mailto:gregkh@xxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, August 13, 2013 12:56 PM
To: Shyam Kaushik
Cc: Tejun Heo; Andrew Morton; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: BUG REPORT - IDR wraps around at 30-bits - works very bad
with NFSD/SCTP

On Tue, Aug 13, 2013 at 12:51:14PM +0530, Shyam Kaushik wrote:
> Hi Greg,
>
> Unfortunately we don't have a 3.9/3.10 environment here. So if IDR
> developers can try the example code, it should show if the bug is still
> present in there. Thanks.

There shouldn't be anything in 3.10 preventing you from building and
testing it out, is there? Or do you have something that restricts you
to specific kernel versions?

thanks,

greg k-h

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 3211/6571 - Release Date: 08/12/13
--
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/