Writing to file-system at high speeds from a kernel module.

From: Ben Greear
Date: Tue May 08 2007 - 21:35:58 EST


I'm trying to write to disk from a kernel module at high
sustained speeds.

Do I have to somehow query the file-system caches to see how
much memory they are using, or perhaps flush the file after
a certain number of bytes to keep the system from using all
of it's RAM in file-system buffers?

[ Yes, I know this is an evil thing to attempt, and Greg did not
show me how to do it! :) ]

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com

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