]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: s/align_down/p2align/ 29379/head
authorKefu Chai <kchai@redhat.com>
Mon, 29 Jul 2019 10:40:07 +0000 (18:40 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 29 Jul 2019 10:42:10 +0000 (18:42 +0800)
commit7326e0d7752748d61b0012ccc19bbae3c51cc31e
treec26e2cef8df7a640ca536dbfb7f01e0121cdb7cc
parent9c9576cefd480dd9f3d9373d218c2346a9205efd
os/bluestore: s/align_down/p2align/

we have two implementations of align_{up,down}(). let's consolidate
them.

* s/align_up/p2roundup/
* s/align_down/p2align/
* drop common/align.h

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/align.h [deleted file]
src/os/bluestore/KernelDevice.cc
src/os/bluestore/NVMEDevice.cc