block: deadline: Optimize for non-rotational
kernel: fix some leaks and cleanup