[SCSI] sd: fix array cache flushing bug causing performance problems