block: SIO scheduler (tweaked)

credits to Gokhanmoral and Andreilux