Normal applications want the current behaviour where we have the library consume any/all of the UnitAttentions that the target may have queued on the initial connection, but when we reconnect the session after a failure the library will pass all the UAs back to the application to process. Some applications, such as the test suite or really trivial applications might not want to have to deal with handling of UAs and just "make it work". Those applications can now request that upon any reconnection of the session that libiscsi will automatically consume any and all UAs and hide them from the application. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
5.4 KiB
5.4 KiB