summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-02-25 10:44:42 -0500
committerWill Woods <wwoods@redhat.com>2009-02-25 10:44:42 -0500
commit9c48df62a30ddeed8c3f13f99b9661dc85842cf8 (patch)
tree86d57d9824a6da86df08e1419f74739f46d22995
parent26587d63bd270b0f58f44f5f5d006f16718710e1 (diff)
downloaddebuginfofs-9c48df62a30ddeed8c3f13f99b9661dc85842cf8.zip
debuginfofs-9c48df62a30ddeed8c3f13f99b9661dc85842cf8.tar.gz
debuginfofs-9c48df62a30ddeed8c3f13f99b9661dc85842cf8.tar.xz
wdfs caching isn't real helpful; mount with -o intr; update TODO
-rw-r--r--TODO9
-rwxr-xr-xdebuginfofs.init5
2 files changed, 7 insertions, 7 deletions
diff --git a/TODO b/TODO
index 6d478a8..632118d 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
-For 1.0:
+== For 1.0 ==
- debuginfofs-mirror:
- Fix half-assed logging
- Fix half-assed i18n
@@ -11,7 +11,8 @@ For 1.0:
BUILDID_URL is unreachable
- Workaround to let old (RHEL5) yum handle repos with new hashes (rawhide)?
-Further work:
+== Further work ==
+Server:
- Cleanups for debuginfofs-mirror:
- make --verbose work properly
- Figure out if we can make yum handle checking for already-cached files
@@ -22,8 +23,10 @@ Further work:
- debuginfo data (.debug files): 100k files, 73GB
- source files : 2.2m files (!), 38GB
- Saves 34% disk space, lots and lots of inodes
+Client:
+- Use a webdav implementation that can cache files
-Crazy future ideas:
+== Crazy future ideas ==
- Provide source files as well
- Client-side FUSE filesystem that auto-fills src/ dir as build-id files
are read
diff --git a/debuginfofs.init b/debuginfofs.init
index 09e93e8..3114e28 100755
--- a/debuginfofs.init
+++ b/debuginfofs.init
@@ -43,11 +43,8 @@ start() {
[ -d "$BUILDID_MOUNTPOINT" ] || mkdir -p "$BUILDID_MOUNTPOINT"
echo -n $"Starting debuginfofs: "
- # TODO: consider -o kernel_cache
- # TODO: consider -o entry_timeout=60 -o attr_timeout=60
- # TODO: consider -o intr
wdfs "$BUILDID_URL" "$BUILDID_MOUNTPOINT" -o allow_other -o nonempty \
- $BUILDID_ARGS
+ -o intr $BUILDID_ARGS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog