@@ -102,9 +102,10 @@ DEFINE_string(etcd_endpoints,
102102              " ETCD server endpoints for communication (optional for storage backends)"  );
103103
104104//  POSIX options - only used when backend is POSIX
105- DEFINE_string  (posix_api_type,
106-                XFERBENCH_POSIX_API_AIO,
107-                " API type for POSIX operations [AIO, URING] (only used with POSIX backend)"  );
105+ DEFINE_string (
106+     posix_api_type,
107+     XFERBENCH_POSIX_API_AIO,
108+     " API type for POSIX operations [AIO, URING, LINUXAIO] (only used with POSIX backend)"  );
108109
109110//  DOCA GPUNetIO options - only used when backend is DOCA GPUNetIO
110111DEFINE_string (gpunetio_device_list, " 0"  , " Comma-separated GPU CUDA device id to use for \
@@ -211,9 +212,10 @@ xferBenchConfig::loadFromFlags() {
211212
212213            //  Validate POSIX API type
213214            if  (posix_api_type != XFERBENCH_POSIX_API_AIO &&
214-                 posix_api_type != XFERBENCH_POSIX_API_URING) {
215+                 posix_api_type != XFERBENCH_POSIX_API_URING &&
216+                 posix_api_type != XFERBENCH_POSIX_API_LINUXAIO) {
215217                std::cerr << " Invalid POSIX API type: "   << posix_api_type
216-                           << " . Must be one of [AIO, URING]"   << std::endl;
218+                           << " . Must be one of [AIO, URING, LINUXAIO ]"   << std::endl;
217219                return  -1 ;
218220            }
219221        }
@@ -412,7 +414,7 @@ xferBenchConfig::printConfig() {
412414
413415        //  Print POSIX options if backend is POSIX
414416        if  (backend == XFERBENCH_BACKEND_POSIX) {
415-             printOption   (" POSIX API type (--posix_api_type=[AIO,URING])"  , posix_api_type);
417+             printOption (" POSIX API type (--posix_api_type=[AIO,URING,LINUXAIO ])"  , posix_api_type);
416418        }
417419
418420        //  Print OBJ options if backend is OBJ
0 commit comments