Changes for consecutive block flush by threads