teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone
Blob Blame History Raw
From 1b83fbe90a241c6d5c4ab0dc8a3f97215fb277bf Mon Sep 17 00:00:00 2001
From: Lukas Nykryn <lnykryn@redhat.com>
Date: Wed, 19 Nov 2014 12:14:00 +0100
Subject: [PATCH] Revert "remove references of readahead"

This reverts commit 3b71c18d3e3906f8606c66bea98b327684394e61.
---
 .gitignore | 1 +
 README     | 1 +
 TODO       | 7 +++++++
 3 files changed, 9 insertions(+)

diff --git a/.gitignore b/.gitignore
index e8a4085a3a..0360f7c6bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -107,6 +107,7 @@
 /systemd-quotacheck
 /systemd-random-seed
 /systemd-rc-local-generator
+/systemd-readahead
 /systemd-remount-api-vfs
 /systemd-remount-fs
 /systemd-reply-password
diff --git a/README b/README
index 5f5783a684..287d05c9b4 100644
--- a/README
+++ b/README
@@ -30,6 +30,7 @@ AUTHOR:
 
 LICENSE:
         LGPLv2.1+ for all code
+        - except sd-readahead.[ch] which is MIT
         - except src/shared/MurmurHash2.c which is Public Domain
         - except src/shared/siphash24.c which is CC0 Public Domain
         - except src/journal/lookup3.c which is Public Domain
diff --git a/TODO b/TODO
index 255a4f2d07..90b2c4b30a 100644
--- a/TODO
+++ b/TODO
@@ -786,6 +786,13 @@ Features:
 
 * and a dbus call to generate target from current state
 
+* readahead:
+  - drop /.readahead on bigger upgrades with yum
+  - move readahead files into /var (look for them with .path units?)
+  - readahead: use BTRFS_IOC_DEFRAG_RANGE instead of BTRFS_IOC_DEFRAG ioctl, with START_IO
+  - readahead: when bumping /sys readahead variable save mtime and compare later to detect changes
+  - readahead: make use of EXT4_IOC_MOVE_EXT, as used by http://e4rat.sourceforge.net/
+
 * GC unreferenced jobs (such as .device jobs)
 
 * write blog stories about: