One Rock Capital, a private equity firm focused on middle-market businesses, has raised up to $1.7bn for its third fund.