hoytech / vmtouch

Portable file system cache diagnostics and control
https://hoytech.com/vmtouch/
BSD 3-Clause "New" or "Revised" License
1.79k stars 210 forks source link

No documentation for the option -w #61

Open johnlinp opened 6 years ago

johnlinp commented 6 years ago

I saw the option -w which will set o_wait to 1. But there is no documentation for it. Is it intentional?

hoytech commented 6 years ago

No that is not intentional, thank you for noticing. It's documented in the help output though:

-w wait until all pages are locked (only useful together with -d)

However, I think we should deprecate -w and make it the default when -d is specified, so perhaps I'll do that instead of documenting it. :)

johnlinp commented 6 years ago

I see. Thank you for the explanation.