The attached small patch allows to "fail" a loop device on demand. Any further request to the loop device will simply fail. Even though it of course doesn't simulate the failures one might see in the field, it is kind of handy for automated tests, for example for multipath I/O. Done by Jens Axboe. The reason why I am sending it: I need it most and he is on vacation. Sincerely, Lars Marowsky-Brée -- Immortality is an adequate definition of high availability for me. --- Gregory F. Pfister