After you call orb_flush(), you can determine whether the flush is completed by listening to the POLLPRI event of fd and getting the event in orb_get_events. After calling orb_get_events, the flush events will be cleared. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>