io: do not proceed IO command to backend if cache-only IO flag has been set