On 6/25/24 23:59, Christoph Hellwig wrote: > The md driver wants to enforce a number of flags to an all devices, even s/to an/for > when not inheriting them from the underlying devices. To make sure these > flags survive the queue_limits_set calls that md uses to update the > queue limits without deriving them form the previous limits add a new > md_init_stacking_limits helper that calls blk_set_stacking_limits and sets > these flags. > > Fixes: 1122c0c1cc71 ("block: move cache control settings out of queue->flags") > Reported-by: kernel test robot <oliver.sang@xxxxxxxxx> > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Other than the above nit, looks good to me. Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx> -- Damien Le Moal Western Digital Research