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