Re: [PATCH v2 08/21] memory: Add Error** argument to .log_global*() handlers

2024-03-04 Thread Cédric Le Goater
Hello Peter, I missed this email last week, so I might not have addressed your comments. sorry about that. On 2/29/24 06:29, Peter Xu wrote: On Tue, Feb 27, 2024 at 07:03:32PM +0100, Cédric Le Goater wrote: Modify all log_global*() handlers to take an Error** parameter and return a bool. A ne

Re: [PATCH v2 08/21] memory: Add Error** argument to .log_global*() handlers

2024-02-28 Thread Peter Xu
On Tue, Feb 27, 2024 at 07:03:32PM +0100, Cédric Le Goater wrote: > Modify all log_global*() handlers to take an Error** parameter and > return a bool. A new MEMORY_LISTENER_CALL_LOG_GLOBAL macro looping on > the listeners is introduced to handle a possible error, which will > would interrupt the l

[PATCH v2 08/21] memory: Add Error** argument to .log_global*() handlers

2024-02-27 Thread Cédric Le Goater
Modify all log_global*() handlers to take an Error** parameter and return a bool. A new MEMORY_LISTENER_CALL_LOG_GLOBAL macro looping on the listeners is introduced to handle a possible error, which will would interrupt the loop if necessary. To be noted a change in memory_global_dirty_log_start()