Prepare for making the function async. Then, it will need to hold on to the erm while getting the token_ranges asynchronously. Signed-off-by: Benny Halevy <bhalevy@scylladb.com> (cherry picked from commit 2bbbe2a8bc)
2bbbe2a8bc