Experimenting with mag state machine- direct IO