On Mon, Oct 16, 2017 at 03:33:10PM +0200, David Sterba wrote: > On Fri, Oct 13, 2017 at 03:10:35PM -0600, Liu Bo wrote: > > Compression code path has only flaged bios with REQ_OP_WRITE no matter > > where the bios come from. This breaks the rule that sync writes and > > writeback writes need to be differentiated from each other. > > What are the implications of the change? All writes need to have the correct bio flag so that block layer can recognize them to do throttle or other stuff. Compression writes are no exception, but currently we don't attach the correct bio flag to either compressed writeback writes or compressed sync writes. Does it make sense? Thanks, -liubo -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
