1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

Ports: Add fio port

fio allows you to test various different IO subsystems and patterns.
It can help us test and benchmark the I/O subsystems of Serenity.

This port gets the fio bootstrapped and working, using the included
.fio file, I have been able to test the file I/O performance already.
This commit is contained in:
Brian Gianforcaro 2021-12-22 00:16:14 -08:00 committed by Brian Gianforcaro
parent c724955d54
commit 4490668af2
8 changed files with 246 additions and 0 deletions

View file

@ -0,0 +1,27 @@
From d59316cb9bc616b4b44d432d1ad363afa69f67eb Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Tue, 21 Dec 2021 23:41:47 -0800
Subject: [PATCH 1/4] Port: fio, remove non existent header sys/ipc.h
Serenity doesn't currently have this header, and
it doesn't appear to be needed on our platform so
remove it for the port.
---
init.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/init.c b/init.c
index 5f069d9..81c4771 100644
--- a/init.c
+++ b/init.c
@@ -7,7 +7,6 @@
#include <ctype.h>
#include <string.h>
#include <errno.h>
-#include <sys/ipc.h>
#include <sys/types.h>
#include <dlfcn.h>
#ifdef CONFIG_VALGRIND_DEV
--
2.32.0