Merge "bufferpool2: add sync() method and etc"