[Linux-cluster] MAX_GNBD limit

Sylvain Coutant sco at adviseo.fr
Mon Nov 28 14:16:46 UTC 2005


Information for whom it may be of interest :

> #define MAX_GNBD 128

I changed the MAX_GNBD to 16384 and "(req.minor >= 128)" to "(req.minor >= MAX_GNBD)", recompiled the kernel (2.6.12-amd64) and gnbd tools, and ran a test with 2500 gnbd servers (serving files of different sizes for a total of 100 GB).

The test was : running 2500 badblocks r/w checks over gnbd devices. It ran during more than 60 hours without any noticeable problem.


Regards,

--
Sylvain COUTANT

ADVISEO
http://www.adviseo.fr/
http://www.open-sp.fr/






More information about the Linux-cluster mailing list