ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
923a60
From 1b83fbe90a241c6d5c4ab0dc8a3f97215fb277bf Mon Sep 17 00:00:00 2001
923a60
From: Lukas Nykryn <lnykryn@redhat.com>
923a60
Date: Wed, 19 Nov 2014 12:14:00 +0100
923a60
Subject: [PATCH] Revert "remove references of readahead"
923a60
923a60
This reverts commit 3b71c18d3e3906f8606c66bea98b327684394e61.
923a60
---
923a60
 .gitignore | 1 +
923a60
 README     | 1 +
923a60
 TODO       | 7 +++++++
923a60
 3 files changed, 9 insertions(+)
923a60
923a60
diff --git a/.gitignore b/.gitignore
923a60
index e8a4085a3a..0360f7c6bd 100644
923a60
--- a/.gitignore
923a60
+++ b/.gitignore
923a60
@@ -107,6 +107,7 @@
923a60
 /systemd-quotacheck
923a60
 /systemd-random-seed
923a60
 /systemd-rc-local-generator
923a60
+/systemd-readahead
923a60
 /systemd-remount-api-vfs
923a60
 /systemd-remount-fs
923a60
 /systemd-reply-password
923a60
diff --git a/README b/README
923a60
index 5f5783a684..287d05c9b4 100644
923a60
--- a/README
923a60
+++ b/README
923a60
@@ -30,6 +30,7 @@ AUTHOR:
923a60
 
923a60
 LICENSE:
923a60
         LGPLv2.1+ for all code
923a60
+        - except sd-readahead.[ch] which is MIT
923a60
         - except src/shared/MurmurHash2.c which is Public Domain
923a60
         - except src/shared/siphash24.c which is CC0 Public Domain
923a60
         - except src/journal/lookup3.c which is Public Domain
923a60
diff --git a/TODO b/TODO
923a60
index 255a4f2d07..90b2c4b30a 100644
923a60
--- a/TODO
923a60
+++ b/TODO
923a60
@@ -786,6 +786,13 @@ Features:
923a60
 
923a60
 * and a dbus call to generate target from current state
923a60
 
923a60
+* readahead:
923a60
+  - drop /.readahead on bigger upgrades with yum
923a60
+  - move readahead files into /var (look for them with .path units?)
923a60
+  - readahead: use BTRFS_IOC_DEFRAG_RANGE instead of BTRFS_IOC_DEFRAG ioctl, with START_IO
923a60
+  - readahead: when bumping /sys readahead variable save mtime and compare later to detect changes
923a60
+  - readahead: make use of EXT4_IOC_MOVE_EXT, as used by http://e4rat.sourceforge.net/
923a60
+
923a60
 * GC unreferenced jobs (such as .device jobs)
923a60
 
923a60
 * write blog stories about: