On 1/4/23 23:23, Ming Lei wrote: > On Tue, Jan 03, 2023 at 02:19:18PM +0900, Damien Le Moal wrote: >> From: Christoph Hellwig <hch@xxxxxxxxxxxxx> >> >> Check that the PREFUSH and FUA flags are only set on write bios, >> given that the flush state machine expects that. > > flush state machine is only for request based driver, but FUA is > used by bio drivers(dm, md, ...) too, just wondering if bio drivers > are covered for this change? If yes, can you add words in the > commit log? I think they are since it already was the responsibility of dm_submit_bio() and md_submit_bio() to handle PREFLUSH and FUA. > > > Thanks, > Ming > -- Damien Le Moal Western Digital Research