Hello, Please take a look at this patch. I have tested it multiple times and it seems to work. Is it the right way to gather randomness from aoe ?
I need it because our whole server is running on aoe, and it is short on entropy. diff -ru aoe6-59/linux/drivers/block/aoe/aoeblk.c aoe6-59/linux/drivers/block/aoe/aoeblk.c --- aoe6-59/linux/drivers/block/aoe/aoeblk.c 2008-02-01 23:01:19.000000000 +0100 +++ aoe6-59_entro/linux/drivers/block/aoe/aoeblk.c 2008-04-10 13:24:01.670391368 +0200 @@ -13,6 +13,8 @@ #include "aoe.h" #include "disk_attr.h" +#define AOE_ADD_RANDOMNESS + static struct kmem_cache *buf_pool_cache; /* GPFS needs a larger value than the default. */ @@ -247,6 +249,11 @@ } return; } + +#ifdef AOE_ADD_RANDOMNESS + add_disk_randomness( d->gd ); +#endif + aoecmd_work(d); } -- Michal Grzedzicki ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Aoetools-discuss mailing list Aoetools-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aoetools-discuss