On Wednesday 03 September 2014 15:23:13, Philip Guenther wrote: > IMO, the problem that you're hitting with your vioblk device isn't a > problem with MAXPHYS, physio(), or minphys, but rather with > MAXBSIZE. Back in the 1990's, the fact that you want to be able to > configure a device with minphys 20kB on your arch means that the MD > MAXBSIZE define for your arch should be 20kB. > > If MAXBSIZE could be set/limited on a per-device basis (i.e., the > code using it queried the device) then your problem would be > resolved, no?
Thank you very much for this write up. It was very enlightening and I agree that the problem I encountered is that MAXBSIZE is not a per- device value. Another thing this has made clear to me is that I don't want to deal with openbsd's lower level block layer. I will just close the lid and hope the smell goes away. Cheers, Stefan