Re: [Libguestfs] [libnbd PATCH v2 3/5] docs: Clarify how callbacks should handle errors

2022-02-04 Thread Laszlo Ersek
On 02/03/22 21:25, Eric Blake wrote: > Recent patches have demonstrated confusion on the order in which > callbacks are reached, when it is safe or dangerous to ignore *error, > and what a completion callback should do when auto-retirement is in > use. Add wording to make it more obvious that: >

Re: [Libguestfs] [libnbd PATCH v2 3/5] docs: Clarify how callbacks should handle errors

2022-02-03 Thread Nir Soffer
()On Thu, Feb 3, 2022 at 10:28 PM Eric Blake wrote: > > Recent patches have demonstrated confusion on the order in which > callbacks are reached, when it is safe or dangerous to ignore *error, > and what a completion callback should do when auto-retirement is in > use. Add wording to make it more

[Libguestfs] [libnbd PATCH v2 3/5] docs: Clarify how callbacks should handle errors

2022-02-03 Thread Eric Blake
Recent patches have demonstrated confusion on the order in which callbacks are reached, when it is safe or dangerous to ignore *error, and what a completion callback should do when auto-retirement is in use. Add wording to make it more obvious that: - callbacks are reached in the following order: