Hi !
I create a sparse file on ramfs (by writing 5 bytes at offset 3GB):
0.000269 open("./lfs.file", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0600) = 3
0.000214 _llseek(3, 18446744072635809792, [3221225472], SEEK_SET) = 0
0.000159 write(3, "hallo", 5) = 5
0.000176 close(3) = 0
0.000166 _exit(0) = ?
Works fine.
Then I tried to unlink the file by running rm lfs.file log.
The rm process (and an ls process that I started after that)
are now in "D" state...
root 2934 0.0 0.2 1292 452 pts/5 D 05:38 0:00 ls /ramfs
root 2952 0.0 1.5 4028 2384 pts/3 S 05:40 0:00 vi sdlkhfd
(Note that the ls hangs because of "rm". before running "rm" ls worked
fine. The same test (including rm) works fine on reiserfs 3.6.24 on
the same 2.4.0 release kernel. But reiserfs needed 34 seconds on close
and the system was not very responsible (including mouse updates within X)
for that time....)
--ciao - Stefan
" ( cd /lib ; ln -s libBrokenLocale-2.2.so libNiedersachsen.so ) " Stefan Traby Linux/ia32 fax: +43-3133-6107-9 Mitterlasznitzstr. 13 Linux/alpha phone: +43-3133-6107-2 8302 Nestelbach Linux/sparc http://www.hello-penguin.com Austria mailto://st.traby@opengroup.org Europe mailto://stefan@hello-penguin.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:24 EST