Collect a block-wise histogram of trim and write errors