[PATCH] xfstests: kill lib/random.c
Dave Chinner
david at fromorbit.com
Sun Jan 12 19:56:58 CST 2014
On Tue, Jan 07, 2014 at 09:20:12PM +0000, Chris Mason wrote:
> On Tue, 2014-01-07 at 16:17 -0500, Josef Bacik wrote:
> > On 01/07/2014 03:40 PM, Ben Myers wrote:
> > > On Tue, Jan 07, 2014 at 02:10:15PM -0600, Eric Sandeen wrote:
> > >> On 1/7/14, 2:01 PM, Ben Myers wrote:
> > >>> Hey Gents,
> > >>>
> > >>> On Mon, Jan 06, 2014 at 03:46:58PM -0600, Eric Sandeen wrote:
> > >>>> On 1/6/14, 3:42 PM, Josef Bacik wrote:
> > >>>>> On 01/06/2014 04:32 PM, Eric Sandeen wrote:
> > >>>>>> On 1/6/14, 1:58 PM, Josef Bacik wrote:
> > >>>>>>> I was trying to reproduce something with fsx and I noticed that no matter what
> > >>>>>>> seed I set I was getting the same file. Come to find out we are overloading
> > >>>>>>> random() with our own custom horribleness for some unknown reason. So nuke the
> > >>>>>>> damn thing from orbit and rely on glibc's random(). With this fix the -S option
> > >>>>>>> actually does something with fsx. Thanks,
....
> For now we can just use srandom?
Seems to me like it will solve the problem. Josef?
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list