valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0008-Revert-remove-references-of-readahead.patch

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
Pablo Greco 48fc63
index e8a4085a3a..0360f7c6bd 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
Pablo Greco 48fc63
index 5f5783a684..287d05c9b4 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
Pablo Greco 48fc63
index 255a4f2d07..90b2c4b30a 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: