fix queued write bug, and result status bug for immediate I/O
fix queued write bug, and result status bug for immediate I/O

pecharmin/bind9,each/bind9-collab,pecharmin/bind9,each/bind9-collab,pecharmin/bind9,pecharmin/bind9,pecharmin/bind9,each/bind9-collab,each/bind9-collab,each/bind9-collab,each/bind9-collab,pecharmin/bind9