Am 28.02.24 um 14:37 schrieb Christoph Hellwig:
Most of the code in setup_blk_queue is shared between all disciplines. Move it to common code and leave a method to query the maximum number of transferable blocks, and a flag to indicate discard support. Signed-off-by: Christoph Hellwig <hch@xxxxxx> ---
looks good to me, also did some basic testing. Reviewed-by: Stefan Haberland <sth@xxxxxxxxxxxxx>