Bad FS behavior w/ testcase

From: James Lewis Nance (jlnance@worldnet.att.net)
Date: Mon Mar 27 2000 - 18:47:29 EST


Hello All,
    I have found an annoying problem with the way linux handles dirty pages
of unlinked files. The attached testcase makes a file, unlinks it, and
dirties 64M of its pages. The program then prints a message and calls
_exit(). You will notice a long delay between this message appearing and
when you get your shell prompt back. AFAICT, this delay is due to the
process writting the dirty pages back to the file. Now since the file has
been unlinked there is no need to write these pages back, but it looks like
linux does not know this. Any comments?

Thanks,

Jim



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:21 EST