Hi Chris, On Tue, Apr 24, 2018 at 10:07 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote: > I don't have answer to your question, but I'm curious exactly how you > simulate a crash? For my own really rudimentary testing I've been doing > crazy things like: > > # grub-mkconfig -o /boot/efi && echo b > /proc/sysrq-trigger > > And seeing what makes it to disk - or not. And I'm finding a some > non-determinstic results are possible even in a VM which is a bit confusing. > I'm sure with real hardware I'd find even more inconsistency. We are using software we developed called CrashMonkey [1]. It simulates the state on storage after a crash (taking into accounts FLUSH and FUA flags). Talk slides on how it works can be found here [2]. It is similar to dm-log-writes if you have used that in the past. [1] https://github.com/utsaslab/crashmonkey [2] http://www.cs.utexas.edu/~vijay/papers/hotstorage17-crashmonkey-slides.pdf Thanks, Vijay Chidambaram -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html