On Fri, Jul 01, 2016 at 05:17:28AM +0000, Damien Le Moal wrote: > Thank you for the clarification. Makes sense. > Just to be picky though, I think that "completed I/Os" applies only > to flush in this case (flush of the volatile device cache to media). > fsync of the host cache (page cache most of the time) to the device > will issue new BIOs, and those will be waited for until completed. > Right ? For fsync the completed I/O at the syscall / VFS level. Fsync only needs to cover read/write calls that have return to the user, be that through a synchronous call or aio completion. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html