|
|
Log in / Subscribe / Register

A tale of two data-corruption bugs

A tale of two data-corruption bugs

Posted May 25, 2015 6:41 UTC (Mon) by marcH (subscriber, #57642)
Parent article: A tale of two data-corruption bugs

> It has remained undetected because it is quite hard to hit;

I'm curious: was it possible to add a corresponding test case anyway?

More generally I'd really like to hear about how filesystems get tested. They're possibly the most critical kernel feature. For instance: does test code live mostly in user space or kernel? Are there many unit tests? etc.


to post comments

A tale of two data-corruption bugs

Posted May 25, 2015 11:57 UTC (Mon) by jan.kara (subscriber, #59161) [Link]

So filesystems are usually tested using xfstests these days. That is a (quite big) collection of various tests (in userspace). Test for this particular bug has been added (as test generic/086) shortly after the kernel bug was fixed to make sure we don't reintroduce it :). See https://git.kernel.org/cgit/fs/xfs/xfstests-dev.git/commi...


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds