do not cache dir in 10 seconds after invalidate it.

invalidate dir cache after notify attr 10 times
merge slow writes into larger one by every seconds.

delay first write by 1 second. cancel the delay when flush or end.