Re: [PATCH 1/2] fb: flush deferred work in fb_deferred_io_fsync()

2023-12-18 Thread Helge Deller
On 12/18/23 10:57, Nam Cao wrote: The driver's fsync() is supposed to flush any pending operation to hardware. It is implemented in this driver by cancelling the queued deferred IO first, then schedule it for "immediate execution" by calling schedule_delayed_work() again with delay=0. However, se

[PATCH 1/2] fb: flush deferred work in fb_deferred_io_fsync()

2023-12-18 Thread Nam Cao
The driver's fsync() is supposed to flush any pending operation to hardware. It is implemented in this driver by cancelling the queued deferred IO first, then schedule it for "immediate execution" by calling schedule_delayed_work() again with delay=0. However, setting delay=0 only means the work is