dcavalca / rpms / systemd

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