[systemd-devel] [Patch] Fix systemd-readahead-collect on mips platform

fykcee1 at gmail.com fykcee1 at gmail.com
Wed Mar 16 04:46:50 PDT 2011


Hi all,

Attachment is the patch fixing broken systemd-readahead-collect on
mips. The patch is actually fixing the fanotify syscall on mips:
1. Adjust to correct syscall number.
2. Using directly fanotify syscall instead of
"syscall(__NR_FANOTIFY_MARK)", which is broken on the test platform.

Test platform:
* CPU: loongson 2f (mips-compatible)
* Kernel: 2.6.38 with fanotify enabled, 64bit, little endian
* Userland: o32 ABI.


BTW, I enabled systemd-readahead-collect.service,
systemd-readahead-replay.service, they were both in default.target. I
also link systemd-readahead-done.service to default.target, is that
correct?
It seems these services exit quickly, and wasn't observed a boot time
speed-up. The size of /.readahead is around 30K.
Any idea?



--
Regards,
- cee1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-broken-systemd-readahead-collect-on-mips.patch
Type: application/octet-stream
Size: 4568 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110316/eeafdaca/attachment.obj>


More information about the systemd-devel mailing list