Re: [GIT PULL] Please pull NFS client fixes for 4.12

From: Jonathan Corbet
Date: Tue May 16 2017 - 11:17:00 EST


On Thu, 11 May 2017 13:10:03 +0000
Trond Myklebust <trondmy@xxxxxxxxxxxxxxx> wrote:

> If we suspect the existence of a load of potential time bombs in the
> kernel due to missing checks, then the status quo is not good enough.
> We should be working on tools to identify these code paths.
>
> Quite frankly, I'd love to see a fuzzer-like tool that can randomly
> fail allocations.

The fault injection framework at least used to work quite nicely for this;
I used it to test out the failure paths in the OLPC drivers years ago.
Documentation/fault-injection/fault-injection.txt.

jon