OK, sorry folks for having too difficult start, I ended up with extremely simple testcase, leaking 100MB/s:
#include <fcntl.h> #include <stdio.h>
main() { int fd = open("/tmp/.lockfile", O_RDWR | O_CREAT); unlink("/tmp/.lockfile"); while (1) write(fd,"a",1); }
I'm changing the issue summary yet again.
OK, sorry folks for having too difficult start, I ended up with extremely simple testcase, leaking 100MB/s:
#include <fcntl.h>
#include <stdio.h>
main() { tmp/.lockfile" , O_RDWR | O_CREAT); "/tmp/. lockfile" );
int fd = open("/
unlink(
while (1) write(fd,"a",1);
}
I'm changing the issue summary yet again.