mbox series

[v2,0/2] ublk: Allow more than 64 ublk devices

Message ID 20231012150600.6198-1-michael.christie@oracle.com (mailing list archive)
Headers show
Series ublk: Allow more than 64 ublk devices | expand

Message

Mike Christie Oct. 12, 2023, 3:05 p.m. UTC
The following patches were made over Linus's tree and also apply over
Jens's for-6.7/block and io_uring branches. They allow users to
configure the max number of ublk devices. We are currently converting
users from tcmu to ublk so the 64 device limit is too small, because we
have setups that have 512-1k devices.

V2:
- Set UBLK_MAX_UBLKS to UBLK_MINORS.
- Use param_set_uint_minmax.

Comments

Jens Axboe Oct. 13, 2023, 1:05 a.m. UTC | #1
On Thu, 12 Oct 2023 10:05:58 -0500, Mike Christie wrote:
> The following patches were made over Linus's tree and also apply over
> Jens's for-6.7/block and io_uring branches. They allow users to
> configure the max number of ublk devices. We are currently converting
> users from tcmu to ublk so the 64 device limit is too small, because we
> have setups that have 512-1k devices.
> 
> V2:
> - Set UBLK_MAX_UBLKS to UBLK_MINORS.
> - Use param_set_uint_minmax.
> 
> [...]

Applied, thanks!

[1/2] ublk: Limit dev_id/ub_number values
      commit: 8378a3e3718eb47f0ff404f4830fc07ea5c51f40
[2/2] ublk: Make ublks_max configurable
      commit: aff3a66230e078e35cbaa7c68537e87dc78dd887

Best regards,