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