update disk write queue while flushing