On Wed, Aug 14, 2024 at 03:00:06PM +0100, John Garry wrote: > > The value max write zeroes value is changing in raid0_map_submit_bio() -> > mddev_check_write_zeroes() Your change looks fine, though it sounds odd that md raid is changing queue_limit values outside the limits_lock. The stacking limits should have set the md device to 0 if one of the member drives doesn't support write_zeroes, right?