From fdc076c9865b3ab41a994be6860ef67e047974bc Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 29 Jul 2015 18:14:00 -0700 Subject: [PATCH] ceph: Enable accelio only on 10+ --- pkgs/tools/filesystems/ceph/generic.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/filesystems/ceph/generic.nix b/pkgs/tools/filesystems/ceph/generic.nix index 61659ef26fd4..51e304bec216 100644 --- a/pkgs/tools/filesystems/ceph/generic.nix +++ b/pkgs/tools/filesystems/ceph/generic.nix @@ -75,10 +75,9 @@ let hasOsd = hasServer; hasRadosgw = optFcgi != null && optExpat != null && optCurl != null && optLibedit != null; - /*hasXio = (stdenv.isLinux || stdenv.isFreeBSD) && - versionAtLeast version "9.0.0" && - optAccelio != null && optLibibverbs != null && optLibrdmacm != null;*/ - hasXio = false; # Broken with xio 1.4 + hasXio = (stdenv.isLinux || stdenv.isFreeBSD) && + versionAtLeast version "10.0.0" && + optAccelio != null && optLibibverbs != null && optLibrdmacm != null; hasRocksdb = versionAtLeast version "9.0.0" && optRocksdb != null;