Re: [PATCH 1/4] block: factor out a helper to set logical/physical block size

From: Bart Van Assche
Date: Tue Mar 04 2025 - 12:22:24 EST


On 3/4/25 4:19 AM, linan666@xxxxxxxxxxxxxxx wrote:
+EXPORT_SYMBOL(blk_set_block_size);

This function is exported without documenting what the requirements are
for calling this function? Yikes.

Is my understanding correct that it is only safe to apply changes made with blk_set_block_size() by calling
queue_limits_commit_update_frozen()?

Thanks,

Bart.