]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/block: Rename Device::get_size() to get_available_size()
authorAravind <aravind.ramesh@wdc.com>
Thu, 1 Sep 2022 05:35:35 +0000 (11:05 +0530)
committerAravind <aravind.ramesh@wdc.com>
Fri, 2 Sep 2022 05:07:05 +0000 (10:37 +0530)
commit1021246a5707ae1c3ef5e104d972c98cb451491d
treea4d520bb852b26d9e81ec03d854e25c081ea550e
parent1e372d32a033dfae1884d04391cfb81490c1c55b
crimson/block: Rename Device::get_size() to get_available_size()

Due to maintaining super block and other tracking information in the
disk, the entire disk size is not available, so rename the function
to represent that it actually returns available size on the device.
get_available_size() represents together free and used space available
on the device.

Signed-off-by: Aravind Ramesh <aravind.ramesh@wdc.com>
src/crimson/os/seastore/async_cleaner.cc
src/crimson/os/seastore/device.h
src/crimson/os/seastore/random_block_manager/rbm_device.h
src/crimson/os/seastore/segment_manager.h
src/crimson/os/seastore/segment_manager/block.h
src/crimson/os/seastore/segment_manager/ephemeral.h
src/crimson/os/seastore/segment_manager/zns.h
src/crimson/tools/store_nbd/tm_driver.cc
src/test/crimson/seastore/transaction_manager_test_state.h