Re: e2fs + large disk == slug?

Roman Drahtmueller (draht2@rzlin1.ruf.uni-freiburg.de)
Wed, 17 Jun 1998 01:56:23 +0200 (MEST)


> I suspect Solaris and HP-UX are using 'kernel threads'
> to do the job. Since Linux doesn't have that construction,
> we might want to either add it to the C library or make
> a forking /bin/rm.
>
> Rik.

I'd like to have rm being interrupted on SIGINTR. :-)

Solaris has a nice feature called "delayed I/O". The corresponding
IOCTLs are `_FIOGDIO' (for status query) and `_FIOGDIO' (for setting
"0" or "1", fast or slow repectively). This speeds up removal of
directory trees drastically. As usual, there is no documentation on
it, except for the remark "WARNING - the support for these ioctls may
be withdrawn in future OS releases." in /usr/include/sys/filio.h.
Dunno exactly, what it does, maybe just what it says. It would
probably delay the I/O for that further data can be accumulated.

ftp://ftp.uni-freiburg.de/pub/linux/misc/solaris/fastfs.tgz
Dunno who wrote it, but it was some guy from Sun in his spare time.

Roman.
Computer Center University of Freiburg, Germany.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu