The number of lun is now exposed by the kernel, use it in ctlstat(1)
This allows ctlstat -l 1118 to actually work when having more than 1024 luns
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.bin/ctlstat/ctlstat.c | ||
---|---|---|
600 ↗ | (On Diff #36456) | kern.cam.ctl.max_luns always exists (well since my commit introducing it), one should not have world/kernel that desync no ? |
Comment Actions
World/kernel sync is generally recommended, but the less we depend on it -- the better we are for our users.
usr.bin/ctlstat/ctlstat.c | ||
---|---|---|
600 ↗ | (On Diff #36456) | backward compatibility does not hurt :) |