Hello David Ribeiro Alves, Todd Lipcon, I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/6585 to review the following change. Change subject: log block manager: use extent maps to decide whether to truncate containers ...................................................................... log block manager: use extent maps to decide whether to truncate containers This patch wires the new GetExtentMap() method into the LBM for use in determining whether there exists allocated disk space beyond the container data file's logical size. Why bother? Well, it's not possible for the "full container preallocation" accounting in FsReport to be accurate otherwise. Also, reducing the number of cases wherein containers are truncated ought to be safer. Finally, we'll eventually use the extent map for other purposes (e.g. repunching holes efficiently at startup). Change-Id: I3541f70721328d5af911f4889f8b4bcf0de3ebf8 --- M src/kudu/fs/log_block_manager-test.cc M src/kudu/fs/log_block_manager.cc 2 files changed, 57 insertions(+), 16 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/85/6585/1 -- To view, visit http://gerrit.cloudera.org:8080/6585 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3541f70721328d5af911f4889f8b4bcf0de3ebf8 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: David Ribeiro Alves <dral...@apache.org> Gerrit-Reviewer: Todd Lipcon <t...@apache.org>