stec-inc / EnhanceIO

EnhanceIO Open Source for Linux
Other
420 stars 176 forks source link

Removing the delay of cache mode change from writeback to others #101

Open ghost opened 9 years ago

ghost commented 9 years ago

Lately, we found the substantial delay of cache mode change from writeback to others when write operations are heavy.

The delay is caused by flushing dirty ssd blocks to hard disk, but there is no need to flush. I think the dirty blocks on ssd does not affect to the writethrough and readonly mode. The cache consistency can be kept.