submit_bio() flush to disk immediately

Prashant Shah pshah.mumbai at gmail.com
Tue Aug 6 06:59:49 EDT 2013


Hi,

> This does the trick on the user side but for once only. I want to do
> something similar just after the bio write within the module itself.
>
> echo 1 > /proc/sys/vm/drop_caches

Also I dont want to flush the entire cache but just for that block if possible.

Regards.



More information about the Kernelnewbies mailing list