On Sat, Mar 19, 2022 at 10:14:29AM -0700, Eric Wheeler wrote: > Hello all, > > In loop.c do_req_filebacked() for REQ_OP_FLUSH, lo_req_flush() is called: > it does not appear that lo_req_flush() does anything to make sure > ki_complete has been called for pending work, it just calls vfs_fsync(). > > Is this a consistency problem? No. What FLUSH command provides is just flushing cache in device side to storage medium, so it is nothing to do with pending request. Thanks, Ming