Adding changes for MB random write