[openEuler-5.10 011/496] add barriers to buffer_uptodate and set_buffer_uptodate