librfn/fibre: Keep track of scheduler tainting
authorDaniel Thompson <daniel@redfelineninja.org.uk>
Sun, 13 Jan 2013 09:32:53 +0000 (09:32 +0000)
committerDaniel Thompson <daniel@redfelineninja.org.uk>
Sun, 13 Jan 2013 09:32:53 +0000 (09:32 +0000)
commit6a57e3bd2e24b93e437d82e2730ab9067e08d47e
treea546226ce7049f15f5376cdfaa7be978dacddbe0
parent866beb1b08da9471a8a4352a837902bb8041503f
librfn/fibre: Keep track of scheduler tainting

This is mostly to reduce the need to error paths in application code.
We can permit applications to ignore the result of fibre_run_atomic()
(for example) providing all they need for error handling is a kernel
taint to be added.

Eventually this mechanism will call a (weakly linked) taint handler to
allow us to perform a reset or deploy some other aggressive recovery
mechanism.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
src/librfn/fibre.c