LMS has got a new release.
[platform/upstream/lightmediascanner.git] / TODO
diff --git a/TODO b/TODO
index eb76015..010a976 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,5 @@
+ * Implement SKIPPED report status for lms_check().
+
  * Flag to ignore symbolic links, set by default. Using symlinks may
    lead user to scan the same file more than once and also scan media
    outside of his library. If one uses realpath() to always have an
@@ -6,13 +8,9 @@
    previous fix will led to the same situation as ignore symlinks, but
    without the check overhead.
 
- * Provide progress callback.
-
  * Try to address need of whole path lookup using open(), stat(),
    readdir()... by using *at() variants, like openat(), fstatat().
 
- * Provide single-process version of lms_process() and lms_check().
-
  * Provide threaded version of lms_process() and lms_check(), this
    helps in multicore setups, where one will read and cache
    filesystems while the other will parse files. Study the CPU
    UTF-8, probably it's impossible to know due the broad range of
    possible values, but maybe there is a way to give hints for latin,
    asian, western european charsets?
+
+ * Check/benchmark buffered vs unbuffered IO and possibly use mmap.
+   There are lots of code in plugin issuing one read(2) syscall for
+   small things like 4 bytes. Setting a proper buffer size (e.g. setvbuf)
+   and reading all at once would be better performance-wise. Another option
+   is to write the common code for handling sigbus and use mmap instead.
+   Check also whether pread/preadv/readv would be an option for some plugins.
\ No newline at end of file