The very basic test is to do some moral equivalent of "dd if=foo of=/dev/null bs=64k" with some reasonably sized foo file, with default setting twice (once to test reading off the disk, second off cache), then set ubc_direct to 1 via DDB, remount the filesystem and re-run. Also would be good to check that the transferred contents are correct, e.g. via sha1.
If that doesn't trigger any panic, further test would be to run some non-trivial build with ubc_direct set to 1. Jaromir 2018-05-21 9:11 GMT+02:00 Martin Husemann <mar...@duskware.de>: > On Sun, May 20, 2018 at 08:40:23AM -0700, Jason Thorpe wrote: >> FWIW, I checked in the Alpha changes. They were trivial. SH3 and >> MIPS I didn?t do because there?s extra work to do to handle virtually >> indexed caches. (In the case of SH3, it?s actually the SH4 that has >> the issue, and I do have a Dreamcast, so I may get to that one >> eventually...) > > I can test alpha - is there something specical required for testing? > > Martin