Controlling lubricant pressure or quantity