Providing a recovery or resource manager

A recovery or resource manager needs to be implemented by callers of the IOSFBA service. This resource manager is responsible for unallocating allocated devices and releasing storage when the application fails or abnormally terminates.

Devices that are allocated by an application remain allocated until a specific unallocate request is made. If the caller of the IOSFBA service fails and does not unallocate the devices, subsequent allocation attempts fail. This is especially true when ACCESS=SINGLE, ACCESS=READ, or ACCESS=WRITE was specified when initially allocating the device.