reset dirty when flush
cache