Whamcloud - gitweb
b=9794
authorgreen <green>
Sat, 10 Dec 2005 10:19:26 +0000 (10:19 +0000)
committergreen <green>
Sat, 10 Dec 2005 10:19:26 +0000 (10:19 +0000)
commitde5eb5614565319e3a19fd6063fa2f695c154cbc
treed960fa342602c5f5c47876222f37fb890ce7a2ff
parentf7db34802285bd4575c9d93d849cdb909968fda4
b=9794
r=adilger

This patch uses a fast, high-quality PRNG internal to Lustre instead of the
glibc PRNG to avoid perturbing the glibc PRNG sequence for liblustre clients.
It also uses this PRNG for some uses in the lustre core code.

Introduces ll_rand() and ll_srand() with usage similar to rand(3) and srand(3)
12 files changed:
lustre/ChangeLog
lustre/include/linux/lustre_lib.h
lustre/liblustre/lutil.c
lustre/llite/super.c
lustre/llite/super25.c
lustre/lov/lov_qos.c
lustre/mds/mds_fs.c
lustre/obdclass/Makefile.in
lustre/obdclass/autoMakefile.am
lustre/obdclass/llog_test.c
lustre/obdclass/prng.c [new file with mode: 0644]
lustre/obdecho/echo_client.c