public static function init()
    {
        if (!Daemon::$config->eioenabled->value) {
            self::$supported = false;
            return;
        }
        if (!self::$supported = Daemon::loadModuleIfAbsent('eio', self::$eioVer)) {
            Daemon::log('FS: missing pecl-eio >= ' . self::$eioVer . '. Filesystem I/O performance compromised. Consider installing pecl-eio. `pecl install http://pecl.php.net/get/eio`');
            return;
        }
        self::$fdCache = new CappedStorageHits(self::$fdCacheSize);
        eio_init();
    }
public static function init()
    {
        if (!Daemon::$config->eioenabled->value) {
            self::$supported = false;
            return;
        }
        if (!self::$supported = Daemon::loadModuleIfAbsent('eio', self::$eioVer)) {
            Daemon::log('FS: missing pecl-eio >= ' . self::$eioVer . '. Filesystem I/O performance compromised. Consider installing pecl-eio. `pecl install http://pecl.php.net/get/eio`');
            return;
        }
        self::$fdCache = new CappedStorageHits(self::$fdCacheSize);
        eio_init();
    }
public static function init ( ) { if ( ! Daemon :: $ config -> eioenabled -> value ) { self :: $ supported = false ; return ; } if ( ! self :: $ supported = Daemon :: loadModuleIfAbsent ( 'eio' , self :: $ eioVer ) ) { Daemon :: log ( 'FS: missing pecl-eio >= ' . self :: $ eioVer . '. Filesystem I/O performance compromised. Consider installing pecl-eio. `pecl install http://pecl.php.net/get/eio`' ) ; return ; } self :: $ fdCache = new CappedStorageHits ( self :: $ fdCacheSize ) ; eio_init ( ) ; }
Initialize FS driver
@return void
Initialize FS driver