Enhance XtraDB Dirty Flush algorithm