]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/buffer: Change rebuild_aligned_* & rebuild_page_aligned API.
authorJianpeng Ma <jianpeng.ma@intel.com>
Fri, 29 Apr 2016 11:30:24 +0000 (19:30 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Sat, 7 May 2016 22:41:24 +0000 (06:41 +0800)
commitc82e08692e3e73a9c0d3d4c5058da8160d2c0735
tree10d7099e5053b066a8688ab8bc0bc9a7ac146c50
parent3161ab1c072a326981f593c1fc3fdb9e7fcc052f
common/buffer: Change rebuild_aligned_* & rebuild_page_aligned API.

Make those func return value from void to bool. Using the return value
we can know whether really rebuild content in order to optimize .

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/common/buffer.cc
src/include/buffer.h